WvStreams
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
UniListGen::IterIter Class Reference
Inheritance diagram for UniListGen::IterIter:
Inheritance graph
[legend]

Public Member Functions

 IterIter (UniListGen *gen, const UniConfKey &key)
 
virtual void rewind ()
 Rewinds the iterator. More...
 
virtual bool next ()
 Seeks to the next element in the sequence. More...
 
virtual UniConfKey key () const
 Returns the current key.
 
virtual WvString value () const
 Returns the value of the current key. More...
 

Protected Member Functions

 DeclareWvScatterTable (UniConfKey)
 
 DeclareWvList2 (IterList, UniConfGen::Iter)
 

Protected Attributes

IterList l
 
IterList::Iter * i
 
UniConfKeyTable d
 

Detailed Description

Definition at line 19 of file unilistgen.cc.

Member Function Documentation

◆ rewind()

void UniListGen::IterIter::rewind ( )
virtual

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 190 of file unilistgen.cc.

◆ next()

bool UniListGen::IterIter::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 202 of file unilistgen.cc.

◆ value()

WvString UniListGen::IterIter::value ( ) const
virtual

Returns the value of the current key.

You could just do a get(), but maybe your generator has a more efficient way.

Implements UniConfGen::Iter.

Definition at line 233 of file unilistgen.cc.


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