Class TGlobalVariables

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TGlobalVariables = class(TOrderedCollection)

Description

no description available, TOrderedCollection description follows

TOrderedCollection is a base class for collections that avoid deleting their collection items during assign whenever they can. TOrderedCollection is typically used to allow editing of the collection in a GUI. The model owns (directly or indirectly) one copy of the TOrderedCollection. Another copy will be created in the GUI in which Model will be Nil. The user will edit this latter copy in the GUI. The copy then gets assigned back to the original copy.

See also
Assign
Assign copies the source TOrderedCollection to itself.

Hierarchy

Overview

Fields

Private FSearchList: TStringList;

Methods

Private function GetVariable(Index: integer): TGlobalVariable;
Private procedure SetVariable(Index: integer; const Value: TGlobalVariable);
Protected procedure FreeSearchList;
Public procedure Assign(Source: TPersistent); override;
Public constructor Create(Model: TBaseModel);
Public Destructor Destroy; override;
Public function IndexOfVariable(Name: string): integer;
Public function GetVariableByName(Const Name: string): TGlobalVariable;

Properties

Public property Variables[Index:integer]: TGlobalVariable read GetVariable write SetVariable;

Description

Fields

Private FSearchList: TStringList;
 

Methods

Private function GetVariable(Index: integer): TGlobalVariable;
 
Private procedure SetVariable(Index: integer; const Value: TGlobalVariable);
 
Protected procedure FreeSearchList;
 
Public procedure Assign(Source: TPersistent); override;
 
Public constructor Create(Model: TBaseModel);
 
Public Destructor Destroy; override;
 
Public function IndexOfVariable(Name: string): integer;
 
Public function GetVariableByName(Const Name: string): TGlobalVariable;
 

Properties

Public property Variables[Index:integer]: TGlobalVariable read GetVariable write SetVariable;
 

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