Difference between revisions of "THashTreeObject"
From Ultibo.org
								
												
				 (Created page with "Return to Unit UltiboClasses   __TOC__  === Description === ----  ''To be documented''  === Class definitions === ----   <div class="toccolours mw-colla...")  | 
				|||
| Line 35: | Line 35: | ||
|-  | |-  | ||
| <code>FKeyMask:LongWord;</code>  | | <code>FKeyMask:LongWord;</code>  | ||
| + | |    | ||
| + | |-  | ||
| + | | <code>FKeyShift:LongWord;</code>  | ||
|    | |    | ||
|-  | |-  | ||
Latest revision as of 05:26, 21 June 2023
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;
 | 
|
 FKeyShift: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