Settings::ConstEntry Class Reference

#include <Pt/Settings.h>

Constant settings entry.

Public Member Functions

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.
 
template<typename T >
bool get (T &value) const
 Gets the value.
 
const char * name () const
 Returns the entry name.
 
bool operator! () const
 Returns true if entry is invalid.
 
bool operator!= (const ConstEntry &other) const
 Allows using the entry like an iterator.
 
const ConstEntryoperator* () const
 Allows using the entry like an iterator.
 
ConstEntryoperator++ ()
 Allows using the entry like an iterator.
 
const ConstEntryoperator-> () const
 Allows using the entry like an iterator.
 
bool operator== (const ConstEntry &other) const
 Allows using the entry like an iterator.
 
ConstEntry operator[] (const std::string &name) const
 Returns a sub entry.
 
ConstEntry operator[] (const char *name) const
 Returns a sub entry.