Description | Hierarchy | Fields | Methods | Properties |
type T3DSparseIntegerArray = class(T3DSparsePointerArray)
T3DSparseIntegerArray
acts like a 3D array of integers. It provides constant time access to its elements through the its Items property. However, when many of the elements are unassigned, it can use much less memory than an array.
![]() |
FCount: NativeInt; |
![]() |
FValues: array of NativeInt; |
![]() |
function GetItems(const Layer, Row, Col: NativeInt): NativeInt; |
![]() |
procedure SetItems(const Layer, Row, Col: NativeInt; const Value: NativeInt); |
![]() |
procedure Clear; override; |
![]() |
constructor Create(Quantum: TSPAQuantum); |
![]() |
property Items[constLayer,Row,Col:NativeInt]: NativeInt read GetItems
write SetItems; |
![]() |
FCount: NativeInt; |
|
![]() |
FValues: array of NativeInt; |
|
![]() |
function GetItems(const Layer, Row, Col: NativeInt): NativeInt; |
See Items. |
![]() |
procedure SetItems(const Layer, Row, Col: NativeInt; const Value: NativeInt); |
See Items. |
![]() |
procedure Clear; override; |
|
![]() |
constructor Create(Quantum: TSPAQuantum); |
|
![]() |
property Items[constLayer,Row,Col:NativeInt]: NativeInt read GetItems
write SetItems; |
|