![]() |
hivemind 1.0.0
|
Implemented for future expansion. More...
#include <serializer.h>
Public Member Functions | |
ISConstructors (const ISConstructors &)=delete | |
void | operator= (const ISConstructors &)=delete |
int | AddConstructor (std::string name, ISValuePtr(*creator)()) |
ISValuePtr | GetObject (std::string name) |
Static Public Member Functions | |
static ISConstructors & | GetInstance () |
Private Member Functions | |
ISConstructors () | |
Private Attributes | |
std::map< std::string, Json::ISValuePtr(*)()> | m_TheRegistry |
Implemented for future expansion.
Definition at line 476 of file serializer.h.
|
inlineprivate |
Definition at line 488 of file serializer.h.
|
delete |
int Json::ISConstructors::AddConstructor | ( | std::string | name, |
ISValuePtr(*)() | creator | ||
) |
Definition at line 190 of file serializer.cpp.
References m_TheRegistry.
|
inlinestatic |
Definition at line 480 of file serializer.h.
ISValuePtr Json::ISConstructors::GetObject | ( | std::string | name | ) |
Definition at line 198 of file serializer.cpp.
References m_TheRegistry.
|
delete |
|
private |
Definition at line 490 of file serializer.h.
Referenced by AddConstructor(), and GetObject().