11#pragma warning(disable:4251)
13#define OT_JSON_MEMBER_Property_Type "Type"
58 Property* createCopyWithParents(
void)
const;
79 std::string getPropertyPath(
char _delimiter =
'/')
const;
#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
The PropertyBase class is used to hold general Property information.
Definition PropertyBase.h:25
Definition PropertyGroup.h:23
The Property class is used as a base class for all Properties that can be displayed and modified in t...
Definition Property.h:21
void setParentGroup(PropertyGroup *_group)
Definition Property.h:70
virtual void getPropertyData(ot::JsonValue &_object, ot::JsonAllocator &_allocator) const =0
Add the property data to the provided JSON object The property type is already added.
PropertyGroup * getParentGroup(void) const
Definition Property.h:71
virtual Property * createCopy(void) const =0
Creates a copy of this property.
virtual void setPropertyData(const ot::ConstJsonObject &_object)=0
Set the property data from the provided JSON object.
virtual std::string getPropertyType(void) const =0
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30