WvStreams
Public Member Functions | List of all members
GenStyleChangeTreeIter Class Reference
Inheritance diagram for GenStyleChangeTreeIter:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Definition at line 102 of file unitransactiongen.cc.

Member Function Documentation

◆ rewind()

void GenStyleChangeTreeIter::rewind ( )
inlinevirtual

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 120 of file unitransactiongen.cc.

◆ next()

bool GenStyleChangeTreeIter::next ( )
inlinevirtual

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().

◆ value()

WvString GenStyleChangeTreeIter::value ( ) const
inlinevirtual

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: