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 FNeedToInvalidate: boolean;
Private FDataSet: TDataArray;
Private FName: TComponentName;
Private FFormula: TFormulaObject;
Private FUnits: string;
Private FTwoDInterpolator: TCustom2DInterpolater;
Private FOrientation: TDataSetOrientation;
Private FEvaluatedAt: TEvaluatedAt;
Private FPhastInterpolationValues: TPhastInterpolationValues;
Private FDataType: TRbwDataType;
Private FComment: string;
Private FAngleType: TAngleType;

Methods

Private procedure SetPhastInterpolationValues( const Value: TPhastInterpolationValues);
Private procedure SetTwoDInterpolator(const Value: TCustom2DInterpolater);
Private function DataSetChanged: boolean;
Private function GetFormula: string;
Private procedure SetFormula(const Value: string);
Private procedure SetDataSet(const Value: TDataArray);
Public procedure InvalidateDataSet;
Public procedure AssignBasicProperties;
Public procedure Assign(const DataSet: TDataArray);
Public procedure AssignFormulasToDataSet;
Public procedure AssignToDataSet(out ShouldInvalidate: boolean);
Public constructor Create;
Public destructor Destroy; override;

Properties

Public property DataSet: TDataArray read FDataSet write SetDataSet;
Public property Name: TComponentName read FName write FName;
Public property Orientation: TDataSetOrientation read FOrientation write FOrientation;
Public property EvaluatedAt: TEvaluatedAt read FEvaluatedAt write FEvaluatedAt;
Public property DataType: TRbwDataType read FDataType write FDataType;
Public property Units: string read FUnits write FUnits;
Public property AngleType: TAngleType read FAngleType write FAngleType;
Public property TwoDInterpolator: TCustom2DInterpolater read FTwoDInterpolator write SetTwoDInterpolator;
Public property Formula: string read GetFormula write SetFormula;
Public property PhastInterpolationValues: TPhastInterpolationValues read FPhastInterpolationValues write SetPhastInterpolationValues;
Public property Comment: string read FComment write FComment;

Description

Fields

Private FNeedToInvalidate: boolean;
 
Private FDataSet: TDataArray;

FDataSet is the TDataArray whose values are being stored.

Private FName: TComponentName;

See Name.

Private FFormula: TFormulaObject;

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.

Private FComment: string;
 
Private FAngleType: TAngleType;
 

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.

Private function GetFormula: string;
 
Private procedure SetFormula(const Value: string);
 
Private procedure SetDataSet(const Value: TDataArray);
 
Public procedure InvalidateDataSet;
 
Public procedure AssignBasicProperties;
 
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(out ShouldInvalidate: boolean);

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

Public property DataSet: TDataArray read FDataSet write SetDataSet;

DataSet is the TDataArray whose values are being stored.

Public property Name: TComponentName read FName write FName;

Name is the name to assign to the TDataArray.

Public property Orientation: TDataSetOrientation read FOrientation write FOrientation;

Orientation is the Orientation property to assign to the TDataArray.

Public property EvaluatedAt: TEvaluatedAt read FEvaluatedAt write FEvaluatedAt;

EvaluatedAt is the EvaluatedAt property to assign to the TDataArray.

Public property DataType: TRbwDataType read FDataType write FDataType;

DataType is the DataType property to assign to the TDataArray.

Public property Units: string read FUnits write FUnits;

Units is the Units property to assign to the TDataArray.

Public property AngleType: TAngleType read FAngleType write FAngleType;
 
Public property TwoDInterpolator: TCustom2DInterpolater read FTwoDInterpolator write SetTwoDInterpolator;

TwoDInterpolator is the TwoDInterpolator property to assign to the TDataArray.

Public property Formula: string read GetFormula write SetFormula;

Formula is the Formula property to assign to the TDataArray.

Public property PhastInterpolationValues: TPhastInterpolationValues read FPhastInterpolationValues write SetPhastInterpolationValues;

PhastInterpolationValues is the PhastInterpolationValues property to assign to the TDataArray.

Public property Comment: string read FComment write FComment;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:42:06