Class TRealDataListItem

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TRealDataListItem = class(TCustomDataListItem)

Description

TRealDataListItem is a TCustomDataListItem specialized for holding real numbers.

Hierarchy

Overview

Fields

Private FValues: TOneDRealArray;

Methods

Private function GetValues(const Index: Integer): double;
Private procedure SetValues(const Index: Integer; const Value: double);
Protected function GetValuesLength: integer; Override;
Protected procedure ReadValues(Reader: TReader);
Protected procedure SetValuesLength(const Value: integer); Override;
Protected procedure WriteValues(Writer: TWriter);
Protected procedure DefineProperties(Filer: TFiler); override;
Public procedure Assign(Source: TPersistent); override;

Properties

Public property Values[constIndex:Integer]: double read GetValues write SetValues;

Description

Fields

Private FValues: TOneDRealArray;

FValues: TOneDRealArray; FValues is the raw data stored by the TRealDataListItem. Normally, these values are access through the Values property which provides error checking.

Methods

Private function GetValues(const Index: Integer): double;

See Values.

Private procedure SetValues(const Index: Integer; const Value: double);

See Values.

Protected function GetValuesLength: integer; Override;

GetValuesLength retrieves the number of items stored in TRealDataListItem.

Protected procedure ReadValues(Reader: TReader);

ReadValues is used to read the contents of FValues from a stream.

Protected procedure SetValuesLength(const Value: integer); Override;

SetValuesLength sets the number of items stored in TRealDataListItem.

Protected procedure WriteValues(Writer: TWriter);

WriteValues is used to write the contents of FValues to a stream.

Protected procedure DefineProperties(Filer: TFiler); override;

DefineProperties causes FValues to be written to and read from a stream.

Public procedure Assign(Source: TPersistent); override;

Assign copies all the values from Source (which must be a TCustomDataListItem) to the object calling Assign

Properties

Public property Values[constIndex:Integer]: double read GetValues write SetValues;

Values is used to access the data stored in the TRealDataListItem.

See also
ValueIndex
ValueIndex is a function used to determine the position or a particular data item within the array of data items in descendants of TCustomDataListItem.

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