32 virtual std::string
getPropertyType(
void)
const override {
return PropertyStringList::propertyTypeString(); };
34 virtual Property* createCopy(
void)
const override;
36 void setList(
const std::list<std::string>& _values) { m_list = _values; };
37 std::list<std::string>&
getList(
void) {
return m_list; };
38 const std::list<std::string>&
getList(
void)
const {
return m_list; };
40 void setCurrent(
const std::string& _current) { m_current = _current; };
41 const std::string&
getCurrent(
void)
const {
return m_current; };
56 std::string m_current;
57 std::list<std::string> m_list;
#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 PropertyStringList.h:18
std::list< std::string > & getList(void)
Definition PropertyStringList.h:37
virtual std::string getPropertyType(void) const override
Definition PropertyStringList.h:32
const std::string & getCurrent(void) const
Definition PropertyStringList.h:41
virtual ~PropertyStringList()
Definition PropertyStringList.h:29
void setList(const std::list< std::string > &_values)
Definition PropertyStringList.h:36
const std::list< std::string > & getList(void) const
Definition PropertyStringList.h:38
void setCurrent(const std::string &_current)
Definition PropertyStringList.h:40
static std::string propertyTypeString(void)
Definition PropertyStringList.h:31
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