My Project
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
ParaEngine::IType Class Referenceabstract

IType is for type information and validating It contains type information of an object. More...

#include <Type.h>

Inheritance diagram for ParaEngine::IType:
ParaEngine::CBool ParaEngine::CDouble ParaEngine::CFloat ParaEngine::CGUIType ParaEngine::CInt32 ParaEngine::CStr ParaEngine::CVoid ParaEngine::CGUIButtonType ParaEngine::CGUICanvasType ParaEngine::CGUIContainerType ParaEngine::CGUIEditBoxType ParaEngine::CGUIGridType ParaEngine::CGUIIMEEditBoxType ParaEngine::CGUIListBoxType ParaEngine::CGUIPainterType ParaEngine::CGUIRootType ParaEngine::CGUIScrollBarType ParaEngine::CGUISliderType ParaEngine::CGUITextType ParaEngine::CGUIToolTipType ParaEngine::CGUIVideoType ParaEngine::CGUIWebBrowserType

Public Member Functions

virtual const char * GetTypeName () const =0
 
virtual int Verify (const char *input) const =0
 
ITypeGetType () 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 ITypeGetType (const char *szTypeName)
 

Protected Attributes

int m_etype
 

Friends

class CTypeManager
 

Detailed Description

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.


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