Class TIntegerPhastDataSet

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TIntegerPhastDataSet = class(TArrayPhastDataSet)

Description

TIntegerPhastDataSet is a TArrayPhastDataSet that stores integers.

Hierarchy

Overview

Fields

Private FCellValue1: array of array of array of integer;
Private FCellValue2: array of array of array of integer;
Private FFraction: array of array of array of double;
Private FValue1: integer;
Private FValue2: integer;

Methods

Private function GetCellValue1(const ALay, ARow, ACol: integer): integer;
Private function GetCellValue2(const ALay, ARow, ACol: integer): integer;
Private function GetFraction(const ALay, ARow, ACol: integer): double;
Private function GetRealValue(const ALay, ARow, ACol: integer): double;
Private procedure SetCellValue1(const ALay, ARow, ACol, Value: integer);
Private procedure SetCellValue2(const ALay, ARow, ACol, Value: integer);
Private procedure SetFraction(const ALay, ARow, ACol: integer; const Value: double);
Private procedure SetValue1(const Value: integer);
Private procedure SetValue2(const Value: integer);
Protected procedure ReadData(DecompressionStream: TDecompressionStream); override;
Protected procedure StoreData(Stream: TStream); override;
Protected function GetRealData(const Layer, Row, Col: integer): double; override;
Protected procedure InitializePhastArrays; override;
Protected procedure SetDataType(const Value: TRbwDataType); override;
Protected procedure SetDimensions(const SetToZero: boolean); override;
Public procedure Assign(Source: TPersistent); override;
Public constructor Create(AnOwner: TComponent); override;
Public function DisplayRealValue: boolean; override;

Properties

Public property CellValue1[constALay,ARow,ACol:integer]: integer read GetCellValue1 write SetCellValue1;
Public property CellValue2[constALay,ARow,ACol:integer]: integer read GetCellValue2 write SetCellValue2;
Public property Fraction[constALay,ARow,ACol:integer]: double read GetFraction write SetFraction;
Public property RealValue[constALay,ARow,ACol:integer]: double read GetRealValue;
Published property Value1: integer read FValue1 write SetValue1;
Published property Value2: integer read FValue2 write SetValue2;

Description

Fields

Private FCellValue1: array of array of array of integer;

FCellValue1: array of array of array of integer; See CellValue1.

Private FCellValue2: array of array of array of integer;

FCellValue2: array of array of array of integer; See CellValue2.

Private FFraction: array of array of array of double;

FFraction: array of array of array of double; See Fraction.

Private FValue1: integer;

FValue1: integer; See Value1.

Private FValue2: integer;

FValue2: integer; See Value2.

Methods

Private function GetCellValue1(const ALay, ARow, ACol: integer): integer;

See CellValue1.

Private function GetCellValue2(const ALay, ARow, ACol: integer): integer;

See CellValue2.

Private function GetFraction(const ALay, ARow, ACol: integer): double;

See Fraction.

Private function GetRealValue(const ALay, ARow, ACol: integer): double;

See RealValue.

Private procedure SetCellValue1(const ALay, ARow, ACol, Value: integer);

See CellValue1.

Private procedure SetCellValue2(const ALay, ARow, ACol, Value: integer);

See CellValue2.

Private procedure SetFraction(const ALay, ARow, ACol: integer; const Value: double);

See Fraction.

Private procedure SetValue1(const Value: integer);

See Value1.

Private procedure SetValue2(const Value: integer);

See Value2.

Protected procedure ReadData(DecompressionStream: TDecompressionStream); override;
 
Protected procedure StoreData(Stream: TStream); override;
 
Protected function GetRealData(const Layer, Row, Col: integer): double; override;

GetRealData returns RealValue.

Protected procedure InitializePhastArrays; override;

InitializePhastArrays sets IntegerData, and Fraction, for every cell.

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

SetDataType checks that the TRbwDataType represents an integer.

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

SetDimensions sets the dimensions of the arrays.

Public procedure Assign(Source: TPersistent); override;

Assign copies Source to the TIntegerPhastDataSet. If Source is a TIntegerPhastDataSet or a TPhastInterpolationValues, PHAST-style interpolation data are copied.

Public constructor Create(AnOwner: TComponent); override;

Create creates an instance of TIntegerPhastDataSet.

Public function DisplayRealValue: boolean; override;

DisplayRealValue returns true.

Properties

Public property CellValue1[constALay,ARow,ACol:integer]: integer read GetCellValue1 write SetCellValue1;

CellValue1 represents the first value used for PHAST-style interpolation at each location in the data set.

Public property CellValue2[constALay,ARow,ACol:integer]: integer read GetCellValue2 write SetCellValue2;

CellValue2 represents the second value used for PHAST-style interpolation at each location in the data set.

Public property Fraction[constALay,ARow,ACol:integer]: double read GetFraction write SetFraction;

Fraction represents the fraction of the first value at each location in the data set.

Public property RealValue[constALay,ARow,ACol:integer]: double read GetRealValue;

RealValue is a representation of the data as a real number.

Published property Value1: integer read FValue1 write SetValue1;

Value1 is the first value used for PHAST-style interpolation when PHAST-style interpolation is applied to the entire data set.

Published property Value2: integer read FValue2 write SetValue2;

Value2 is the second value used for PHAST-style interpolation when PHAST-style interpolation is applied to the entire data set.


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