![]() |
Public API Reference |
#include <cfgfile.h>
Inheritance diagram for iConfigIterator:
Public Methods | |
virtual iConfigFile * | GetConfigFile () const=0 |
Returns the configuration object for this iterator. More... | |
virtual const char * | GetSubsection () const=0 |
Returns the subsection in the configuruation. More... | |
virtual void | Rewind ()=0 |
Rewind the iterator (points to nowhere after this). More... | |
virtual bool | Next ()=0 |
Move to the next valid key. Returns false if no more keys exist. More... | |
virtual const char * | GetKey (bool Local=false) const=0 |
Get the current key name. More... | |
virtual int | GetInt () const=0 |
Get an integer value from the configuration. More... | |
virtual float | GetFloat () const=0 |
Get a float value from the configuration. More... | |
virtual const char * | GetStr () const=0 |
Get a string value from the configuration. More... | |
virtual bool | GetBool () const=0 |
Get a boolean value from the configuration. More... | |
virtual const char * | GetComment () const=0 |
Get the comment of the given key, or NULL if no comment exists. More... |
Definition at line 153 of file iutil/cfgfile.h.
|
Get a boolean value from the configuration.
|
|
Get the comment of the given key, or NULL if no comment exists.
|
|
Returns the configuration object for this iterator.
|
|
Get a float value from the configuration.
|
|
Get an integer value from the configuration.
|
|
Get the current key name. Set Local to true to return only the local name inside the iterated subsection. This is the portion of the key string which follows the subsection prefix which was used to create this iterator. |
|
Get a string value from the configuration.
|
|
Returns the subsection in the configuruation.
|
|
Move to the next valid key. Returns false if no more keys exist.
|
|
Rewind the iterator (points to nowhere after this).
|