Sparksee 6.1.0
STSValueList Class Reference

Value list. More...

#include <Sparksee.h>

Inheritance diagram for STSValueList:
Inheritance graph
Collaboration diagram for STSValueList:
Collaboration graph

Instance Methods

(int) - count
 Number of elements in the list.
(id) - init
 Constructor.
(void) - clear
 Clears the list.
(void) - add:
 Adds a value to the end of the list.
(STSValue *) - get:
 Returns the Value at the specified position in the list.
(id) - initWithArray:
 Creates a new ValueList instance from the given array.
(id) - initWithNSEnumerator:
 Creates a new ValueList instance from the given NSEnumerator.
(STSValueListIterator *) - iterator
 Gets a new ValueListIterator.

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

Method Documentation

◆ add:

- (void) add: (STSValue *) value

Adds a value to the end of the list.

Parameters
value[in] The value to add

◆ count

- (int) count

Number of elements in the list.

Returns
Number of elements in the list.

References count.

Referenced by count.

◆ get:

- (STSValue *) get: (int) index

Returns the Value at the specified position in the list.

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

◆ init

- (id) init

Constructor.

This creates an empty list.

References init.

Referenced by init.


The documentation for this class was generated from the following file:
  • Sparksee.h