Sparksee 6.1.0
Int32List Class Reference

Sparksee 32-bit signed integer list. More...

#include <Graph_data.h>

Public Member Functions

int32_t Count () const
 Number of elements in the list.
Int32ListIterator * Iterator ()
 Gets a new Int32ListIterator.
 Int32List ()
 Constructor.
 Int32List (const std::vector< int32_t > &v)
 Constructor.
 ~Int32List ()
 Destructor.
void Add (int32_t value)
 Adds an 32-bit signed integer at the end of the list.
void Clear ()
 Clears the list.

Detailed Description

Sparksee 32-bit signed integer list.

It stores a 32-bit signed integer list.

Use Int32ListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

◆ Int32List() [1/2]

Int32List::Int32List ( )

Constructor.

This creates an empty list.

Referenced by Clear().

◆ Int32List() [2/2]

Int32List::Int32List ( const std::vector< int32_t > & v)

Constructor.

Parameters
v[in] Vector.

Member Function Documentation

◆ Add()

void Int32List::Add ( int32_t value)
inline

Adds an 32-bit signed integer at the end of the list.

Parameters
value[in] The integer.

◆ Count()

int32_t Int32List::Count ( ) const
inline

Number of elements in the list.

Returns
Number of elements in the list.

◆ Iterator()

Int32ListIterator * Int32List::Iterator ( )

Gets a new Int32ListIterator.

Returns
Int32ListIterator instance.

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