WvStreams
UniFileSystemGenIter Class Reference
Inheritance diagram for UniFileSystemGenIter:

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.

Constructor & Destructor Documentation

◆ UniFileSystemGenIter()

UniFileSystemGenIter::UniFileSystemGenIter ( UniFileSystemGen * _gen,
WvStringParm path,
const UniConfKey & _rel )
inline

Definition at line 111 of file unifilesystemgen.cc.

◆ ~UniFileSystemGenIter()

UniFileSystemGenIter::~UniFileSystemGenIter ( )
inline

Definition at line 116 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.

◆ key()

UniConfKey UniFileSystemGenIter::key ( ) const
inlinevirtual

Returns the current key.

Implements UniConfGen::Iter.

Definition at line 125 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.


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