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. |
virtual void UniUnwrapGen::Iter::rewind | ( | ) | [inline, virtual] |
Rewinds the iterator.
Must be called prior to the first invocation of next().
Implements UniConfGen::Iter.
Definition at line 138 of file uniunwrapgen.cc.
References UniConf::Iter::rewind().
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.
Definition at line 139 of file uniunwrapgen.cc.
References UniConf::Iter::next().
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.
Definition at line 141 of file uniunwrapgen.cc.