g of type Graph as follows: int count=0; for(Graph::EdgeIt e(g); e!=INVALID; ++e) ++count;
#include <lemon/concepts/graph.h>

Public Member Functions | |
| EdgeIt () | |
| Default constructor. | |
| EdgeIt (const EdgeIt &e) | |
| EdgeIt (Invalid) | |
| EdgeIt (const Graph &g) | |
| This constructor sets the iterator to the first edge. | |
| EdgeIt (const Graph &, const Edge &) | |
| Edge -> EdgeIt conversion. | |
| EdgeIt & | operator++ () |
| Next edge. | |
| EdgeIt | ( | ) | [inline] |
This constructor sets the iterator to the first edge of g.
| g | the graph |
Sets the iterator to the value of the trivial iterator e. This feature necessitates that each time we iterate the edge-set, the iteration order is the same.
| EdgeIt& operator++ | ( | ) | [inline] |
Assign the iterator to the next edge.
1.5.9