#include <attvalueiter.h>
Public Types | |
enum | Type { NODE, EDGE } |
Possible type of element. | |
Public Member Functions | |
AttValueIter (const Data *d, const libgexf::t_id id, const AttValueIter::Type t) | |
Constructor. | |
AttValueIter * | begin () |
Init. | |
bool | hasNext () const |
Test next element in collection. | |
libgexf::t_id | next () |
Iterate. | |
std::string | currentValue () const |
Get value. | |
std::string | currentName () const |
Get attribute name. |
libgexf::AttValueIter::AttValueIter | ( | const Data * | d, | |
const libgexf::t_id | id, | |||
const AttValueIter::Type | t | |||
) |
AttValueIter * libgexf::AttValueIter::begin | ( | ) | [virtual] |
Init.
Initialize (or re-initialize) the iterator.
Implements libgexf::AbstractIter.
bool libgexf::AttValueIter::hasNext | ( | ) | const [virtual] |
Test next element in collection.
Verify if another element exists.
Implements libgexf::AbstractIter.
t_id libgexf::AttValueIter::next | ( | ) | [virtual] |
Iterate.
Get next element in collection.
Implements libgexf::AbstractIter.
string libgexf::AttValueIter::currentValue | ( | ) | const |
Get value.
string libgexf::AttValueIter::currentName | ( | ) | const |
Get attribute name.