|
WvStreams
|

Public Member Functions | |
| IterIter (UniListGen *gen, const UniConfKey &key) | |
| 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. | |
Protected Member Functions | |
| DeclareWvScatterTable (UniConfKey) | |
| DeclareWvList2 (IterList, UniConfGen::Iter) | |
Protected Attributes | |
| IterList | l |
| IterList::Iter * | i |
| UniConfKeyTable | d |
Definition at line 19 of file unilistgen.cc.
| void UniListGen::IterIter::rewind | ( | ) | [virtual] |
Rewinds the iterator.
Must be called prior to the first invocation of next().
Implements UniConfGen::Iter.
Definition at line 190 of file unilistgen.cc.
| bool UniListGen::IterIter::next | ( | ) | [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 202 of file unilistgen.cc.
| UniConfKey UniListGen::IterIter::key | ( | ) | const [virtual] |
| WvString UniListGen::IterIter::value | ( | ) | const [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 233 of file unilistgen.cc.
1.7.6.1