UniUnwrapGen::Iter Class Reference

Inheritance diagram for UniUnwrapGen::Iter:
[legend]

List of all members.


Detailed Description

Definition at line 126 of file uniunwrapgen.cc.


Public Member Functions

 Iter (const UniConf &cfg)
virtual ~Iter ()
 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.

Constructor & Destructor Documentation

virtual UniUnwrapGen::Iter::~Iter (  )  [inline, virtual]

Destroys the iterator.

Reimplemented from UniConfGen::Iter.

Definition at line 134 of file uniunwrapgen.cc.


Member Function Documentation

virtual void UniUnwrapGen::Iter::rewind (  )  [inline, virtual]

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Reimplemented in UniUnwrapGen::RecursiveIter.

Definition at line 138 of file uniunwrapgen.cc.

virtual bool UniUnwrapGen::Iter::next (  )  [inline, 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.

Reimplemented in UniUnwrapGen::RecursiveIter.

Definition at line 139 of file uniunwrapgen.cc.

virtual UniConfKey UniUnwrapGen::Iter::key (  )  const [inline, virtual]

Returns the current key.

Implements UniConfGen::Iter.

Reimplemented in UniUnwrapGen::RecursiveIter.

Definition at line 140 of file uniunwrapgen.cc.

virtual WvString UniUnwrapGen::Iter::value (  )  const [inline, 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.

Reimplemented in UniUnwrapGen::RecursiveIter.

Definition at line 141 of file uniunwrapgen.cc.


The documentation for this class was generated from the following file:
Generated on Fri Oct 5 18:20:33 2007 for WvStreams by  doxygen 1.5.3