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

UniMountTreeGen::KeyIter Class Reference

#include <unimounttreegen.h>

Inherits UniConfGen::Iter.

Collaboration diagram for UniMountTreeGen::KeyIter:

[legend]
List of all members.

Detailed Description

An iterator over the keys in a tree of mounted generators.

Definition at line 209 of file unimounttreegen.h.

Public Member Functions

 KeyIter (UniMountTreeGen &root, const UniConfKey &key)
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.


Constructor & Destructor Documentation

UniMountTreeGen::KeyIter::KeyIter UniMountTreeGen root,
const UniConfKey key
 

Definition at line 253 of file unimounttreegen.cc.


Member Function Documentation

UniConfKey UniMountTreeGen::KeyIter::key  )  const [virtual]
 

Returns the current key.

Implements UniConfGen::Iter.

Definition at line 298 of file unimounttreegen.cc.

bool UniMountTreeGen::KeyIter::next  )  [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 292 of file unimounttreegen.cc.

void UniMountTreeGen::KeyIter::rewind  )  [virtual]
 

Rewinds the iterator.

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

Implements UniConfGen::Iter.

Definition at line 260 of file unimounttreegen.cc.

References UniConfTree< UniMountTree >::find(), UniConfGen::hold_delta(), UniConfGen::iterator(), UniConfGen::Iter::key(), UniMountTreeGen::mounts, UniConfGen::Iter::next(), UniMountTree::GenIter::next(), UniMountTree::GenIter::ptr(), UniConfGen::Iter::rewind(), UniMountTree::GenIter::rewind(), UniMountTree::GenIter::tail(), and UniConfGen::unhold_delta().


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