25 virtual std::string
getPropertyType(
void)
const override {
return PropertyInt::propertyTypeString(); };
27 virtual Property* createCopy(
void)
const override;
29 void setValue(
int _value) { m_value = _value; };
32 void setRange(
int _min,
int _max) { m_min = _min; m_max = _max; };
34 void setMin(
int _value) { m_min = _value; };
35 int getMin(
void)
const {
return m_min; };
37 void setMax(
int _value) { m_max = _value; };
38 int getMax(
void)
const {
return m_max; };
#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
The Property class is used as a base class for all Properties that can be displayed and modified in t...
Definition Property.h:21
Definition PropertyInt.h:13
int getMin(void) const
Definition PropertyInt.h:35
void setMin(int _value)
Definition PropertyInt.h:34
int getMax(void) const
Definition PropertyInt.h:38
void setMax(int _value)
Definition PropertyInt.h:37
static std::string propertyTypeString(void)
Definition PropertyInt.h:24
void setRange(int _min, int _max)
Definition PropertyInt.h:32
virtual std::string getPropertyType(void) const override
Definition PropertyInt.h:25
void setValue(int _value)
Definition PropertyInt.h:29
int getValue(void) const
Definition PropertyInt.h:30
virtual ~PropertyInt()
Definition PropertyInt.h:22
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