Shadowrun: Awakened 29 September 2011 - Build 871
Public Member Functions
IType Class Reference

#include <Reflection.h>

Inheritance diagram for IType:

List of all members.

Public Member Functions

virtual IReflectcreateInstance ()=0
virtual size_t getSize ()=0
virtual const char * getTypeId ()=0

Detailed Description

Interface for defining simple meta-data on a type

Definition at line 31 of file Reflection.h.


Member Function Documentation

virtual IReflect* IType::createInstance ( ) [pure virtual]

Creates a new instance, returning an IReflect* NOTE: If the type does not implement IReflect, then this returns NULL

Implemented in TypeManager::Type< ClassType >.

virtual size_t IType::getSize ( ) [pure virtual]

Gets the size of this type in bytes

Implemented in TypeManager::Type< ClassType >.

Referenced by TypeManager::GetSize().

virtual const char* IType::getTypeId ( ) [pure virtual]

Gets a unique c-string identifier for this type

Implemented in TypeManager::Type< ClassType >.


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

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net