Sparksee  6.0.2
AttributeList Class Reference

Sparksee attribute identifier list. More...

Public Member Functions

int32_t Count () const
 Number of elements in the list. More...
 
AttributeListIteratorIterator ()
 Gets a new AttributeListIterator. More...
 
 AttributeList ()
 Constructor. More...
 
 AttributeList (const std::vector< attr_t > &v)
 Constructor. More...
 
void Add (attr_t attr)
 Adds a Sparksee attribute identifier at the end of the list. More...
 
void Clear ()
 Clears the list.
 
 ~AttributeList ()
 Destructor.
 

Detailed Description

Sparksee attribute identifier list.

It stores a Sparksee attribute identifier list.

Use AttributeListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

AttributeList::AttributeList ( )

Constructor.

This creates an empty list.

AttributeList::AttributeList ( const std::vector< attr_t > &  v)

Constructor.

Parameters
v[in] Vector.

Member Function Documentation

void AttributeList::Add ( attr_t  attr)
inline

Adds a Sparksee attribute identifier at the end of the list.

Parameters
attr[in] Sparksee attribute identifier.
int32_t AttributeList::Count ( ) const
inline

Number of elements in the list.

Returns
Number of elements in the list.
AttributeListIterator* AttributeList::Iterator ( )

Gets a new AttributeListIterator.

Returns
AttributeListIterator instance.

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