Class TFunctionStringList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TFunctionStringList = class(TStringList)

Description

TFunctionStringList maintains a sorted list of TFunctionClasses.

In the functions below, except where otherwise noted, angles are expressed in radians.

The following functions are included:

Hierarchy

Overview

Methods

Private function GetFunctionClass(const Index: integer): TFunctionClass;
Public function Add(const FunctionRecord: TFunctionRecord): Integer; reintroduce;
Public procedure Clear; override;
Public constructor Create;
Public procedure Delete(Index: Integer); override;
Public destructor Destroy; override;

Properties

Public property FunctionClass[const Index: integer]: TFunctionClass read GetFunctionClass;

Description

Methods

Private function GetFunctionClass(const Index: integer): TFunctionClass;

See FunctionClass.

Public function Add(const FunctionRecord: TFunctionRecord): Integer; reintroduce;

Add creates a TFunctionClass based on FunctionRecord, calls the TStringList.AddObject method using the function name and the TFunctionClass and returns the TFunctionClass that it created. Any TFunctionClass created in this way is owned by the TFunctionStringList.

Public procedure Clear; override;

Clear sets the number of items in the TFunctionStringList to 0 and Free's all the TFunctionClass it created.

Public constructor Create;

Create creates a TFunctionStringList and also creates a variety of TFunctionClass'es.

Users should not generally call Create directly but instead use the TFunctionStringList already created in TRbwParser.Functions.

Public procedure Delete(Index: Integer); override;

Delete destroys the TFunctionClass at the position Index.

Public destructor Destroy; override;

Destroy destroys the TFunctionStringList. Do not call Destroy directly. Call Free instead.

Properties

Public property FunctionClass[const Index: integer]: TFunctionClass read GetFunctionClass;

FunctionClass returns the TFunctionClass at position index.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:44