Sparksee 6.1.0
AttributeListIterator Class Reference

AttributeList iterator class. More...

#include <Graph_data.h>

Public Member Functions

 ~AttributeListIterator ()
 Destructor.
attr_t Next ()
 Moves to the next element.
bool_t HasNext ()
 Gets if there are more elements.
void GetCurrentValue (sparksee::gdb::Value &value)
 Get the value for the current attribute if it's available or set it Null otherwise.
std::wstring GetCurrentName ()
 Get the current attribute Name if it's available or an empty string otherwise.

Friends

class AttributeList

Detailed Description

AttributeList iterator class.

Iterator to traverse all the Sparksee attribute identifier into a AttributeList instance.

Author
Sparsity Technologies http://www.sparsity-technologies.com

Member Function Documentation

◆ GetCurrentValue()

void AttributeListIterator::GetCurrentValue ( sparksee::gdb::Value & value)
inline

Get the value for the current attribute if it's available or set it Null otherwise.

Parameters
value[in|out] The Value will be set to the current attribute value or as a Null Value.

◆ HasNext()

bool_t AttributeListIterator::HasNext ( )
inline

Gets if there are more elements.

Returns
TRUE if there are more elements, FALSE otherwise.

◆ Next()

attr_t AttributeListIterator::Next ( )
inline

Moves to the next element.

Returns
The next element.

The documentation for this class was generated from the following file: