WvStreams
Public Member Functions
GenStyleChangeTreeIter Class Reference
Inheritance diagram for GenStyleChangeTreeIter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 GenStyleChangeTreeIter (UniConfChangeTree *_root, const UniConfKey &_section, IUniConfGen *_base)
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.

Detailed Description

Definition at line 102 of file unitransactiongen.cc.


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 >::findchild(), UniConfGen::Iter::key(), UniConfGen::Iter::next(), and UniConfGen::Iter::rewind().

UniConfKey GenStyleChangeTreeIter::key ( ) const [inline, virtual]

Returns the current key.

Implements UniConfGen::Iter.

Definition at line 162 of file unitransactiongen.cc.

References UniConfGen::Iter::key().

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 IUniConfGen::get(), and UniConfGen::Iter::value().


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