GenStyleChangeTreeIter Class Reference

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

Detailed Description

Definition at line 102 of file unitransactiongen.cc.

Public Member Functions

 GenStyleChangeTreeIter (UniConfChangeTree *_root, const UniConfKey &_section, IUniConfGen *_base)
 ~GenStyleChangeTreeIter ()
void rewind ()
 Rewinds the iterator.
bool next ()
 Seeks to the next element in the sequence.
UniConfKey key () const
 Returns the current key.
WvString value () const
 Returns the value of the current key.


Member Function Documentation

void GenStyleChangeTreeIter::rewind (  )  [inline, virtual]

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 120 of file unitransactiongen.cc.

bool GenStyleChangeTreeIter::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.

Definition at line 126 of file unitransactiongen.cc.

References UniConfTree< Sub, Base >::findchild(), UniConfGen::Iter::key(), UniConfGen::Iter::next(), and UniConfGen::Iter::rewind().

WvString GenStyleChangeTreeIter::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.

Definition at line 172 of file unitransactiongen.cc.

References WvString::empty, IUniConfGen::get(), and UniConfGen::Iter::value().


The documentation for this class was generated from the following file:
Generated on Mon Feb 5 10:54:31 2007 for WvStreams by  doxygen 1.5.1