29 static Property* createProperty(
const std::string& _propertyType);
31 static bool registerProperty(
const std::string& _type,
const PropertyConstructor& _constructor);
37 std::map<std::string, PropertyConstructor> m_constructors;
This file contains defines that may be used simplyfy class creation.
#define OT_DECL_NOCOPY(___class)
Removes the default copy constructor and assignment operator.
Definition OTClassHelper.h:14
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
Definition PropertyFactory.h:22
std::function< Property *()> PropertyConstructor
Definition PropertyFactory.h:25
The Property class is used as a base class for all Properties that can be displayed and modified in t...
Definition Property.h:21
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35