|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
#include <graph-dry.H>
Additional Inherited Members | |
Public Types inherited from GraphCommon< GT, Node, Arc >::Digraph_Iterator< Out_Filt > | |
| using | Item_Type = typename Itor::Item_Type |
| using | Iterator_Type = Itor |
| the type of items (Arc*) | |
Public Member Functions inherited from GraphCommon< GT, Node, Arc >::Digraph_Iterator< Out_Filt > | |
| Digraph_Iterator (Node *p) | |
Instantiate an filtered iterator for arcs on the node p | |
| void | next_ne () noexcept(shows_ne) |
| next() without its check: the current arc must exist. | |
| void | next () |
| Advance to next arc. | |
| void | prev () |
| back to previous item. | |
| void | prev_ne () |
| prev() without exceptions. Only where the iterator moves back | |
| bool | has_curr () const noexcept |
| Return true is the iterator has a current arc. | |
| GT::Arc * | get_curr () const |
| Return the current arc. | |
| GT::Arc * | get_curr_ne () const noexcept |
| auto | get_current_arc () const |
See get_curr(). | |
| auto | get_current_arc_ne () const noexcept |
| GT::Node * | get_node (typename GT::Arc *a) const noexcept |
Return the node connected to p (passed during construction) and linked through a | |
| GT::Node * | get_node () const |
| GT::Node * | get_node_ne () const noexcept |
Return the node connected to p (passed during construction) and linked through the current arc. | |
| auto | get_tgt_node_ne () const noexcept |
Backward-compatible alias: return target node (same as get_node_ne()). | |
| auto | get_tgt_node () const |
Backward-compatible alias: return target node (same as get_node()). | |
| void | reset_first () noexcept(shows_ne) |
| Reset the iterator to first arc. | |
| void | reset_last () noexcept(shows_ne) |
| Reset the iterator to last arc. | |
Static Public Attributes inherited from GraphCommon< GT, Node, Arc >::Digraph_Iterator< Out_Filt > | |
| static constexpr bool | shows_ne |
| Whether what the filter says of an arc cannot throw, nor its conversion to bool: the moves without checks and the resets are noexcept then. | |
| static constexpr bool | goes_back |
Whether the iterator moves back: the iterators of the lists of List_SGraph go only forward, and have no prev() | |
| static constexpr bool | goes_to_last |
| Whether the iterator goes to its last arc, which reset_last() needs. | |
Definition at line 3478 of file graph-dry.H.