Class TPasRoutines

Unit

Declaration

type TPasRoutines = class(TPasItems)

Description

Collection of methods.

Source: source/component/PasDoc_Items.pas (line 1215).

Hierarchy

Overview

Methods

Protected procedure Serialize(const ADestination: TStream); override;
Protected procedure Deserialize(const ASource: TStream); override;
Public function FindListItem(const AName: string; Index: Integer): TPasRoutine; overload;
Public function FindListItem(const ANameOrSignature: string): TPasRoutine; overload;
Public procedure Add(const AItem: TBaseItem); override;
Public constructor Create(const AOwnsObject: Boolean); override;
Public destructor Destroy; override;

Description

Methods

Protected procedure Serialize(const ADestination: TStream); override;

This item has no description.

Source: source/component/PasDoc_Items.pas (line 1219).

Protected procedure Deserialize(const ASource: TStream); override;

This item has no description.

Source: source/component/PasDoc_Items.pas (line 1220).

Public function FindListItem(const AName: string; Index: Integer): TPasRoutine; overload;

Find an Index-th item with given name on a list. Index is 0-based. There could be multiple items sharing the same name (overloads) while method of base class returns only the one most recently added item.

Returns Nil if nothing can be found.

Source: source/component/PasDoc_Items.pas (line 1227).

Public function FindListItem(const ANameOrSignature: string): TPasRoutine; overload;

This item has no description.

Source: source/component/PasDoc_Items.pas (line 1228).

Public procedure Add(const AItem: TBaseItem); override;

This item has no description. Showing description inherited from TBaseItems.Add.

During Add, AObject is associated with AObject.Name using hash table, so remember to set AObject.Name before calling Add(AObject).

Source: source/component/PasDoc_Items.pas (line 1229).

Public constructor Create(const AOwnsObject: Boolean); override;

This item has no description. Showing description inherited from TObjectVector.Create.

This is only to make constructor virtual, while original TObjectList has a static constructor.

Source: source/component/PasDoc_Items.pas (line 1231).

Public destructor Destroy; override;

This item has no description.

Source: source/component/PasDoc_Items.pas (line 1232).


Generated by PasDoc 0.17.0.snapshot.