#include <PropertySink.h>
Public Member Functions | |
PropertySink () | |
virtual | ~PropertySink () |
virtual void | setProperty (const char *property, const std::string &value)=0 |
virtual void | setProperty (const char *property, bool value)=0 |
virtual void | setProperty (const char *property, int value)=0 |
virtual void | setProperty (const char *property, double value)=0 |
virtual void | setProperty (const char *property, MatNd *value)=0 |
virtual PropertySink * | getChild (const char *prefix)=0 |
virtual PropertySink * | clone () const =0 |
![]() | |
PropertySource () | |
virtual | ~PropertySource () |
virtual bool | exists ()=0 |
virtual bool | getProperty (std::string &out, const char *property)=0 |
virtual bool | getProperty (std::vector< std::string > &out, const char *property)=0 |
virtual bool | getProperty (double &out, const char *property)=0 |
virtual bool | getProperty (int &out, const char *property)=0 |
virtual bool | getProperty (MatNd *&out, const char *property)=0 |
virtual bool | getPropertyBool (const char *property, bool def=false)=0 |
virtual const std::vector< PropertySource * > & | getChildList (const char *prefix)=0 |
virtual void | saveXML (const char *fileName, const char *rootNodeName)=0 |
Additional Inherited Members | |
![]() | |
static PropertySource * | empty () |
Mutable version of PropertySource.
Note that this class does not specify any mechanism for persisting the changes made here.
Definition at line 46 of file PropertySink.h.
Rcs::PropertySink::PropertySink | ( | ) |
Definition at line 122 of file PropertySource.cpp.
|
virtual |
Definition at line 127 of file PropertySource.cpp.
|
pure virtual |
Create an independent copy of this property source.
Implements Rcs::PropertySource.
Implemented in Rcs::PropertySourceDict.
|
pure virtual |
Obtain a child property sink.
This only adapts the return type from the PropertySource definition.
Implements Rcs::PropertySource.
Implemented in Rcs::PropertySourceDict.
|
pure virtual |
Set a property to the given string value.
[in] | property | name of property to write. |
[in] | value | new property value. |
Implemented in Rcs::PropertySourceDict.
|
pure virtual |
Set a property to the given boolean value.
[in] | property | name of property to write. |
[in] | value | new property value. |
Implemented in Rcs::PropertySourceDict.
|
pure virtual |
Set a property to the given integer value.
[in] | property | name of property to write. |
[in] | value | new property value. |
Implemented in Rcs::PropertySourceDict.
|
pure virtual |
Set a property to the given double value.
[in] | property | name of property to write. |
[in] | value | new property value. |
Implemented in Rcs::PropertySourceDict.
|
pure virtual |
Set a property to the given vector/matrix value.
If one of the dimensions of the matrix has size 1, it is interpreted as vector.
[in] | property | name of property to write. |
[in] | value | new property value. |
Implemented in Rcs::PropertySourceDict.