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

bmrf_network::iterator Class Reference

#include <bmrf_network.h>

Inheritance diagram for bmrf_network::iterator:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 141 of file bmrf_network.h.

Public Member Functions

 iterator (bmrf_network *network, bmrf_node_sptr node)
 Constructor.
virtual ~iterator ()
 Destructor.
iteratoroperator++ ()
 Increment.
bmrf_node_sptr operator-> () const
 Dereference.
bmrf_node_sptr operator * () const
 Dereference.
bool operator== (const iterator &rhs) const
 Equality comparison.
bool operator!= (const iterator &rhs) const
 Inequality comparison.

Protected Member Functions

virtual void next_node ()=0
 Increment the current node.

Protected Attributes

bmrf_networknetwork_
bmrf_node_sptr curr_node_


Constructor & Destructor Documentation

bmrf_network::iterator::iterator bmrf_network network,
bmrf_node_sptr  node
[inline]
 

Constructor.

Definition at line 145 of file bmrf_network.h.

virtual bmrf_network::iterator::~iterator  )  [inline, virtual]
 

Destructor.

Definition at line 148 of file bmrf_network.h.


Member Function Documentation

virtual void bmrf_network::iterator::next_node  )  [protected, pure virtual]
 

Increment the current node.

Implemented in bmrf_network::depth_iterator, and bmrf_network::breadth_iterator.

bmrf_node_sptr bmrf_network::iterator::operator *  )  const [inline]
 

Dereference.

Definition at line 156 of file bmrf_network.h.

bool bmrf_network::iterator::operator!= const iterator rhs  )  const [inline]
 

Inequality comparison.

Definition at line 162 of file bmrf_network.h.

iterator& bmrf_network::iterator::operator++  )  [inline]
 

Increment.

Definition at line 151 of file bmrf_network.h.

bmrf_node_sptr bmrf_network::iterator::operator->  )  const [inline]
 

Dereference.

Definition at line 154 of file bmrf_network.h.

bool bmrf_network::iterator::operator== const iterator rhs  )  const [inline]
 

Equality comparison.

Definition at line 159 of file bmrf_network.h.


Member Data Documentation

bmrf_node_sptr bmrf_network::iterator::curr_node_ [protected]
 

Definition at line 169 of file bmrf_network.h.

bmrf_network* bmrf_network::iterator::network_ [protected]
 

Definition at line 168 of file bmrf_network.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:51:55 2008 for contrib/brl/bseg/bmrf by  doxygen 1.4.4