Sparksee  6.0.2
TypeList Class Reference

Sparksee type identifier list. More...

Public Member Functions

int32_t Count () const
 Number of elements in the list. More...
 
TypeListIteratorIterator ()
 Gets a new TypeListIterator. More...
 
 TypeList ()
 Constructor. More...
 
 TypeList (const std::vector< type_t > &v)
 Constructor. More...
 
void Add (type_t type)
 Adds a Sparksee type identifier at the end of the list. More...
 
void Clear ()
 Clears the list.
 
 ~TypeList ()
 Destructor.
 

Detailed Description

Sparksee type identifier list.

It stores a Sparksee node or edge type identifier list.

Use TypeListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

TypeList::TypeList ( )

Constructor.

This creates an empty list.

TypeList::TypeList ( const std::vector< type_t > &  v)

Constructor.

Parameters
v[in] Vector.

Member Function Documentation

void TypeList::Add ( type_t  type)
inline

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

Parameters
type[in] Sparksee type identifier.
int32_t TypeList::Count ( ) const
inline

Number of elements in the list.

Returns
Number of elements in the list.
TypeListIterator* TypeList::Iterator ( )

Gets a new TypeListIterator.

Returns
TypeListIterator instance.

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