Settings::ConstEntry Class Reference

#include <Pt/Settings.h>

Constant settings entry.

Public Member Functions

template<typename T>
bool get (T &value) const
 Gets the value.
ConstEntry begin () const
 Begin of sub entries.
ConstEntry end () const
 End of sub entries.
ConstEntry entry (const std::string &name) const
 Returns a sub entry.
ConstEntry entry (const char *name) const
 Returns a sub entry.
ConstEntry operator[] (const std::string &name) const
 Returns a sub entry.
ConstEntry operator[] (const char *name) const
 Returns a sub entry.
const char * name () const
 Returns the entry name.
const ConstEntry & operator* () const
 Allows using the entry like an iterator.
const ConstEntry * operator-> () const
 Allows using the entry like an iterator.
ConstEntry & operator++ ()
 Allows using the entry like an iterator.
bool operator!= (const ConstEntry &other) const
 Allows using the entry like an iterator.
bool operator== (const ConstEntry &other) const
 Allows using the entry like an iterator.
bool operator! () const
 Returns true if entry is invalid.