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