Difference between revisions of "THashTreeObject"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit UltiboClasses __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-colla...")
(No difference)

Revision as of 05:46, 31 May 2018

Return to Unit UltiboClasses


Description


To be documented

Class definitions



THashTreeObject = class(TTreeObject)

Note: A TObject with KeyPrev/KeyNext/KeyHash for use in HashTrees
 
constructor Create(AKeyBits:Byte);  
destructor Destroy; override;  
private
FKeyBits:Byte;  
FKeyMask:LongWord;  
FKeyBuckets:Pointer;  
FKeyTree:THashLinkedTree;  
FKeyPrev:THashTreeObject;  
FKeyNext:THashTreeObject;  
protected
FKeyHash:LongWord; {Publish in descendants if required}  
procedure SetKeyHash(AKeyHash:LongWord);  
function KeyLink(AValue:THashTreeObject):Boolean;  
function KeyUnlink(AValue:THashTreeObject):Boolean;  
public
function KeyFirst(AKeyHash:LongWord):THashTreeObject;  
 
property KeyTree:THashLinkedTree read FKeyTree write FKeyTree;  
property KeyPrev:THashTreeObject read FKeyPrev write FKeyPrev;  
property KeyNext:THashTreeObject read FKeyNext write FKeyNext;  


Function declarations



constructor THashTreeObject.Create(AKeyBits:Byte);
Description: To be documented
Note None documented


destructor THashTreeObject.Destroy;
Description: To be documented
Note None documented


procedure THashTreeObject.SetKeyHash(AKeyHash:LongWord);
Description: To be documented
Note None documented


function THashTreeObject.KeyLink(AValue:THashTreeObject):Boolean;
Description: Link AValue to Prev,Next Keys and Adjust First
Note None documented


function THashTreeObject.KeyUnlink(AValue:THashTreeObject):Boolean;
Description: Unlink AValue from Prev,Next Keys and Adjust First
Note None documented


function THashTreeObject.KeyFirst(AKeyHash:LongWord):THashTreeObject;
Description: To be documented
Note None documented


Return to Unit Reference