#include <p6config.h>
Inherits P6R::p6ICom.
Public Member Functions | |
virtual P6INT32 | addref (void)=0 |
virtual P6R::P6ERR | next (P6UINT32 cElements, const P6WCHAR **parElements, P6UINT32 *pcReturned)=0 |
virtual P6R::P6ERR | queryInterface (const P6R::P6IID &iid, P6VOID **ppIface)=0 |
virtual P6INT32 | release (void)=0 |
virtual P6R::P6ERR | reset (void)=0 |
To get a pointer to this object perform the following steps:
1) Get a pointer to the p6IWConfig interface (e.g., p6Config)
2) Call P6R::p6IWConfig::enumConfigSections() Each call to P6R::p6IWConfig::enumConfigSections() will return a new and different enumerator object.
A configuration file is composed of one or more sections each defined by a section name. To support internationalization p6IWConfig and these enumerators manipulate either UTC-2 or UTC-4 (e.g., Linux) characters depending on what is native to the underlying OS.
Note that this enumerator captures the state of the configuration as a snap shot in time. Thus its not recommended to hold on and reuse the pointers returned by this interface over a long period of time. To make sure you have the most recent values do either (1) call reset and then enumerate all section names or (2) create a new instance of this interface by calling P6R::p6IWConfig::enumConfigSections.
Definition at line 92 of file p6config.h.