Class Curve_parameters

Unit

Declaration

type Curve_parameters = class(TSelfCopiedComponent)

Description

Curve parameter container. It is used for persistent storage.

Hierarchy

Overview

Fields

Protected FParams: TCollection;
Public FSavedInitHash: cardinal;

Methods

Public constructor Create(AOwner: TComponent); override;
Public destructor Destroy; override;
Protected function GetCount: longint;
Protected function GetParameter(Index: longint): TSpecialCurveParameter;
Protected function GetValueByName(Name: string): double; virtual;
Public procedure CopyParameters(Dest: TObject); override;
Protected procedure SetParameter(Index: longint; Parameter: TSpecialCurveParameter);
Protected procedure SetValueByName(Name: string; Value: double); virtual;

Properties

Public property Count: longint read GetCount;
Public property Parameters[Index:longint]: TSpecialCurveParameter read GetParameter write SetParameter;
Published property Params: TCollection read FParams write FParams;
Public property ValuesByName[Name:string]: double read GetValueByName write SetValueByName;

Description

Fields

Protected FParams: TCollection;
 
Public FSavedInitHash: cardinal;

Initial parameters hash. Should be used for copying optimization.

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public destructor Destroy; override;
 
Protected function GetCount: longint;
 
Protected function GetParameter(Index: longint): TSpecialCurveParameter;
 
Protected function GetValueByName(Name: string): double; virtual;

Returns value of parameter with given name.

Public procedure CopyParameters(Dest: TObject); override;
 
Protected procedure SetParameter(Index: longint; Parameter: TSpecialCurveParameter);
 
Protected procedure SetValueByName(Name: string; Value: double); virtual;
 

Properties

Public property Count: longint read GetCount;
 
Public property Parameters[Index:longint]: TSpecialCurveParameter read GetParameter write SetParameter;

Parameter names aren't case sensitive.

Published property Params: TCollection read FParams write FParams;

Published for XML-serialization. Don't rename.

Public property ValuesByName[Name:string]: double read GetValueByName write SetValueByName;

Provides access to all parameters by name.


Generated by PasDoc 0.15.0.