Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::List_Graph< _Graph_Node, _Graph_Arc >::Node_Iterator Struct Reference

Node iterator. More...

#include <tpl_graph.H>

Inheritance diagram for Aleph::List_Graph< _Graph_Node, _Graph_Arc >::Node_Iterator:
[legend]
Collaboration diagram for Aleph::List_Graph< _Graph_Node, _Graph_Arc >::Node_Iterator:
[legend]

Public Types

using Base = GTNodeIterator< List_Graph >
 
- Public Types inherited from GTNodeIterator< List_Graph >
using Node = typename GT::Node
 
using Item_Type = Node *
 The type of item that returns the iterator.
 
using Set_Type = List_Graph
 The type of container on which iterate.
 

Public Member Functions

 Node_Iterator (const List_Graph &g)
 Construct an iterator on the nodes of g
 
- Public Member Functions inherited from GTNodeIterator< List_Graph >
 GTNodeIterator () noexcept
 
 GTNodeIterator (Dlink &head) noexcept
 Build a iterator for all the nodes of g.
 
Nodeget_curr_ne () const noexcept
 Return the current node without exception.
 
Nodeget_curr () const
 Return the current node.
 
Nodeget_current_node () const
 Return the current node.
 
Nodeget_current_node_ne () const
 

Detailed Description

template<typename _Graph_Node = Graph_Node<unsigned long>, typename _Graph_Arc = Graph_Arc<unsigned long>>
struct Aleph::List_Graph< _Graph_Node, _Graph_Arc >::Node_Iterator

Node iterator.

This is an iterator on all the nodes of graph.

Definition at line 794 of file tpl_graph.H.

Member Typedef Documentation

◆ Base

template<typename _Graph_Node = Graph_Node<unsigned long>, typename _Graph_Arc = Graph_Arc<unsigned long>>
using Aleph::List_Graph< _Graph_Node, _Graph_Arc >::Node_Iterator::Base = GTNodeIterator<List_Graph>

Definition at line 796 of file tpl_graph.H.

Constructor & Destructor Documentation

◆ Node_Iterator()

template<typename _Graph_Node = Graph_Node<unsigned long>, typename _Graph_Arc = Graph_Arc<unsigned long>>
Aleph::List_Graph< _Graph_Node, _Graph_Arc >::Node_Iterator::Node_Iterator ( const List_Graph g)
inline

Construct an iterator on the nodes of g

Definition at line 799 of file tpl_graph.H.


The documentation for this struct was generated from the following file: