Shadowrun: Awakened 29 September 2011 - Build 871
Classes | Defines
Reflection.h File Reference
#include <typeinfo>
#include <vector>
Include dependency graph for Reflection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IReflect
class  IType
class  TypeManager
class  TypeManager::Type< ClassType >

Defines

#define GET_TYPE_ID(lValue, constCharPtr)   {const std::type_info& typeInfo = typeid(lValue); constCharPtr = typeInfo.name();}

Define Documentation

#define GET_TYPE_ID (   lValue,
  constCharPtr 
)    {const std::type_info& typeInfo = typeid(lValue); constCharPtr = typeInfo.name();}

This macro pulls the typeId (string name) for lValue and sets constCharPtr equal to it NOTE: Macros are dangerous, but in this case there is no way to pass in a generic pointer for all types into a function

Definition at line 12 of file Reflection.h.


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