UniListGen::IterIter Class Reference

Inheritance diagram for UniListGen::IterIter:
[legend]
List of all members.

Detailed Description

Definition at line 19 of file unilistgen.cc.

Public Member Functions

 IterIter (UniListGen *gen, const UniConfKey &key)
virtual ~IterIter ()
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.

Protected Member Functions

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

Protected Attributes

IterList l
IterList::Iter * i
UniConfKeyTable d


Member Function Documentation

void UniListGen::IterIter::rewind (  )  [virtual]

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 189 of file unilistgen.cc.

References d, and i.

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 201 of file unilistgen.cc.

References d, and i.

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 232 of file unilistgen.cc.


The documentation for this class was generated from the following file:
Generated on Sun Sep 24 20:11:00 2006 for WvStreams by  doxygen 1.4.7