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

bmrf_network::depth_iterator Class Reference

#include <bmrf_network.h>

Inheritance diagram for bmrf_network::depth_iterator:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 173 of file bmrf_network.h.

Public Member Functions

 depth_iterator (bmrf_network *network, bmrf_node_sptr node)
 Constructor.
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

void next_node ()
 Increment the current node.

Protected Attributes

vcl_deque< bmrf_node_sptreval_queue_
vcl_set< bmrf_node_sptrvisited_
bmrf_networknetwork_
bmrf_node_sptr curr_node_


Constructor & Destructor Documentation

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

Constructor.

Definition at line 177 of file bmrf_network.h.


Member Function Documentation

void bmrf_network::depth_iterator::next_node  )  [protected, virtual]
 

Increment the current node.

Implements bmrf_network::iterator.

Definition at line 398 of file bmrf_network.cxx.

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

Dereference.

Definition at line 156 of file bmrf_network.h.

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

Inequality comparison.

Definition at line 162 of file bmrf_network.h.

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

Increment.

Definition at line 151 of file bmrf_network.h.

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

Dereference.

Definition at line 154 of file bmrf_network.h.

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

Equality comparison.

Definition at line 159 of file bmrf_network.h.


Member Data Documentation

bmrf_node_sptr bmrf_network::iterator::curr_node_ [protected, inherited]
 

Definition at line 169 of file bmrf_network.h.

vcl_deque<bmrf_node_sptr> bmrf_network::depth_iterator::eval_queue_ [protected]
 

Definition at line 183 of file bmrf_network.h.

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

Definition at line 168 of file bmrf_network.h.

vcl_set<bmrf_node_sptr> bmrf_network::depth_iterator::visited_ [protected]
 

Definition at line 184 of file bmrf_network.h.


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