AtlasClassFactory Class Reference [Atlas Core]

#include <atlasClassFactory.h>

List of all members.


Detailed Description

Helper class to manage RTTI for a bunch of different possible fields.

This is pretty much suboptimal, but I don't really want to try to turn my TOCs and so forth into ConsoleObject to use that system. So we have this.


Static Public Member Functions

static AtlasTOCfactoryTOC (const char *name)
 Get a new instance of a TOC class given a name.
static const char * getTOCName (AtlasTOC *toc)
 Get the name of a TOC class given an instance.
static AtlasTextureSchema * factorySchema (const char *name)
 Map schema names to schema instances.
static const char * getSchemaName (AtlasTextureSchema *schema)
 Map schema instances to schema names.


Member Function Documentation

static AtlasTOC* AtlasClassFactory::factoryTOC ( const char *  name  )  [static]

Get a new instance of a TOC class given a name.

static const char* AtlasClassFactory::getTOCName ( AtlasTOC toc  )  [static]

Get the name of a TOC class given an instance.

static AtlasTextureSchema* AtlasClassFactory::factorySchema ( const char *  name  )  [static]

Map schema names to schema instances.

static const char* AtlasClassFactory::getSchemaName ( AtlasTextureSchema *  schema  )  [static]

Map schema instances to schema names.