#include <inifile.h>
Inheritance diagram for rs::ini::Entry:


Public Methods | |
| Entry (const std::string &name_, const std::string &content_, unsigned long line_number=UNDEFINED_FILEPOSITION) | |
| create a new Entry. More... | |
| virtual | ~Entry () |
| const Section * | mySection () const |
| get pointer to my Section. More... | |
| bool | changesMade () const |
| test if Entry was changed. More... | |
| const std::string & | getName () const |
| get name of entry. More... | |
| const std::string & | getContent () const |
| get current value of the entry. More... | |
| void | setContent (const std::string &content_) |
| set new value. More... | |
| double | getNumericContent () const |
| get current value of the entry as numeric value. More... | |
| long | getIntegerContent () const |
| get current value of the entry as numeric integer value. More... | |
| void | setNumericContent (double content_) |
| sets the value of the Entry to a numeric value. More... | |
| void | mark_obsolete () |
| comment out obsolete entry. More... | |
| bool | operator< (const Entry &other) const |
| compare two Entry's. More... | |
| void | dump (std::ostream &out) const |
| write Entry to stream. More... | |
| void | throw_Error (const std::string &message) const |
| throws an error referring the entry. More... | |
Private Methods | |
| void | set_changed () |
| mark entry as 'changed'. More... | |
Private Attributes | |
| std::string | name |
| std::string | content |
| bool | changed |
| Section * | my_section |
Friends | |
| class | Section |
Definition at line 158 of file inifile.h.
|
||||||||||||||||
|
create a new Entry.
|
|
|
|
|
|
mark entry as 'changed'.
|
|
|
get pointer to my Section.
Definition at line 185 of file inifile.h. Referenced by Entry::throw_Error(). |
|
|
test if Entry was changed.
|
|
|
get name of entry.
Definition at line 195 of file inifile.h. Referenced by Entry::throw_Error(). |
|
|
get current value of the entry.
|
|
|
set new value.
|
|
|
get current value of the entry as numeric value.
Definition at line 78 of file inifile.cpp. |
|
|
get current value of the entry as numeric integer value.
Definition at line 95 of file inifile.cpp. |
|
|
sets the value of the Entry to a numeric value.
|
|
|
comment out obsolete entry.
|
|
|
compare two Entry's.
|
|
|
write Entry to stream.
Reimplemented from Commentable. |
|
|
throws an error referring the entry.
Definition at line 113 of file inifile.cpp. Referenced by Entry::getIntegerContent(), and Entry::getNumericContent(). |
|
|
|
|
|
Definition at line 160 of file inifile.h. Referenced by Entry::operator<(). |
|
|
Definition at line 161 of file inifile.h. Referenced by Entry::getIntegerContent(), and Entry::getNumericContent(). |
|
|
|
|
|
|
|
Contact me in case of errors or questions. This documentation is powered by |
(C) 2000-2002 |