Public Member Functions | Static Public Member Functions

FbxStringSymbol Class Reference

Search for all occurrences

Detailed Description

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.

#include <fbxsymbol.h>

List of all members.

Public Member Functions

 operator const char * () const
 Cast operator to const char* type.
bool IsEmpty () const
 Determine the symbol empty or not.
FbxStringSymboloperator= (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.

Constructor & Destructor Documentation

Default constructor.

FbxStringSymbol ( const char *  pName)

Constructor.

Construct a symbol and add it to global symbol table.

Parameters:
pNameSymbol name.
FbxStringSymbol ( const FbxStringSymbol pOther)

Copy constructor.

Destructor.


Member Function Documentation

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.

Returns:
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.

Parameters:
pNameThe symbol value.
Returns:
The self after assignment.

The documentation for this class was generated from the following file:

FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol
FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol FbxStringSymbol