Sparksee 6.1.0
ValueList Class Reference

Value list. More...

#include <Value.h>

Public Member Functions

int32_t Count () const
 Number of elements in the list.
ValueListIteratorIterator ()
 Gets a new ValueListIterator.
 ValueList ()
 Constructor.
 ~ValueList ()
 Destructor.
void Clear ()
 Clears the list.
void Add (Value *value)
 Adds a value to the end of the list.
ValueGet (int32_t index) const
 Returns the Value at the specified position in the list.

Detailed Description

Value list.

It stores a Value list.

Use ValueListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

◆ ValueList()

ValueList::ValueList ( )
inline

Constructor.

This creates an empty list.

Referenced by Get().

Member Function Documentation

◆ Add()

void ValueList::Add ( Value * value)

Adds a value to the end of the list.

Parameters
value[in] The value to add

◆ Count()

int32_t ValueList::Count ( ) const
inline

Number of elements in the list.

Returns
Number of elements in the list.

◆ Get()

Value * ValueList::Get ( int32_t index) const

Returns the Value at the specified position in the list.

Parameters
index[in] Index of the element to return, starting at 0.

References ValueList().

◆ Iterator()

ValueListIterator * ValueList::Iterator ( )

Gets a new ValueListIterator.

Returns
ValueListIterator instance.

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