MachineIntelligenceCore:Toolchain
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mic::configuration::PropertyInterface Class Referenceabstract

Basic interface property - used during registration etc. More...

#include <Property.hpp>

Inheritance diagram for mic::configuration::PropertyInterface:

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...
 

Detailed Description

Basic interface property - used during registration etc.

Author
tkornuta

Definition at line 90 of file Property.hpp.

Constructor & Destructor Documentation

mic::configuration::PropertyInterface::PropertyInterface ( const std::string &  name_)
inline

Definition at line 93 of file Property.hpp.

virtual mic::configuration::PropertyInterface::~PropertyInterface ( )
inlinevirtual

Definition at line 97 of file Property.hpp.

Member Function Documentation

virtual std::string mic::configuration::PropertyInterface::getValue ( )
pure virtual
const std::string& mic::configuration::PropertyInterface::name ( ) const
inline

Returns property name.

Returns
Name.

Definition at line 103 of file Property.hpp.

References property_name.

Referenced by mic::configuration::PropertyTree::loadPropertiesFromConfigNode(), and mic::configuration::PropertyTree::registerProperty().

virtual void mic::configuration::PropertyInterface::setValue ( const std::string &  str)
pure virtual

Member Data Documentation

std::string mic::configuration::PropertyInterface::property_name
private

Name of the property.

Definition at line 122 of file Property.hpp.

Referenced by name().


The documentation for this class was generated from the following file: