MachineIntelligenceCore:Toolchain
|
Basic interface property - used during registration etc. More...
#include <Property.hpp>
Public Member Functions | |
PropertyInterface (const std::string &name_) | |
virtual | ~PropertyInterface () |
const std::string & | name () const |
virtual void | setValue (const std::string &str)=0 |
virtual std::string | getValue ()=0 |
Private Attributes | |
std::string | property_name |
Name of the property. More... | |
Basic interface property - used during registration etc.
Definition at line 90 of file Property.hpp.
|
inline |
Definition at line 93 of file Property.hpp.
|
inlinevirtual |
Definition at line 97 of file Property.hpp.
|
pure virtual |
Abstract method for returning the string representing the current value.
Implemented in mic::configuration::Property< T, Translator >, mic::configuration::Property< long >, mic::configuration::Property< unsigned long >, mic::configuration::Property< double >, mic::configuration::Property< unsigned int >, and mic::configuration::Property< bool >.
Referenced by mic::configuration::PropertyTree::loadPropertiesFromConfigNode().
|
inline |
Returns property name.
Definition at line 103 of file Property.hpp.
References property_name.
Referenced by mic::configuration::PropertyTree::loadPropertiesFromConfigNode(), and mic::configuration::PropertyTree::registerProperty().
|
pure virtual |
Abstract method for retrieving the value of property from a string, defined in concrete property.
str | String from which value will be retrieved. |
Implemented in mic::configuration::Property< T, Translator >, mic::configuration::Property< long >, mic::configuration::Property< unsigned long >, mic::configuration::Property< double >, mic::configuration::Property< unsigned int >, and mic::configuration::Property< bool >.
Referenced by mic::configuration::PropertyTree::loadPropertiesFromConfigNode().
|
private |