MetaClassRegistration Class Reference

#include <MetaClass.h>

List of all members.

Static Public Member Functions

static void addMap (const char *name, MetaClassFactory *mclass)
static MetaClassgetNewClass (const char *name)
static MetaClassFactorygetFactory (const char *name)

Static Public Attributes

static std::map
< std::string,
MetaClassFactory * > * 
classMap = 0


Detailed Description

Definition at line 70 of file MetaClass.h.


Member Function Documentation

void MetaClassRegistration::addMap ( const char *  name,
MetaClassFactory mclass 
) [static]

Definition at line 44 of file MetaClass.cpp.

References classMap, and DIALOG_ASSERT.

MetaClass * MetaClassRegistration::getNewClass ( const char *  name  )  [static]

Definition at line 55 of file MetaClass.cpp.

References MetaClassFactory::getClassCopy(), and getFactory().

Referenced by WeaponAnimation::fireWeapon(), GLWPanel::initFromXML(), and EconomyStore::loadEconomy().

MetaClassFactory * MetaClassRegistration::getFactory ( const char *  name  )  [static]

Definition at line 62 of file MetaClass.cpp.

References classMap.

Referenced by getNewClass().


Member Data Documentation

std::map< std::string, MetaClassFactory * > * MetaClassRegistration::classMap = 0 [static]

Definition at line 74 of file MetaClass.h.

Referenced by addMap(), and getFactory().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:04 2009 for Scorched3D by  doxygen 1.5.3