#include <Iterator.hpp>
Fonctions membres publiques | |
bool | hasNext () |
Y'a-t-il un prochain élément ? | |
Node | next () |
Accède au prochain élément. | |
Types privés | |
typedef vector< Node >::const_iterator | itNode |
Itérateur sur le vecteur de noeuds. | |
Fonctions membres privées | |
Node_Iterator (const Node_Graph *) | |
Constructeur à partir d'un noeud graphe. | |
Node_Iterator (const Node_Leaf *) | |
Constructeur à partir d'un noeud feuille. | |
Attributs privés | |
itNode | current |
itérateur du noeud courant | |
itNode | end |
itérateur de fin |
Les noeuds d'un graphe sont stockés dans une liste. Cette classe permet de parcourir les noeuds d'un graph sans connaissance de cette liste.
Définition à la ligne 14 du fichier Iterator.hpp.
|
Y'a-t-il un prochain élément ?
Définition à la ligne 17 du fichier Iterator.cpp. Référencé par Node_Graph::_size(), DisjointSet_Base::DisjointSet_Base(), Node_Graph::drawNodeEPS(), Node_Graph::drawPNG(), Node_Graph::getLeafSize(), Node_Graph::makeMap(), et Node_Graph::toString(). |
|
Accède au prochain élément.
Définition à la ligne 21 du fichier Iterator.cpp. Références current. Référencé par Node_Graph::_size(), DisjointSet_Base::DisjointSet_Base(), Node_Graph::drawNodeEPS(), Node_Graph::drawPNG(), Node_Graph::getLeafSize(), Node_Graph::makeMap(), et Node_Graph::toString(). |