SparkseeNet 6.1.0
com.sparsity.sparksee.gdb.AttributeList Class Reference

Sparksee attribute identifier list. More...

Public Member Functions

void Add (int attr)
 Adds a Sparksee attribute identifier at the end of the list.
 
void Clear ()
 Clears the list.
 
 AttributeList (System.Collections.Generic.ICollection< int > col)
 Creates a new instance from an integer collection.
 
com.sparsity.sparksee.gdb.AttributeListIterator Iterator ()
 Gets a new AttributeListIterator.
 
 AttributeList ()
 Constructor.
 
 AttributeList (int[] list)
 Creates a new instance from an integer array.
 
int Count ()
 Number of elements in the list.
 

Detailed Description

Sparksee attribute identifier list.

It stores a Sparksee attribute identifier list. Optionally it may also store tha corresponding attribute names. It can also optionally store a single set of values for each attribute.

Use AttributeListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

◆ AttributeList() [1/3]

com.sparsity.sparksee.gdb.AttributeList.AttributeList ( System.Collections.Generic.ICollection< int > col)

Creates a new instance from an integer collection.

Parameters
colCollection to initialize the instance.

◆ AttributeList() [2/3]

com.sparsity.sparksee.gdb.AttributeList.AttributeList ( )

Constructor.

This creates an empty list.

◆ AttributeList() [3/3]

com.sparsity.sparksee.gdb.AttributeList.AttributeList ( int[] list)

Creates a new instance from an integer array.

Parameters
listInteger array to initialize the instance.

Member Function Documentation

◆ Add()

void com.sparsity.sparksee.gdb.AttributeList.Add ( int attr)

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

Parameters
attr[in] Sparksee attribute identifier.

◆ Count()

int com.sparsity.sparksee.gdb.AttributeList.Count ( )

Number of elements in the list.

Returns
Number of elements in the list.

◆ Iterator()

com.sparsity.sparksee.gdb.AttributeListIterator com.sparsity.sparksee.gdb.AttributeList.Iterator ( )

Gets a new AttributeListIterator.

Returns
AttributeListIterator instance.