#include <Pt/Settings.h>
Modifiable settings entry.
|
|
template<typename T> |
| bool | get (T &value) const |
| | Gets the value.
|
|
template<typename T> |
| void | set (const T &value) |
| | Sets the value.
|
|
Entry | addEntry (const std::string &name) |
| | Adds a sub entry.
|
|
Entry | addEntry (const char *name) |
| | Adds a sub entry.
|
|
Entry | addEntry () |
| | Adds a sub entry.
|
|
void | removeEntry (const std::string &name) |
| | Removes a sub entry.
|
|
void | removeEntry (const char *name) |
| | Removes a sub entry.
|
|
void | removeEntry (const Entry &e) |
| | Removes a sub entry.
|
|
Entry | begin () const |
| | Begin of sub entries.
|
|
Entry | end () const |
| | End of sub entries.
|
|
Entry | entry (const std::string &name) const |
| | Returns a sub entry.
|
|
Entry | entry (const char *name) const |
| | Returns a sub entry.
|
|
Entry | makeEntry (const char *name) |
| | Returns a sub entry.
|
|
Entry | makeEntry (const std::string &name) |
| | Returns a sub entry.
|
|
Entry | operator[] (const std::string &name) const |
| | Returns a sub entry.
|
|
Entry | operator[] (const char *name) const |
| | Returns a sub entry.
|
|
const char * | name () const |
| | Returns the entry name.
|
|
Entry & | operator* () |
| | Allows using the entry like an iterator.
|
|
Entry * | operator-> () |
| | Allows using the entry like an iterator.
|
|
Entry & | operator++ () |
| | Allows using the entry like an iterator.
|
|
bool | operator!= (const Entry &other) const |
| | Allows using the entry like an iterator.
|
|
bool | operator== (const Entry &other) const |
| | Allows using the entry like an iterator.
|
|
bool | operator! () const |
| | Returns true if entry is invalid.
|