DexNet 4.7.0
Public Member Functions
com::sparsity::dex::gdb::BooleanList Class Reference

Boolean list. More...

List of all members.

Public Member Functions

void Add (bool b)
 Adds a Boolean at the end of the list.
 BooleanList (System.Collections.Generic.ICollection< bool > col)
 Creates a new instance from a boolean collection.
void Clear ()
 Clears the list.
com.sparsity.dex.gdb.BooleanListIterator Iterator ()
 Gets a new BooleanListIterator.
int Count ()
 Number of elements in the list.
 BooleanList (bool[] list)
 Creates a new instance from a boolean array.
 BooleanList ()
 Constructor.

Detailed Description

Boolean list.

It stores a Boolean list.

Use BooleanListIterator to access all elements into this collection.

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

Constructor & Destructor Documentation

com::sparsity::dex::gdb::BooleanList::BooleanList ( System.Collections.Generic.ICollection< bool >  col)

Creates a new instance from a boolean collection.

Parameters:
colCollection to initialize the instance.
com::sparsity::dex::gdb::BooleanList::BooleanList ( bool[]  list)

Creates a new instance from a boolean array.

Parameters:
listBoolean array to initialize the instance.
com::sparsity::dex::gdb::BooleanList::BooleanList ( )

Constructor.

This creates an empty list.


Member Function Documentation

void com::sparsity::dex::gdb::BooleanList::Add ( bool  b)

Adds a Boolean at the end of the list.

Parameters:
b[in] Boolean.
int com::sparsity::dex::gdb::BooleanList::Count ( )

Number of elements in the list.

Returns:
Number of elements in the list.
com.sparsity.dex.gdb.BooleanListIterator com::sparsity::dex::gdb::BooleanList::Iterator ( )

Gets a new BooleanListIterator.

Returns:
BooleanListIterator instance.