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

Public Member Functions

 UniFileSystemGenIter (UniFileSystemGen *_gen, WvStringParm path, const UniConfKey &_rel)
 
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 103 of file unifilesystemgen.cc.

Member Function Documentation

◆ rewind()

void UniFileSystemGenIter::rewind ( )
inlinevirtual

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 119 of file unifilesystemgen.cc.

◆ next()

bool UniFileSystemGenIter::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 122 of file unifilesystemgen.cc.

◆ value()

WvString UniFileSystemGenIter::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 128 of file unifilesystemgen.cc.

References UniFileSystemGen::get().


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