Description | Hierarchy | Fields | Methods | Properties |
type T3DSparsePointerArray = class(TObject)
T3DSparsePointerArray
acts like a 3D 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.
![]() |
FData: TSparsePointerArray; |
![]() |
FQuantum: TSPAQuantum; |
![]() |
FMinRow: NativeInt; |
![]() |
FMaxLayer: NativeInt; |
![]() |
FMinLayer: NativeInt; |
![]() |
FMaxCol: NativeInt; |
![]() |
FMaxRow: NativeInt; |
![]() |
FMinCol: NativeInt; |
![]() |
function GetIsValue(const Layer, Row, Col: NativeInt): boolean; |
![]() |
function GetItems(const Layer, Row, Col: NativeInt): Pointer; |
![]() |
procedure SetIsValue(const Layer, Row, Col: NativeInt; const Value: boolean); |
![]() |
procedure SetItems(const Layer, Row, Col: NativeInt; const Value: Pointer); |
![]() |
procedure UpdateMinMaxPositions(const Col, Row, Layer: NativeInt); |
![]() |
procedure Clear; virtual; |
![]() |
constructor Create(Quantum: TSPAQuantum); |
![]() |
destructor Destroy; override; |
![]() |
property IsValue[constLayer,Row,Col:NativeInt]: boolean
read GetIsValue write SetIsValue; |
![]() |
property Items[constLayer,Row,Col:NativeInt]: Pointer read GetItems
write SetItems; |
![]() |
property MinLayer: NativeInt read FMinLayer; |
![]() |
property MaxLayer: NativeInt read FMaxLayer; |
![]() |
property MinRow: NativeInt read FMinRow; |
![]() |
property MaxRow: NativeInt read FMaxRow; |
![]() |
property MinCol: NativeInt read FMinCol; |
![]() |
property MaxCol: NativeInt read FMaxCol; |
![]() |
FData: TSparsePointerArray; |
|
![]() |
FQuantum: TSPAQuantum; |
|
![]() |
FMinRow: NativeInt; |
![]() |
FMaxLayer: NativeInt; |
![]() |
FMinLayer: NativeInt; |
![]() |
FMaxCol: NativeInt; |
![]() |
FMaxRow: NativeInt; |
![]() |
FMinCol: NativeInt; |
![]() |
function GetIsValue(const Layer, Row, Col: NativeInt): boolean; |
See IsValue. |
![]() |
function GetItems(const Layer, Row, Col: NativeInt): Pointer; |
See Items. |
![]() |
procedure SetIsValue(const Layer, Row, Col: NativeInt; const Value: boolean); |
See IsValue. |
![]() |
procedure SetItems(const Layer, Row, Col: NativeInt; const Value: Pointer); |
See Items. |
![]() |
procedure UpdateMinMaxPositions(const Col, Row, Layer: NativeInt); |
![]() |
procedure Clear; virtual; |
|
![]() |
constructor Create(Quantum: TSPAQuantum); |
|
![]() |
destructor Destroy; override; |
|
![]() |
property IsValue[constLayer,Row,Col:NativeInt]: boolean
read GetIsValue write SetIsValue; |
|
![]() |
property Items[constLayer,Row,Col:NativeInt]: Pointer read GetItems
write SetItems; |
|
![]() |
property MinLayer: NativeInt read FMinLayer; |
![]() |
property MaxLayer: NativeInt read FMaxLayer; |
![]() |
property MinRow: NativeInt read FMinRow; |
![]() |
property MaxRow: NativeInt read FMaxRow; |
![]() |
property MinCol: NativeInt read FMinCol; |
![]() |
property MaxCol: NativeInt read FMaxCol; |