Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

BaseConfig::Enumerator Class Reference

#include <appconf.h>

List of all members.

Enumeration of subgroups/entries

 Enumerator (size_t nCount, Bool bOwnsStrings)
 ~Enumerator ()
void AddString (const char *sz)
void AddString (char *sz)
void MakeUnique ()
size_t Count () const
 return number of elements.

const char* operator[] (size_t nIndex) const
 return the element nIndex.

char** m_aszData
size_t m_nCount
Bool m_bOwnsStrings


Detailed Description

This class allows access to an array of strings, which are entries or group names. @memo Class that supports enumeration.
See also:
enumSubgroups, enumEntries

Definition at line 233 of file appconf.h.


Constructor & Destructor Documentation

BaseConfig::Enumerator::Enumerator ( size_t nCount,
Bool bOwnsStrings )
 

BaseConfig::Enumerator::~Enumerator ( )
 


Member Function Documentation

void BaseConfig::Enumerator::AddString ( char * sz )
 

void BaseConfig::Enumerator::AddString ( const char * sz )
 

size_t BaseConfig::Enumerator::Count ( ) const [inline]
 

return number of elements.

Definition at line 251 of file appconf.h.

void BaseConfig::Enumerator::MakeUnique ( )
 

const char * BaseConfig::Enumerator::operator[] ( size_t nIndex ) const [inline]
 

return the element nIndex.

Definition at line 253 of file appconf.h.


Member Data Documentation

char ** BaseConfig::Enumerator::m_aszData [private]
 

Definition at line 256 of file appconf.h.

Bool BaseConfig::Enumerator::m_bOwnsStrings [private]
 

Definition at line 258 of file appconf.h.

size_t BaseConfig::Enumerator::m_nCount [private]
 

Definition at line 257 of file appconf.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:40 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001