ALib C++ Library
Library Version: 2402 R1
Documentation generated by doxygen
No Matches
Configuration::Iterator Class Referenceabstract


Iterator interface class, returned by method GetIterator.

Definition at line 425 of file configuration.hpp.

#include <configuration.hpp>

Collaboration diagram for Configuration::Iterator:

Public Field Index:

Variable Actual

Public Method Index:

virtual ~Iterator ()
virtual bool Next ()=0
virtual void ResetToSection (const String &sectionName)=0

Field Details:

◆ Actual

Variable Actual

The actual variable loaded with successful call to Next.

Definition at line 429 of file configuration.hpp.

Constructor(s) / Destructor Details::

◆ ~Iterator()

virtual ~Iterator ( )

Virtual destructor.

Definition at line 432 of file configuration.hpp.

Method Details:

◆ Next()

virtual bool Next ( )
pure virtual

Searches and loads the next variable from the iterated section. On success, the variable data is stored in Actual.

true, if a next variable was found. false otherwise.

◆ ResetToSection()

virtual void ResetToSection ( const String & sectionName)
pure virtual

Resets this iterator to work on a different section of the same configuration.

sectionNameThe name of the section to iterate.

The documentation for this class was generated from the following file: