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

UniMountTree::MountIter Class Reference

#include <unimounttreegen.h>

Inherited by UniMountTree::GenIter [private].

Collaboration diagram for UniMountTree::MountIter:

[legend]
List of all members.

Detailed Description

An iterator over the UniMountTree nodes that might know something about the provided 'key', starting with the nearest match and then moving up the tree.

Definition at line 55 of file unimounttreegen.h.

Public Member Functions

 MountIter (UniMountTree &root, const UniConfKey &key)
void rewind ()
bool next ()
int split () const
UniConfKey key () const
UniConfKey head () const
UniConfKey tail () const
UniMountTreenode () const
UniMountTreeptr () const
 WvIterStuff (UniMountTree)


Constructor & Destructor Documentation

UniMountTree::MountIter::MountIter UniMountTree root,
const UniConfKey key
 

Definition at line 354 of file unimounttreegen.cc.

References UniMountTree::findnearest(), and MountIter().

Referenced by MountIter().


Member Function Documentation

UniConfKey UniMountTree::MountIter::head  )  const [inline]
 

Definition at line 74 of file unimounttreegen.h.

References UniConfKey::first().

UniConfKey UniMountTree::MountIter::key  )  const [inline]
 

Definition at line 72 of file unimounttreegen.h.

bool UniMountTree::MountIter::next  ) 
 

Reimplemented in UniMountTree::GenIter.

Definition at line 368 of file unimounttreegen.cc.

References UniConfTree< UniMountTree >::parent().

Referenced by UniMountTree::GenIter::next().

UniMountTree* UniMountTree::MountIter::node  )  const [inline]
 

Definition at line 78 of file unimounttreegen.h.

Referenced by UniMountTree::GenIter::next(), and ptr().

UniMountTree* UniMountTree::MountIter::ptr  )  const [inline]
 

Reimplemented in UniMountTree::GenIter.

Definition at line 80 of file unimounttreegen.h.

References node().

void UniMountTree::MountIter::rewind  ) 
 

Reimplemented in UniMountTree::GenIter.

Definition at line 362 of file unimounttreegen.cc.

Referenced by UniMountTree::GenIter::rewind().

int UniMountTree::MountIter::split  )  const [inline]
 

Definition at line 70 of file unimounttreegen.h.

UniConfKey UniMountTree::MountIter::tail  )  const [inline]
 

Definition at line 76 of file unimounttreegen.h.

References UniConfKey::removefirst().

UniMountTree::MountIter::WvIterStuff UniMountTree   ) 
 


The documentation for this class was generated from the following files:
Generated on Tue Oct 5 01:09:33 2004 for WvStreams by doxygen 1.3.7