Class TStringCardinalTree

Unit

Declaration

type TStringCardinalTree = class(TObject)

Description

Hierarchy

  • TObject
  • TStringCardinalTree

Overview

Fields

Protected FRoot: TPasItemNode;

Methods

Protected function GetIsEmpty: boolean;
Protected function GetFirstItem: TPasItemNode;
Protected procedure NeedRoot;
Public function ItemOfName(const AName: string): TPasItemNode;
Public function InsertName(const AName: string): TPasItemNode; overload;
Public function InsertItem(const AItem: TPasItem): TPasItemNode; overload;
Public function InsertParented(const AParent: TPasItemNode; const AItem: TPasItem): TPasItemNode; overload;
Public function InsertParented(const AParent: TPasItemNode; const AName: string): TPasItemNode; overload;
Public procedure MoveChildLast(const Child, Parent: TPasItemNode);
Public function Level(const ANode: TPasItemNode): Integer;
Public function NextItem(const ANode: TPasItemNode): TPasItemNode;
Public procedure Sort;
Public constructor Create;
Public destructor Destroy; override;

Properties

Public property IsEmpty: boolean read GetIsEmpty;
Public property FirstItem: TPasItemNode read GetFirstItem;

Description

Fields

Protected FRoot: TPasItemNode;
 

Methods

Protected function GetIsEmpty: boolean;
 
Protected function GetFirstItem: TPasItemNode;
 
Protected procedure NeedRoot;
 
Public function ItemOfName(const AName: string): TPasItemNode;
 
Public function InsertName(const AName: string): TPasItemNode; overload;
 
Public function InsertItem(const AItem: TPasItem): TPasItemNode; overload;
 
Public function InsertParented(const AParent: TPasItemNode; const AItem: TPasItem): TPasItemNode; overload;
 
Public function InsertParented(const AParent: TPasItemNode; const AName: string): TPasItemNode; overload;
 
Public procedure MoveChildLast(const Child, Parent: TPasItemNode);
 
Public function Level(const ANode: TPasItemNode): Integer;
 
Public function NextItem(const ANode: TPasItemNode): TPasItemNode;
 
Public procedure Sort;
 
Public constructor Create;
 
Public destructor Destroy; override;
 

Properties

Public property IsEmpty: boolean read GetIsEmpty;
 
Public property FirstItem: TPasItemNode read GetFirstItem;
 

Generated by PasDoc 0.15.0.