Sparksee  6.0.2
ValueList Class Reference

Value list. More...

Public Member Functions

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

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 ( )
inline

Constructor.

This creates an empty list.

Member Function Documentation

void ValueList::Add ( Value value)

Adds a value to the end of the list.

Parameters
value[in] The value to add
int32_t ValueList::Count ( ) const
inline

Number of elements in the list.

Returns
Number of elements in the list.
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.
ValueListIterator* ValueList::Iterator ( )

Gets a new ValueListIterator.

Returns
ValueListIterator instance.

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