My Project
|
Public Member Functions | |
IType * | GetType (const char *szTypeName) const |
bool | SetType (IType *pType) |
Set a type in the manager. More... | |
Static Public Member Functions | |
static void | ReleaseType (IType *pType) |
Protected Attributes | |
map< string, IType * > | m_types |
bool CTypeManager::SetType | ( | IType * | pType | ) |
Set a type in the manager.
If the type already exists, return false. If setting operation successes, return true The input pointer shall not be deleted