|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Common node iterator for graph having its node derived from Dlink class. More...
#include <graph-dry.H>
Public Types | |
| using | Node = typename GT::Node |
| using | Item_Type = Node * |
| The type of item that returns the iterator. | |
| using | Set_Type = GT |
| The type of container on which iterate. | |
Public Member Functions | |
| GTNodeIterator () noexcept | |
| GTNodeIterator (Dlink &head) noexcept | |
| Build a iterator for all the nodes of g. | |
| Node * | get_curr_ne () const noexcept |
| Return the current node without exception. | |
| Node * | get_curr () const |
| Return the current node. | |
| Node * | get_current_node () const |
| Return the current node. | |
| Node * | get_current_node_ne () const |
Common node iterator for graph having its node derived from Dlink class.
This class serves as implementation support for iterador on nodes that are derived for Dlink class. This is currently the case for List_Graph and Array_Graph.
Definition at line 255 of file graph-dry.H.
| using GTNodeIterator< GT >::Item_Type = Node * |
The type of item that returns the iterator.
Definition at line 260 of file graph-dry.H.
| using GTNodeIterator< GT >::Node = typename GT::Node |
Definition at line 257 of file graph-dry.H.
| using GTNodeIterator< GT >::Set_Type = GT |
The type of container on which iterate.
Definition at line 263 of file graph-dry.H.
|
inlinenoexcept |
Definition at line 265 of file graph-dry.H.
|
inlinenoexcept |
Build a iterator for all the nodes of g.
Definition at line 270 of file graph-dry.H.
|
inline |
Return the current node.
Definition at line 281 of file graph-dry.H.
Referenced by GTNodeIterator< GT >::get_current_node().
|
inlinenoexcept |
Return the current node without exception.
Definition at line 275 of file graph-dry.H.
Referenced by GTNodeIterator< GT >::get_current_node_ne().
|
inline |
Return the current node.
Definition at line 284 of file graph-dry.H.
References GTNodeIterator< GT >::get_curr().
|
inline |
Definition at line 286 of file graph-dry.H.
References GTNodeIterator< GT >::get_curr_ne().