Sparksee 6.1.0
STSOidList Class Reference

Sparksee object identifier list. More...

#include <Sparksee.h>

Inheritance diagram for STSOidList:
Inheritance graph
Collaboration diagram for STSOidList:
Collaboration graph

Instance Methods

(int) - count
 Number of elements in the list.
(id) - init
 Constructor.
(id) - initWithNumInvalidOIDs:
 Constructor.
(void) - add:
 Adds a Sparksee object identifier at the end of the list.
(void) - set:oid:
 Sets a Sparksee object identifier at the specified position of the list.
(void) - clear
 Clears the list.
(id) - initWithArray:
 Creates a new OIDList instance from the given array.
(id) - initWithNSEnumerator:
 Creates a new OIDList instance from the given NSEnumerator.
(STSOidListIterator *) - iterator
 Gets a new OIDListIterator.

Detailed Description

Sparksee object identifier list.

It stores a Sparksee object identifier list.

Use OIDListIterator to access all elements into this collection.

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

Method Documentation

◆ add:

- (void) add: (long long) attr

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

Parameters
attr[in] Sparksee object identifier.

◆ count

- (int) count

Number of elements in the list.

Returns
Number of elements in the list.

References count.

Referenced by count.

◆ init

- (id) init

Constructor.

This creates an empty list.

References init.

Referenced by init.

◆ initWithNumInvalidOIDs:

- (id) initWithNumInvalidOIDs: (int) numInvalidOIDs

Constructor.

This creates a list with N invalid oids.

Parameters
numInvalidOIDs[in] The number of invalid oids added to the list.

◆ set:oid:

- (void) set: (int) pos
oid: (long long) oid 

Sets a Sparksee object identifier at the specified position of the list.

Parameters
pos[in] List position [0..Count()-1].
oid[in] Sparksee object identifier.

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