Sparksee 6.1.0
TypeList Class Reference

Sparksee type identifier list. More...

#include <Graph_data.h>

Public Member Functions

int32_t Count () const
 Number of elements in the list.
TypeListIterator * Iterator ()
 Gets a new TypeListIterator.
 TypeList ()
 Constructor.
 TypeList (const std::vector< type_t > &v)
 Constructor.
void Add (type_t type)
 Adds a Sparksee type identifier at the end of the list.
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() [1/2]

TypeList::TypeList ( )

Constructor.

This creates an empty list.

Referenced by ~TypeList().

◆ TypeList() [2/2]

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

Constructor.

Parameters
v[in] Vector.

Member Function Documentation

◆ Add()

void TypeList::Add ( type_t type)
inline

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

Parameters
type[in] Sparksee type identifier.

◆ Count()

int32_t TypeList::Count ( ) const
inline

Number of elements in the list.

Returns
Number of elements in the list.

◆ Iterator()

TypeListIterator * TypeList::Iterator ( )

Gets a new TypeListIterator.

Returns
TypeListIterator instance.

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