Class TGlobalVariable

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGlobalVariable = class(TObserver)

Description

no description available, TObserver description follows

TObserver is used to coordinate when TDataArrays need to be updated.

Hierarchy

Overview

Fields

Private FValues: TVariableRecord;
Private FCollection: TGlobalVariables;
Private FComment: string;

Methods

Private function GetBooleanValue: boolean;
Private function GetIntegerValue: integer;
Private function GetRealValue: double;
Private function GetStringValue: string;
Private procedure SetBooleanValue(const Value: boolean);
Private procedure SetFormat(const Value: TRbwDataType);
Private procedure SetIntegerValue(const Value: integer);
Private procedure SetRealValue(const Value: double);
Private procedure SetStringValue(const Value: string);
Private function StoreBooleanValue: Boolean;
Private function StoreIntegerValue: Boolean;
Private function StoreStringValue: Boolean;
Private function GetFormat: TRbwDataType;
Private function StoreRealValue: Boolean;
Private procedure InvalidateModel;
Private procedure SetComment(const Value: string);
Private procedure NotifyObservers;
Protected procedure SetName(const NewName: TComponentName); override;
Public constructor Create(AnOwner: TComponent); override;
Published procedure Assign(Source: TPersistent); override;

Properties

Published property Format: TRbwDataType read GetFormat write SetFormat stored True;
Published property RealValue: double read GetRealValue write SetRealValue stored StoreRealValue;
Published property IntegerValue: integer read GetIntegerValue write SetIntegerValue stored StoreIntegerValue;
Published property BooleanValue: boolean read GetBooleanValue write SetBooleanValue stored StoreBooleanValue;
Published property StringValue: string read GetStringValue write SetStringValue stored StoreStringValue;
Published property Comment: string read FComment write SetComment;

Description

Fields

Private FValues: TVariableRecord;
 
Private FCollection: TGlobalVariables;
 
Private FComment: string;
 

Methods

Private function GetBooleanValue: boolean;
 
Private function GetIntegerValue: integer;
 
Private function GetRealValue: double;
 
Private function GetStringValue: string;
 
Private procedure SetBooleanValue(const Value: boolean);
 
Private procedure SetFormat(const Value: TRbwDataType);
 
Private procedure SetIntegerValue(const Value: integer);
 
Private procedure SetRealValue(const Value: double);
 
Private procedure SetStringValue(const Value: string);
 
Private function StoreBooleanValue: Boolean;
 
Private function StoreIntegerValue: Boolean;
 
Private function StoreStringValue: Boolean;
 
Private function GetFormat: TRbwDataType;
 
Private function StoreRealValue: Boolean;
 
Private procedure InvalidateModel;
 
Private procedure SetComment(const Value: string);
 
Private procedure NotifyObservers;
 
Protected procedure SetName(const NewName: TComponentName); override;
 
Public constructor Create(AnOwner: TComponent); override;
 
Published procedure Assign(Source: TPersistent); override;
 

Properties

Published property Format: TRbwDataType read GetFormat write SetFormat stored True;
 
Published property RealValue: double read GetRealValue write SetRealValue stored StoreRealValue;
 
Published property IntegerValue: integer read GetIntegerValue write SetIntegerValue stored StoreIntegerValue;
 
Published property BooleanValue: boolean read GetBooleanValue write SetBooleanValue stored StoreBooleanValue;
 
Published property StringValue: string read GetStringValue write SetStringValue stored StoreStringValue;
 
Published property Comment: string read FComment write SetComment;
 

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