Class TPhastDataSetStorage

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TPhastDataSetStorage = class(TObject)

Description

TPhastDataSetStorage stores the properties of a TDataArray or TCustomPhastDataSet for use in TUndoChangeDataSets.

Hierarchy

Overview

Fields

Private FDataSet: TDataArray;
Private FName: TComponentName;
Private FFormula: string;
Private FUnits: string;
Private FTwoDInterpolator: TCustom2DInterpolater;
Private FOrientation: TDataSetOrientation;
Private FEvaluatedAt: TEvaluatedAt;
Private FPhastInterpolationValues: TPhastInterpolationValues;
Private FDataType: TRbwDataType;

Methods

Private procedure SetPhastInterpolationValues( const Value: TPhastInterpolationValues);
Private procedure SetTwoDInterpolator(const Value: TCustom2DInterpolater);
Private function DataSetChanged: boolean;
Public procedure Assign(const DataSet: TDataArray);
Public procedure AssignFormulasToDataSet;
Public procedure AssignToDataSet;
Public constructor Create;
Public destructor Destroy; override;

Properties

Protected property Name: TComponentName read FName write FName;
Protected property Orientation: TDataSetOrientation read FOrientation write FOrientation;
Protected property EvaluatedAt: TEvaluatedAt read FEvaluatedAt write FEvaluatedAt;
Protected property DataType: TRbwDataType read FDataType write FDataType;
Protected property Units: string read FUnits write FUnits;
Protected property TwoDInterpolator: TCustom2DInterpolater read FTwoDInterpolator write SetTwoDInterpolator;
Protected property Formula: string read FFormula write FFormula;
Protected property PhastInterpolationValues: TPhastInterpolationValues read FPhastInterpolationValues write SetPhastInterpolationValues;

Description

Fields

Private FDataSet: TDataArray;

FDataSet is the TDataArray whose values are being stored.

Private FName: TComponentName;

See Name.

Private FFormula: string;

See Formula.

Private FUnits: string;

See Units.

Private FTwoDInterpolator: TCustom2DInterpolater;

See TwoDInterpolator.

Private FOrientation: TDataSetOrientation;

See Orientation.

Private FEvaluatedAt: TEvaluatedAt;

See EvaluatedAt.

Private FPhastInterpolationValues: TPhastInterpolationValues;

See PhastInterpolationValues.

Private FDataType: TRbwDataType;

See DataType.

Methods

Private procedure SetPhastInterpolationValues( const Value: TPhastInterpolationValues);

See PhastInterpolationValues.

Private procedure SetTwoDInterpolator(const Value: TCustom2DInterpolater);

See TwoDInterpolator.

Private function DataSetChanged: boolean;

DataSetChanged returns true if FDataSet differs from the data in TPhastDataSetStorage.

Public procedure Assign(const DataSet: TDataArray);

Assign copies the properties of DataSet to TPhastDataSetStorage and stores DataSet in FDataSet;

Public procedure AssignFormulasToDataSet;

AssignFormulasToDataSet copies the Formula and PhastInterpolationValues properties of TPhastDataSetStorage to DataSet.

Public procedure AssignToDataSet;

AssignToDataSet copies the properties of TPhastDataSetStorage (except Formula and PhastInterpolationValues) to DataSet.

Public constructor Create;

Create creates and instance of TPhastDataSetStorage

Public destructor Destroy; override;

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

Properties

Protected property Name: TComponentName read FName write FName;

Name is the name to assign to the TDataArray.

Protected property Orientation: TDataSetOrientation read FOrientation write FOrientation;

Orientation is the Orientation property to assign to the TDataArray.

Protected property EvaluatedAt: TEvaluatedAt read FEvaluatedAt write FEvaluatedAt;

EvaluatedAt is the EvaluatedAt property to assign to the TDataArray.

Protected property DataType: TRbwDataType read FDataType write FDataType;

DataType is the DataType property to assign to the TDataArray.

Protected property Units: string read FUnits write FUnits;

Units is the Units property to assign to the TDataArray.

Protected property TwoDInterpolator: TCustom2DInterpolater read FTwoDInterpolator write SetTwoDInterpolator;

TwoDInterpolator is the TwoDInterpolator property to assign to the TDataArray.

Protected property Formula: string read FFormula write FFormula;

Formula is the Formula property to assign to the TDataArray.

Protected property PhastInterpolationValues: TPhastInterpolationValues read FPhastInterpolationValues write SetPhastInterpolationValues;

PhastInterpolationValues is the PhastInterpolationValues property to assign to the TDataArray.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:34