#include <fbxsymbol.h>
This class is to mark a string as symbol.
String Symbol only has its name. /remarks Each symbol is unique. That means there are no symbols which have the same name.
Definition at line 81 of file fbxsymbol.h.
Public Member Functions |
|
| operator const char * () const | |
| Cast operator to const char* type. |
|
| bool | IsEmpty () const |
| Determine the symbol empty or not. |
|
| FbxStringSymbol & | operator= (const char *pName) |
| Assignment operator. |
|
Static Public Member Functions |
|
| static void | AllocateGlobalStringSymbolMap () |
| Static function to allocate global string
symbol map. |
|
| static void | FreeGlobalStringSymbolMap () |
| Static function to deallocate global string
symbol map. |
|
Constructors and Destructor |
|
| FbxStringSymbol () | |
| Default constructor. |
|
| FbxStringSymbol (const char *pName) | |
| Constructor. |
|
| FbxStringSymbol (const FbxStringSymbol &pOther) | |
| Copy constructor. |
|
| ~FbxStringSymbol () | |
| Destructor. |
|
| FbxStringSymbol | ( | ) |
Default constructor.
| FbxStringSymbol | ( | const char * | pName | ) |
Constructor.
Construct a symbol and add it to global symbol table.
| pName | Symbol name. |
| FbxStringSymbol | ( | const FbxStringSymbol & | pOther | ) |
Copy constructor.
| ~FbxStringSymbol | ( | ) |
Destructor.
| operator const char * | ( | ) | const [inline] |
Cast operator to const char* type.
Definition at line 106 of file fbxsymbol.h.
{ return mItem ? ((const char*) mItem->GetKey()) : NULL; }
| bool IsEmpty | ( | ) | const [inline] |
Determine the symbol empty or not.
true if empty. false otherwise.Definition at line 112 of file fbxsymbol.h.
{
return !mItem || mItem->GetKey().IsEmpty();
}
| static void AllocateGlobalStringSymbolMap | ( | ) | [static] |
Static function to allocate global string symbol map.
| static void FreeGlobalStringSymbolMap | ( | ) | [static] |
Static function to deallocate global string symbol map.
| FbxStringSymbol& operator= | ( | const char * | pName | ) |
Assignment operator.
| pName | The symbol value. |