19 void * CreateObject(
const char *inName);
22 const RTTI * Find(
const char *inName);
28 bool Register(
const RTTI *inRTTI);
31 bool Register(
const RTTI **inRTTIs,
uint inNumber);
48 ClassNameMap mClassNameMap;
51 ClassHashMap mClassHashMap;
#define JPH_EXPORT
Definition: Core.h:227
unsigned int uint
Definition: Core.h:439
#define JPH_NAMESPACE_END
Definition: Core.h:367
std::uint32_t uint32
Definition: Core.h:442
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
#define JPH_OVERRIDE_NEW_DELETE
Macro to override the new and delete functions.
Definition: Memory.h:29
std::vector< T, STLAllocator< T > > Array
Definition: STLAllocator.h:81
std::unordered_map< Key, T, Hash, KeyEqual, STLAllocator< pair< const Key, T > > > UnorderedMap
Definition: UnorderedMap.h:13
This class is responsible for creating instances of classes based on their name or hash and is mainly...
Definition: Factory.h:14
static Factory * sInstance
Singleton factory instance.
Definition: Factory.h:40