37 virtual std::string
getPropertyType(
void)
const override {
return PropertyFilePath::propertyTypeString(); };
39 virtual Property* createCopy(
void)
const override;
41 void setPath(
const std::string& _path) { m_path = _path; };
42 const std::string&
getPath(
void)
const {
return m_path; };
47 void setFilters(
const std::list<FilterInfo>& _filters) { m_filters = _filters; };
49 void addFilter(
const FilterInfo& _info);
50 const std::list<FilterInfo>&
getFilters(
void)
const {
return m_filters; }
66 BrowseMode m_browseMode;
67 std::list<FilterInfo> m_filters;
#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 PropertyFilePath.h:16
BrowseMode
Definition PropertyFilePath.h:19
void setFilters(const std::list< FilterInfo > &_filters)
Definition PropertyFilePath.h:47
void setBrowseMode(BrowseMode _mode)
Definition PropertyFilePath.h:44
BrowseMode getBrowseMode(void) const
Definition PropertyFilePath.h:45
void addFilter(const std::string &_extension, const std::string &_text)
Definition PropertyFilePath.h:48
void setPath(const std::string &_path)
Definition PropertyFilePath.h:41
const std::list< FilterInfo > & getFilters(void) const
Definition PropertyFilePath.h:50
const std::string & getPath(void) const
Definition PropertyFilePath.h:42
virtual std::string getPropertyType(void) const override
Definition PropertyFilePath.h:37
virtual ~PropertyFilePath()
Definition PropertyFilePath.h:34
static std::string propertyTypeString(void)
Definition PropertyFilePath.h:36
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
Definition PropertyFilePath.h:24
std::string extension
Definition PropertyFilePath.h:25
std::string text
Definition PropertyFilePath.h:26