#include <bgrl_graph.h>
Public Member Functions | |
iterator (bgrl_graph *graph, bgrl_search_func_sptr func) | |
Constructor. | |
iterator (bgrl_graph *graph) | |
Constructor - for end iterator. | |
virtual | ~iterator () |
Destructor. | |
bgrl_graph * | graph () const |
iterator & | operator++ () |
Pre-Increment. | |
iterator | operator++ (int) |
Post-Increment. | |
bgrl_vertex_sptr | operator-> () const |
Dereference. | |
bgrl_vertex_sptr | operator* () const |
Dereference. | |
bool | operator== (const iterator &rhs) const |
Equality comparison. | |
bool | operator!= (const iterator &rhs) const |
Inequality comparison. | |
Protected Attributes | |
bgrl_graph * | graph_ |
bgrl_search_func_sptr | search_func_ |
bool | use_internal_ |
vertex_iterator | internal_ |
Definition at line 102 of file bgrl_graph.h.
bgrl_graph::iterator::iterator | ( | bgrl_graph * | graph, |
bgrl_search_func_sptr | func | ||
) |
Constructor.
Definition at line 221 of file bgrl_graph.cxx.
bgrl_graph::iterator::iterator | ( | bgrl_graph * | graph | ) |
Constructor - for end iterator.
Definition at line 231 of file bgrl_graph.cxx.
virtual bgrl_graph::iterator::~iterator | ( | ) | [inline, virtual] |
Destructor.
Definition at line 112 of file bgrl_graph.h.
bgrl_graph* bgrl_graph::iterator::graph | ( | ) | const [inline] |
Definition at line 114 of file bgrl_graph.h.
bool bgrl_graph::iterator::operator!= | ( | const iterator & | rhs | ) | const |
Inequality comparison.
Definition at line 291 of file bgrl_graph.cxx.
bgrl_vertex_sptr bgrl_graph::iterator::operator* | ( | ) | const |
Dereference.
Definition at line 270 of file bgrl_graph.cxx.
bgrl_graph::iterator & bgrl_graph::iterator::operator++ | ( | ) |
Pre-Increment.
Definition at line 240 of file bgrl_graph.cxx.
bgrl_graph::iterator bgrl_graph::iterator::operator++ | ( | int | ) |
Post-Increment.
Definition at line 252 of file bgrl_graph.cxx.
bgrl_vertex_sptr bgrl_graph::iterator::operator-> | ( | ) | const |
Dereference.
Definition at line 262 of file bgrl_graph.cxx.
bool bgrl_graph::iterator::operator== | ( | const iterator & | rhs | ) | const |
Equality comparison.
Definition at line 284 of file bgrl_graph.cxx.
bgrl_graph* bgrl_graph::iterator::graph_ [protected] |
Definition at line 133 of file bgrl_graph.h.
vertex_iterator bgrl_graph::iterator::internal_ [protected] |
Definition at line 137 of file bgrl_graph.h.
Definition at line 134 of file bgrl_graph.h.
bool bgrl_graph::iterator::use_internal_ [protected] |
Definition at line 136 of file bgrl_graph.h.