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

Public Member Functions

 Iter (const UniConf &cfg)
 
virtual ~Iter ()
 Destroys the iterator.
 
virtual void rewind ()
 Rewinds the iterator. More...
 
virtual bool next ()
 Seeks to the next element in the sequence. More...
 
virtual UniConfKey key () const
 Returns the current key.
 
virtual WvString value () const
 Returns the value of the current key. More...
 

Detailed Description

Definition at line 124 of file uniunwrapgen.cc.

Member Function Documentation

◆ rewind()

virtual void UniUnwrapGen::Iter::rewind ( )
inlinevirtual

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 136 of file uniunwrapgen.cc.

◆ next()

virtual bool UniUnwrapGen::Iter::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 137 of file uniunwrapgen.cc.

◆ value()

virtual WvString UniUnwrapGen::Iter::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 139 of file uniunwrapgen.cc.


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