UniListGen::IterIter Class Reference

Inheritance diagram for UniListGen::IterIter:
[legend]

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 19 of file unilistgen.cc.


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

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.

UniConfKey UniListGen::IterIter::key (  )  const [virtual]

Returns the current key.

Implements UniConfGen::Iter.

Definition at line 227 of file unilistgen.cc.

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:

Generated on Sun Oct 4 16:21:22 2009 for WvStreams by  doxygen 1.6.1