WvStreams
Public Member Functions | List of all members
UniRegistryGenIter Class Reference
Inheritance diagram for UniRegistryGenIter:
Inheritance graph
[legend]

Public Member Functions

 UniRegistryGenIter (UniRegistryGen &gen, const UniConfKey &key, HKEY base)
 
virtual ~UniRegistryGenIter ()
 Destroys the iterator.
 
virtual void rewind ()
 Rewinds the iterator.
 
virtual bool next ()
 Seeks to the next element in the sequence.
 
virtual UniConfKey key () const
 Returns the current key.
 
virtual WvString value () const
 Returns the value of the current key.
 
 UniRegistryGenIter (UniRegistryGen &gen, const UniConfKey &key, HKEY base)
 
virtual ~UniRegistryGenIter ()
 Destroys the iterator.
 
virtual void rewind ()
 Rewinds the iterator.
 
virtual bool next ()
 Seeks to the next element in the sequence.
 
virtual UniConfKey key () const
 Returns the current key.
 
virtual WvString value () const
 Returns the value of the current key.
 

Detailed Description

Definition at line 47 of file debian/libwvstreams-dev/usr/include/wvstreams/uniregistrygen.h.

Constructor & Destructor Documentation

◆ UniRegistryGenIter()

UniRegistryGenIter::UniRegistryGenIter ( UniRegistryGen gen,
const UniConfKey key,
HKEY  base 
)

Definition at line 229 of file uniregistrygen.cc.

◆ ~UniRegistryGenIter()

UniRegistryGenIter::~UniRegistryGenIter ( )
virtual

Destroys the iterator.

Definition at line 251 of file uniregistrygen.cc.

Member Function Documentation

◆ rewind() [1/2]

void UniRegistryGenIter::rewind ( )
virtual

Rewinds the iterator.

Must be called prior to the first invocation of next().

Implements UniConfGen::Iter.

Definition at line 258 of file uniregistrygen.cc.

Referenced by UniRegistryGen::haschildren().

◆ next() [1/2]

bool UniRegistryGenIter::next ( )
virtual

Seeks to the next element in the sequence.

Returns true if that element exists. Must be called prior to the first invocation of key().

Implements UniConfGen::Iter.

Definition at line 266 of file uniregistrygen.cc.

Referenced by UniRegistryGen::haschildren().

◆ key() [1/2]

UniConfKey UniRegistryGenIter::key ( ) const
virtual

Returns the current key.

Implements UniConfGen::Iter.

Definition at line 293 of file uniregistrygen.cc.

◆ value() [1/2]

WvString UniRegistryGenIter::value ( ) const
virtual

Returns the value of the current key.

Implements UniConfGen::Iter.

Definition at line 299 of file uniregistrygen.cc.

References UniRegistryGen::get().

◆ rewind() [2/2]

virtual void UniRegistryGenIter::rewind ( )
virtual

Rewinds the iterator.

Must be called prior to the first invocation of next().

Implements UniConfGen::Iter.

◆ next() [2/2]

virtual bool UniRegistryGenIter::next ( )
virtual

Seeks to the next element in the sequence.

Returns true if that element exists. Must be called prior to the first invocation of key().

Implements UniConfGen::Iter.

◆ key() [2/2]

virtual UniConfKey UniRegistryGenIter::key ( ) const
virtual

Returns the current key.

Implements UniConfGen::Iter.

◆ value() [2/2]

virtual WvString UniRegistryGenIter::value ( ) const
virtual

Returns the value of the current key.

Implements UniConfGen::Iter.


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