WvStreams
|
Public Member Functions | |
RecursiveIter (const UniConf &cfg) | |
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. |
Definition at line 143 of file uniunwrapgen.cc.
virtual void UniUnwrapGen::RecursiveIter::rewind | ( | ) | [inline, virtual] |
Rewinds the iterator.
Must be called prior to the first invocation of next().
Implements UniConfGen::Iter.
Definition at line 155 of file uniunwrapgen.cc.
virtual bool UniUnwrapGen::RecursiveIter::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 156 of file uniunwrapgen.cc.
virtual UniConfKey UniUnwrapGen::RecursiveIter::key | ( | ) | const [inline, virtual] |
Returns the current key.
Implements UniConfGen::Iter.
Definition at line 157 of file uniunwrapgen.cc.
virtual WvString UniUnwrapGen::RecursiveIter::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 158 of file uniunwrapgen.cc.