#include <edgeiter.h>
Public Member Functions | |
EdgeIter (const libgexf::Graph *g) | |
Constructor. | |
EdgeIter * | begin () |
Init. | |
bool | hasNext () const |
Test next element in collection. | |
libgexf::t_id | next () |
Iterate. | |
libgexf::t_id | currentSource () const |
Get source node. | |
libgexf::t_id | currentTarget () const |
Get target node. | |
float | currentProperty (libgexf::t_edge_property prop) const |
Get topological property value. |
libgexf::EdgeIter::EdgeIter | ( | const libgexf::Graph * | g | ) | [explicit] |
EdgeIter * libgexf::EdgeIter::begin | ( | ) | [virtual] |
Init.
Initialize (or re-initialize) the iterator.
Implements libgexf::AbstractIter.
bool libgexf::EdgeIter::hasNext | ( | ) | const [virtual] |
Test next element in collection.
Verify if another element exists.
Implements libgexf::AbstractIter.
t_id libgexf::EdgeIter::next | ( | ) | [virtual] |
t_id libgexf::EdgeIter::currentSource | ( | ) | const |
Get source node.
t_id libgexf::EdgeIter::currentTarget | ( | ) | const |
Get target node.
float libgexf::EdgeIter::currentProperty | ( | libgexf::t_edge_property | prop | ) | const |
Get topological property value.
prop | : Topological edge property name |