|
Sparksee 6.1.0
|
Sparksee attribute identifier list. More...
#include <Graph_data.h>
Public Member Functions | |
| int32_t | Count () const |
| Number of elements in the list. | |
| AttributeListIterator * | Iterator () |
| Gets a new AttributeListIterator. | |
| AttributeList () | |
| Constructor. | |
| AttributeList (const std::vector< attr_t > &v) | |
| Constructor. | |
| void | Add (attr_t attr) |
| Adds a Sparksee attribute identifier at the end of the list. | |
| void | Clear () |
| Clears the list. | |
| ~AttributeList () | |
| Destructor. | |
Friends | |
| class | Graph |
Sparksee attribute identifier list.
It stores a Sparksee attribute identifier list. Optionally it may also store tha corresponding attribute names. It can also optionally store a single set of values for each attribute.
Use AttributeListIterator to access all elements into this collection.
| AttributeList::AttributeList | ( | ) |
| AttributeList::AttributeList | ( | const std::vector< attr_t > & | v | ) |
Constructor.
| v | [in] Vector. |
| void AttributeList::Add | ( | attr_t | attr | ) |
Adds a Sparksee attribute identifier at the end of the list.
| attr | [in] Sparksee attribute identifier. |
Referenced by ~AttributeList().
|
inline |
Number of elements in the list.
| AttributeListIterator * AttributeList::Iterator | ( | ) |
Gets a new AttributeListIterator.