csWin32RegistryIterator Class Reference
Iterates over a registry key subkeys and values. More...
#include <csutil/win32/registrycfg.h>
Inheritance diagram for csWin32RegistryIterator:

Public Member Functions | |
virtual iConfigFile * | GetConfigFile () const |
Returns the configuration object for this iterator. | |
virtual const char * | GetSubsection () const |
Returns the subsection in the configuruation. | |
virtual void | Rewind () |
Rewind the iterator (points to nowhere after this). | |
virtual bool | Next () |
Move to the next valid key. Returns false if no more keys exist. | |
virtual const char * | GetKey (bool Local=false) const |
Get the current key name. | |
virtual int | GetInt () const |
Get an integer value from the configuration. | |
virtual float | GetFloat () const |
Get a float value from the configuration. | |
virtual const char * | GetStr () const |
Get a string value from the configuration. | |
virtual bool | GetBool () const |
Get a boolean value from the configuration. | |
virtual const char * | GetComment () const |
Get the comment of the given key, or 0 if no comment exists. |
Detailed Description
Iterates over a registry key subkeys and values.
- Remarks:
- This class provides functionality specific to the Win32 platform. To ensure that code using this functionality compiles properly on all other platforms, the use of the interface and inclusion of the header file should be surrounded by appropriate `#if defined(CS_PLATFORM_WIN32) ... #endif' statements.
Definition at line 160 of file registrycfg.h.
Member Function Documentation
|
Get a boolean value from the configuration.
Implements iConfigIterator. |
|
Get the comment of the given key, or 0 if no comment exists.
Implements iConfigIterator. |
|
Returns the configuration object for this iterator.
Implements iConfigIterator. |
|
Get a float value from the configuration.
Implements iConfigIterator. |
|
Get an integer value from the configuration.
Implements iConfigIterator. |
|
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. Implements iConfigIterator. |
|
Get a string value from the configuration.
Implements iConfigIterator. |
|
Returns the subsection in the configuruation.
Implements iConfigIterator. |
|
Move to the next valid key. Returns false if no more keys exist.
Implements iConfigIterator. |
|
Rewind the iterator (points to nowhere after this).
Implements iConfigIterator. |
The documentation for this class was generated from the following file:
- csutil/win32/registrycfg.h
Generated for Crystal Space by doxygen 1.3.9.1