Orxonox
0.0.5 Codename: Arcturus
|
This class represents an entry in the config file. More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/config/ConfigFileEntry.h>
Public Member Functions | |
virtual | ~ConfigFileEntry ()=default |
Destructor. More... | |
virtual const std::string & | getFileEntry () const =0 |
Returns the line as it will be stored in the config file. More... | |
virtual unsigned int | getIndex () const |
Returns the index of the entry in a vector (used only if it is a vector) More... | |
virtual const std::string & | getName () const =0 |
Returns the name of the entry. More... | |
virtual const std::string & | getValue () const =0 |
Returns the value of the entry. More... | |
virtual void | setComment (const std::string &comment)=0 |
Changes the comment of the entry (will be placed after the value) More... | |
virtual void | setString (bool bString)=0 |
Defines if this entry is treated as string which means some special treatment of special characters. More... | |
virtual void | setValue (const std::string &value)=0 |
Changes the value of the entry. More... | |
This class represents an entry in the config file.
This class is pure virtual. Use one of the derived classes to define the type of the entry.
|
virtualdefault |
Destructor.
|
pure virtual |
Returns the line as it will be stored in the config file.
Implemented in orxonox::ConfigFileEntryValue, and orxonox::ConfigFileEntryComment.
|
inlinevirtual |
Returns the index of the entry in a vector (used only if it is a vector)
Reimplemented in orxonox::ConfigFileEntryVectorValue.
|
pure virtual |
Returns the name of the entry.
Implemented in orxonox::ConfigFileEntryValue, and orxonox::ConfigFileEntryComment.
|
pure virtual |
Returns the value of the entry.
Implemented in orxonox::ConfigFileEntryValue, and orxonox::ConfigFileEntryComment.
|
pure virtual |
Changes the comment of the entry (will be placed after the value)
Implemented in orxonox::ConfigFileEntryValue, and orxonox::ConfigFileEntryComment.
|
pure virtual |
Defines if this entry is treated as string which means some special treatment of special characters.
Implemented in orxonox::ConfigFileEntryValue, and orxonox::ConfigFileEntryComment.
|
pure virtual |
Changes the value of the entry.
Implemented in orxonox::ConfigFileEntryValue, and orxonox::ConfigFileEntryComment.