Class TClassificationList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TClassificationList = class(TObject)

Description

TClassificationList is a list of TClassificationObjects. TClassificationList does not own the TClassificationObjects it contains.

Hierarchy

Overview

Fields

Private FList: TList;

Methods

Private function GetCount: integer;
Private function GetItems(Index: integer): TClassificationObject;
Private procedure SetItems(Index: integer; const Value: TClassificationObject);
Public procedure Add(Item: TClassificationObject);
Public constructor Create;
Public Destructor Destroy; override;
Public Function IndexOf(Item: TClassificationObject): integer;
Public procedure Pack;

Properties

Public property Count: integer read GetCount;
Public property Items[Index:integer]: TClassificationObject read GetItems write SetItems;

Description

Fields

Private FList: TList;

FList is a private TList that stores TClassificationObjects.

Methods

Private function GetCount: integer;

GetCount returns FList.Count.

Private function GetItems(Index: integer): TClassificationObject;

GetItems returns FList[Index].

Private procedure SetItems(Index: integer; const Value: TClassificationObject);

SetItems sets FList[Index].

Public procedure Add(Item: TClassificationObject);

Add calls FList.Count.

Public constructor Create;

Create creates FList.

Public Destructor Destroy; override;

Destroy destroys FList.

Public Function IndexOf(Item: TClassificationObject): integer;

IndexOf returns FList.IndexOf(Item)

Public procedure Pack;

Pack calls FList.Pack.

Properties

Public property Count: integer read GetCount;

Count calls FList.Count.

Public property Items[Index:integer]: TClassificationObject read GetItems write SetItems;

Items restores and sets TClassificationObjects.


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