Class TArgumentList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TArgumentList = class(TObject)

Description

Name is used to restrict ensure that in TOperatorDefinition only TOperatorArgumentDefinitions are added to ArgumentDefinitions. TArgumentList takes ownership of all TOperatorArgumentDefinitions added to it.

Hierarchy

Overview

Fields

Private FList: TList;

Methods

Private function GetCount: integer;
Private function GetItems(Index: integer): TOperatorArgumentDefinition;
Public procedure Add(Item: TOperatorArgumentDefinition);
Public constructor Create;
Public destructor Destroy; override;

Properties

Public property Items[Index:integer]: TOperatorArgumentDefinition read GetItems;
Public property Count: integer read GetCount;

Description

Fields

Private FList: TList;

FList is an internal list of TOperatorArgumentDefinitions. FList is actually a TObjectList.

Methods

Private function GetCount: integer;

See Count.

Private function GetItems(Index: integer): TOperatorArgumentDefinition;

See Items.

Public procedure Add(Item: TOperatorArgumentDefinition);

Add adds a TOperatorArgumentDefinition to TArgumentList.

Public constructor Create;

Create creates an instance of TArgumentList.

Public destructor Destroy; override;

Destroy destroys the current instance of TArgumentList along with and TOperatorArgumentDefinitions it contains. Do not call Destroy directly. Call Free instead.

Properties

Public property Items[Index:integer]: TOperatorArgumentDefinition read GetItems;

Items provides access to the TOperatorArgumentDefinition in TArgumentList.

Public property Count: integer read GetCount;

Count is the number of TOperatorArgumentDefinitions in TArgumentList.


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