|
| | PropertyDouble (const PropertyDouble *_other) |
| |
| | PropertyDouble (const PropertyBase &_base) |
| |
| | PropertyDouble (PropertyFlags _flags=PropertyFlags(NoFlags)) |
| |
| | PropertyDouble (double _value, PropertyFlags _flags=PropertyFlags(NoFlags)) |
| |
| | PropertyDouble (const std::string &_name, double _value, PropertyFlags _flags=PropertyFlags(NoFlags)) |
| |
| | PropertyDouble (const std::string &_name, double _value, double _min, double _max, PropertyFlags _flags=PropertyFlags(NoFlags)) |
| |
| virtual | ~PropertyDouble () |
| |
| virtual std::string | getPropertyType (void) const override |
| |
| virtual Property * | createCopy (void) const override |
| | Creates a copy of this property.
|
| |
| void | setValue (double _value) |
| |
| double | getValue (void) const |
| |
| void | setRange (double _min, double _max) |
| |
| void | setMin (double _value) |
| |
| double | getMin (void) const |
| |
| void | setMax (double _value) |
| |
| double | getMax (void) const |
| |
| void | setPrecision (int _p) |
| |
| int | getPrecision (void) const |
| |
| | Property (const Property *_other) |
| |
| | Property (const PropertyBase &_base) |
| |
| | Property (PropertyFlags _flags=PropertyFlags(NoFlags)) |
| |
| | Property (const std::string &_name, PropertyFlags _flags=PropertyFlags(NoFlags)) |
| |
| virtual | ~Property () |
| | Destructor. Destroys the parent group if set.
|
| |
| Property * | createCopyWithParents (void) const |
| | brief Creates a copy of this property and all parent groups excluding other properties and group paths. The created property will have all the parent groups set up to the root group.
|
| |
| virtual void | addToJsonObject (ot::JsonValue &_object, ot::JsonAllocator &_allocator) const override |
| | Add the object contents to the provided JSON object.
|
| |
| virtual void | setFromJsonObject (const ot::ConstJsonObject &_object) override |
| | Will set the object contents from the provided JSON object.
|
| |
| void | setParentGroup (PropertyGroup *_group) |
| |
| PropertyGroup * | getParentGroup (void) const |
| |
| PropertyGroup * | getRootGroup (void) const |
| | Returns the root group. If this item has no parent group returns 0.
|
| |
| std::string | getPropertyPath (char _delimiter='/') const |
| | Returns the property path. The property path is a string containing all parent groups and the property name (e.g. "RootGroup/ChildGroup/ThisItem").
|
| |
| | PropertyBase (PropertyFlags _flags=PropertyFlags(NoFlags)) |
| | Default constructor.
|
| |
| | PropertyBase (const std::string &_name, PropertyFlags _flags=PropertyFlags(NoFlags)) |
| | Assignment constructor.
|
| |
| | PropertyBase (const PropertyBase &_other) |
| | Copy constructor.
|
| |
| virtual | ~PropertyBase () |
| | Destructor.
|
| |
| PropertyBase & | operator= (const PropertyBase &_other) |
| | Assignment operator.
|
| |
| void | setPropertyName (const std::string &_name) |
| |
| const std::string & | getPropertyName (void) const |
| |
| void | setPropertyTitle (const std::string &_title) |
| | Set the property title If no title set the name will be used as title.
|
| |
| const std::string & | getPropertyTitle (void) const |
| | Property title If no title set the name will be used as title.
|
| |
| void | setPropertyTip (const std::string &_tip) |
| |
| std::string & | getPropertyTip (void) |
| |
| const std::string & | getPropertyTip (void) const |
| |
| void | setPropertyFlag (PropertyFlag _flag, bool _active=true) |
| |
| void | setPropertyFlags (PropertyFlags _flags) |
| |
| PropertyFlags & | getPropertyFlags (void) |
| |
| const PropertyFlags & | getPropertyFlags (void) const |
| |
| void | setSpecialType (const std::string &_type) |
| |
| const std::string & | getSpecialType (void) const |
| |
| void | addAdditionalPropertyData (const std::string &_key, const std::string &_data) |
| |
| void | setAdditionalPropertyData (const std::map< std::string, std::string > &_data) |
| |
| const std::map< std::string, std::string > & | getAllAdditionalPropertyData (void) const |
| |
| std::string | getAdditionalPropertyData (const std::string &_key) const |
| |
| | Serializable () |
| |
| virtual | ~Serializable () |
| |