Class T2DSparseBooleanArray

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type T2DSparseBooleanArray = class(T2DSparsePointerArray)

Description

no description available, T2DSparsePointerArray description follows

T2DSparsePointerArray acts like a 2D array of pointers. It provides constant time access to its elements through the its Items property. However, when many of the elements are nil, it can use much less memory than an array.

Hierarchy

Overview

Fields

Implicit FFalse: boolean;
Implicit FTrue: boolean;

Methods

Implicit function GetItems(const Row, Col: NativeInt): boolean;
Implicit procedure SetItems(const Row, Col: NativeInt; const Value: boolean);
Public constructor Create(Quantum: TSPAQuantum);

Properties

Public property Items[constRow,Col:NativeInt]: boolean read GetItems write SetItems;

Description

Fields

Implicit FFalse: boolean;

The address of FFalse is stored to indicate a value that is False.

Implicit FTrue: boolean;

The address of FTrue is stored to indicate a value that is True.

Methods

Implicit function GetItems(const Row, Col: NativeInt): boolean;

See Items.

Implicit procedure SetItems(const Row, Col: NativeInt; const Value: boolean);

See Items.

Public constructor Create(Quantum: TSPAQuantum);

Create creates an instance of T2DSparseBooleanArray.

Properties

Public property Items[constRow,Col:NativeInt]: boolean read GetItems write SetItems;

Items provides access to the boolean stored at location Layer, Row, Col. Before reading Items, read IsValue to be sure that a boolean is stored at Layer, Row, Col.


Generated by PasDoc 0.12.1 on 2013-05-13 15:42:04