Class DTreeNode (unit SDL)

Inherits from

SDLBaseClass

RBTrees are collections of nodes.

Constructors


constructor Create;


constructor CreateUnder(const _pair : DPair; _parent : DTreeNode);


constructor CreateWith(const _pair : DPair);


constructor MakeWith(const _pair : DPair; _parent, _left, _right : DTreeNode);



Functions

destructor Destroy; override;


procedure FreeInstance; override;


destructor Kill; virtual;


class function NewInstance : TObject; override;


Properties

Events

Variables

color : DTreeNodeColor;


left : DTreeNode;


pair : DPair;


parent : DTreeNode;


right : DTreeNode;



Constructors


constructor Create;


constructor CreateUnder(const _pair : DPair; _parent : DTreeNode);


constructor CreateWith(const _pair : DPair);


constructor MakeWith(const _pair : DPair; _parent, _left, _right : DTreeNode);


Functions


destructor Destroy; override;


procedure FreeInstance; override;


destructor Kill; virtual;


class function NewInstance : TObject; override;


Properties


Events


Variables


color : DTreeNodeColor;


left : DTreeNode;


pair : DPair;


parent : DTreeNode;


right : DTreeNode;