Class TRealSparseDataSet

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TRealSparseDataSet = class(TCustomSparseDataSet)

Description

TRealSparseDataSet is used to store real numbers in a sparse array.

Hierarchy

Overview

Fields

Private FRealValues: T3DSparseRealArray;

Methods

Private function GetMaxColumn: Integer;
Private function GetMaxLayer: Integer;
Private function GetMaxRow: Integer;
Private function GetMinColumn: Integer;
Private function GetMinLayer: Integer;
Private function GetMinRow: Integer;
Protected procedure Clear; override;
Protected function GetIsValue(const Layer, Row, Col: Integer): boolean; override;
Protected function GetRealData(const Layer, Row, Col: integer): double; override;
Protected procedure SetDataType(const Value: TRbwDataType); override;
Protected procedure SetDimensions(const SetToZero: boolean); override;
Protected procedure SetRealData(const Layer, Row, Col: integer; const Value: double); override;
Public procedure RemoveValue(const Layer, Row, Col: Integer);
Public procedure GetMinMaxStoredLimits(out LayerMin, RowMin, ColMin, LayerMax, RowMax, ColMax: integer); override;
Public constructor Create(AnOwner: TComponent); override;
Public destructor Destroy; override;

Properties

Public property MinLayer: Integer read GetMinLayer;
Public property MaxLayer: Integer read GetMaxLayer;
Public property MinRow: Integer read GetMinRow;
Public property MaxRow: Integer read GetMaxRow;
Public property MinColumn: Integer read GetMinColumn;
Public property MaxColumn: Integer read GetMaxColumn;

Description

Fields

Private FRealValues: T3DSparseRealArray;

FRealValues is used to store the real numbers in TRealSparseDataSet.

Methods

Private function GetMaxColumn: Integer;
 
Private function GetMaxLayer: Integer;
 
Private function GetMaxRow: Integer;
 
Private function GetMinColumn: Integer;
 
Private function GetMinLayer: Integer;
 
Private function GetMinRow: Integer;
 
Protected procedure Clear; override;
 
Protected function GetIsValue(const Layer, Row, Col: Integer): boolean; override;

GetIsValue checks whether FRealValues has been assigned at Layer, Row, Col as well as inherited GetIsValue.

Protected function GetRealData(const Layer, Row, Col: integer): double; override;

GetRealData retrieves the real number at Layer, Row, Col.

Protected procedure SetDataType(const Value: TRbwDataType); override;

SetDataType checks that Value is rdtDouble.

Protected procedure SetDimensions(const SetToZero: boolean); override;

SetDimensions clears FRealValues and calls inherited SetDimensions.

Protected procedure SetRealData(const Layer, Row, Col: integer; const Value: double); override;

SetRealData stores a real number at Layer, Row, Col.

Public procedure RemoveValue(const Layer, Row, Col: Integer);
 
Public procedure GetMinMaxStoredLimits(out LayerMin, RowMin, ColMin, LayerMax, RowMax, ColMax: integer); override;
 
Public constructor Create(AnOwner: TComponent); override;

Create creates an instance of TRealSparseDataSet and sets DataType to rdtDouble.

Public destructor Destroy; override;

Destroy destroys the the current instance of TRealSparseDataSet. Do not call Destroy directly. Call Free instead.

Properties

Public property MinLayer: Integer read GetMinLayer;
 
Public property MaxLayer: Integer read GetMaxLayer;
 
Public property MinRow: Integer read GetMinRow;
 
Public property MaxRow: Integer read GetMaxRow;
 
Public property MinColumn: Integer read GetMinColumn;
 
Public property MaxColumn: Integer read GetMaxColumn;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:41:30