Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

UniConfGen::NullIter Class Reference

#include <uniconfgen.h>

Inherits UniConfGen::Iter.

Collaboration diagram for UniConfGen::NullIter:

[legend]
List of all members.

Detailed Description

An iterator that's always empty.

This is handy if you don't have anything good to iterate over.

Definition at line 265 of file uniconfgen.h.

Public Member Functions

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.


Member Function Documentation

virtual UniConfKey UniConfGen::NullIter::key  )  const [inline, virtual]
 

Returns the current key.

Implements UniConfGen::Iter.

Definition at line 272 of file uniconfgen.h.

virtual bool UniConfGen::NullIter::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 271 of file uniconfgen.h.

virtual void UniConfGen::NullIter::rewind  )  [inline, virtual]
 

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 270 of file uniconfgen.h.


The documentation for this class was generated from the following file:
Generated on Sat Feb 21 21:07:15 2004 for WvStreams by doxygen 1.3.5