WvStreams
Public Member Functions
UniFileSystemGenIter Class Reference
Inheritance diagram for UniFileSystemGenIter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 UniFileSystemGenIter (UniFileSystemGen *_gen, WvStringParm path, const UniConfKey &_rel)
void rewind ()
 Rewinds the iterator.
bool next ()
 Seeks to the next element in the sequence.
UniConfKey key () const
 Returns the current key.
WvString value () const
 Returns the value of the current key.

Detailed Description

Definition at line 103 of file unifilesystemgen.cc.


Member Function Documentation

void UniFileSystemGenIter::rewind ( ) [inline, virtual]

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 119 of file unifilesystemgen.cc.

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

UniConfKey UniFileSystemGenIter::key ( ) const [inline, virtual]

Returns the current key.

Implements UniConfGen::Iter.

Definition at line 125 of file unifilesystemgen.cc.

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

References UniFileSystemGen::get().


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