My Project
|
IType is for type information and validating It contains type information of an object. More...
#include <Type.h>
Public Member Functions | |
virtual const char * | GetTypeName () const =0 |
virtual int | Verify (const char *input) const =0 |
IType * | GetType () const |
int | GetTypeValue () const |
virtual bool | operator== (int value) const |
virtual bool | operator== (const char *szTypeName) const |
virtual bool | operator== (const IType &value) const |
Static Public Member Functions | |
static IType * | GetType (const char *szTypeName) |
Protected Attributes | |
int | m_etype |
Friends | |
class | CTypeManager |
IType is for type information and validating It contains type information of an object.
It also provide methods to validate if an input string can be change to the the type May put the reflection support to type, but I will not do that now because it is not of high priority You can create a type. But you can never delete it by using delete. You must use CTypeManager::ReleaseType() to delete it.