25 virtual std::string
getPropertyType(
void)
const override {
return PropertyDouble::propertyTypeString(); };
27 virtual Property* createCopy(
void)
const override;
29 void setValue(
double _value) { m_value = _value; };
30 double getValue(
void)
const {
return m_value; };
32 void setRange(
double _min,
double _max) { m_min = _min; m_max = _max; };
34 void setMin(
double _value) { m_min = _value; };
35 double getMin(
void)
const {
return m_min; };
37 void setMax(
double _value) { m_max = _value; };
38 double 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
Definition PropertyDouble.h:13
void setRange(double _min, double _max)
Definition PropertyDouble.h:32
void setPrecision(int _p)
Definition PropertyDouble.h:40
double getMax(void) const
Definition PropertyDouble.h:38
virtual ~PropertyDouble()
Definition PropertyDouble.h:22
int getPrecision(void) const
Definition PropertyDouble.h:41
double getValue(void) const
Definition PropertyDouble.h:30
void setValue(double _value)
Definition PropertyDouble.h:29
static std::string propertyTypeString(void)
Definition PropertyDouble.h:24
virtual std::string getPropertyType(void) const override
Definition PropertyDouble.h:25
double getMin(void) const
Definition PropertyDouble.h:35
void setMin(double _value)
Definition PropertyDouble.h:34
void setMax(double _value)
Definition PropertyDouble.h:37
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::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