Difference between revisions of "Unit UltiboClasses"
Line 12: | Line 12: | ||
---- | ---- | ||
− | '' | + | |
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Error constants''' <code> *_Error </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SListIndexError = 'List index out of bounds (%d)';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SFCreateError = 'Cannot create file %s';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SFOpenError = 'Cannot open file %s';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''B-Tree constants''' <code> btree_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>btreeCompareLess = -1;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>btreeCompareEqual = 0;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>btreeCompareGreater = 1;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Hash constants''' <code> *_Hash* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>stringHashSize = 8;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>listHashBits = 8;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>treeHashBits = 3;</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>keyHashMinBits = 1;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>keyHashMaxBits = 16;</code> | ||
+ | | Maximum of 16 bit hash mask (65535 buckets) due to memory usage | ||
+ | |- | ||
+ | | <code>keyHashMasks:array[keyHashMinBits..keyHashMaxBits] of LongWord = (</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>$00000001,$00000003,$00000007,$0000000F,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>$0000001F,$0000003F,$0000007F,$000000FF,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>$000001FF,$000003FF,$000007FF,$00000FFF,</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>$00001FFF,$00003FFF,$00007FFF,$0000FFFF);</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Delta constants''' <code> *_Delta </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>memoryStreamDelta = $2000;</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>memoryStreamShift = 13;</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>stringListDelta = $2000;</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Type definitions === | === Type definitions === |
Revision as of 03:32, 2 June 2017
Return to Unit Reference
Contents
Description
Ultibo classes unit
To be documented
Constants
*_Error
SListIndexError = 'List index out of bounds (%d)';
|
|
SFCreateError = 'Cannot create file %s';
|
|
SFOpenError = 'Cannot open file %s';
|
btree_*
btreeCompareLess = -1;
|
|
btreeCompareEqual = 0;
|
|
btreeCompareGreater = 1;
|
*_Hash*
stringHashSize = 8;
|
|
listHashBits = 8;
|
|
treeHashBits = 3;
|
|
keyHashMinBits = 1;
|
|
keyHashMaxBits = 16;
|
Maximum of 16 bit hash mask (65535 buckets) due to memory usage |
keyHashMasks:array[keyHashMinBits..keyHashMaxBits] of LongWord = (
|
|
$00000001,$00000003,$00000007,$0000000F,
|
|
$0000001F,$0000003F,$0000007F,$000000FF,
|
|
$000001FF,$000003FF,$000007FF,$00000FFF,
|
|
$00001FFF,$00003FFF,$00007FFF,$0000FFFF);
|
*_Delta
memoryStreamDelta = $2000;
|
|
memoryStreamShift = 13;
|
|
stringListDelta = $2000;
|
Type definitions
None defined
Class definitions
To be documented
Public variables
None defined
Function declarations
procedure TimerExEvent(TimerEx:TTimerEx);
Note | None documented |
---|
TThreadEx
procedure TThreadEx.Execution;
Note | None documented |
---|
procedure TThreadEx.AfterExecution;
Note | None documented |
---|
procedure TThreadEx.BeforeExecution;
Note | None documented |
---|
procedure TThreadEx.Execute;
Note | None documented |
---|
procedure TThreadEx.TerminateAndWaitFor;
Note | None documented |
---|
TTimerEx
constructor TTimerEx.Create;
Note | None documented |
---|
destructor TTimerEx.Destroy;
Note | None documented |
---|
procedure TTimerEx.SetEnabled(Value:Boolean);
Note | None documented |
---|
procedure TTimerEx.Timer;
Note | None documented |
---|
procedure TTimerEx.StartTimer;
Note | None documented |
---|
procedure TTimerEx.StopTimer;
Note | None documented |
---|
TObjList
constructor TObjList.Create;
Note | None documented |
---|
destructor TObjList.Destroy;
Note | None documented |
---|
procedure TObjList.DestroyListObjects;
Note | None documented |
---|
procedure TObjList.ClearList;
Note | None documented |
---|
TThreadObjList
constructor TThreadObjList.Create;
Note | None documented |
---|
destructor TThreadObjList.Destroy;
Note | None documented |
---|
procedure TThreadObjList.DestroyListObjects;
Note | None documented |
---|
procedure TThreadObjList.ClearList;
Note | None documented |
---|
TLinkedList
constructor TLinkedList.Create;
Note | None documented |
---|
destructor TLinkedList.Destroy;
Note | None documented |
---|
function TLinkedList.GetCount:Integer;
Note | None documented |
---|
function TLinkedList.Link(AValue:TListObject):Boolean;
Note | None documented |
---|
function TLinkedList.LinkEx(APrev,AValue:TListObject):Boolean;
Note | If APrev is nil then Link as first value in list |
---|
function TLinkedList.Unlink(AValue:TListObject):Boolean;
Note | None documented |
---|
function TLinkedList.Add(AValue:TListObject):Boolean;
Note | None documented |
---|
function TLinkedList.Remove(AValue:TListObject):Boolean;
Note | None documented |
---|
function TLinkedList.Insert(APrev,AValue:TListObject):Boolean;
Note | None documented |
---|
procedure TLinkedList.Clear;
Note | None documented |
---|
TLinkedObjList
destructor TLinkedObjList.Destroy;
Note | None documented |
---|
procedure TLinkedObjList.ClearList;
Note | None documented |
---|
TThreadLinkedObjList
constructor TThreadLinkedObjList.Create;
Note | None documented |
---|
destructor TThreadLinkedObjList.Destroy;
Note | None documented |
---|
procedure TThreadLinkedObjList.ClearList;
Note | None documented |
---|
procedure TThreadLinkedObjList.LockList;
Note | None documented |
---|
procedure TThreadLinkedObjList.UnlockList;
Note | None documented |
---|
TLinkedTree
constructor TLinkedTree.Create;
Note | None documented |
---|
destructor TLinkedTree.Destroy;
Note | None documented |
---|
function TLinkedTree.GetCount:Integer;
Note | None documented |
---|
function TLinkedTree.Link(AValue,AParent:TTreeObject):Boolean;
Note | None documented |
---|
function TLinkedTree.LinkEx(APrev,AValue,AParent:TTreeObject):Boolean;
Note | If APrev is nil then Link as first child in parent or first value if Parent is nil |
---|
function TLinkedTree.Unlink(AValue:TTreeObject):Boolean;
Note | None documented |
---|
function TLinkedTree.Add(AValue,AParent:TTreeObject):Boolean;
Note | None documented |
---|
function TLinkedTree.Remove(AValue:TTreeObject):Boolean;
Note | None documented |
---|
function TLinkedTree.Insert(APrev,AValue,AParent:TTreeObject):Boolean;
Note | None documented |
---|
procedure TLinkedTree.Move(AValue,AParent:TTreeObject);
Note | None documented |
---|
procedure TLinkedTree.Clear;
Note | None documented |
---|
function TLinkedTree.FirstChild(AParent:TTreeObject):TTreeObject;
Note | None documented |
---|
function TLinkedTree.LastChild(AParent:TTreeObject):TTreeObject;
Note | None documented |
---|
TLinkedObjTree
constructor TLinkedObjTree.Create;
Note | None documented |
---|
destructor TLinkedObjTree.Destroy;
Note | None documented |
---|
procedure TLinkedObjTree.ClearListItems(AParent:TTreeObject);
Note | None documented |
---|
procedure TLinkedObjTree.ClearList;
Note | None documented |
---|
TBtreeObject
procedure TBtreeObject.Clear;
Note | None documented |
---|
TLinkedBtree
constructor TLinkedBtree.Create;
Note | None documented |
---|
destructor TLinkedBtree.Destroy;
Note | None documented |
---|
procedure TLinkedBtree.SetOrder(AOrder:LongWord);
Note | Minimum Order is 5 and minimum Median is 3 |
---|
function TLinkedBtree.PropogateDrop(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.PropogateMerge(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.PropogateSplit(AEntry:TBtreeObject):Boolean;
Note | This is currently not used by insert and must be tested before use |
---|
function TLinkedBtree.GetCount(AEntry:TBtreeObject):LongWord;
Note | Does not include the blank key |
---|
function TLinkedBtree.GetDepth(AEntry:TBtreeObject):LongWord;
Note | None documented |
---|
function TLinkedBtree.GetEnd(AEntry:TBtreeObject):TBtreeObject;
Note | Includes the blank key which may be the only key |
---|
function TLinkedBtree.GetStart(AEntry:TBtreeObject):TBtreeObject;
Note | Includes the blank key which may be the only key |
---|
function TLinkedBtree.GetBlank(AEntry:TBtreeObject):TBtreeObject;
Blank | Blank entry is always the last entry in every node |
---|
function TLinkedBtree.GetMedian(AEntry:TBtreeObject):TBtreeObject;
Note | Does not include the blank key |
---|
function TLinkedBtree.GetDrop(AEntry:TBtreeObject; var ALeft:Boolean):TBtreeObject;
Drop | Always drop with the Righthand neighbour if available |
---|---|
Note | Only supported by descendant classes with non balanced nodes |
function TLinkedBtree.GetMerge(AEntry:TBtreeObject):TBtreeObject;
Merge | Always merge with the Righthand neighbour if available |
---|
function TLinkedBtree.GetBorrow(AEntry:TBtreeObject):TBtreeObject;
Borrow | Always borrow from the Righthand neighbour if available |
---|
function TLinkedBtree.GetTarget(ADrop:TBtreeObject; ALeft:Boolean):TBtreeObject;
Note | Only supported by descendant classes with non balanced nodes |
---|
function TLinkedBtree.SetParent(AEntry,AParent:TBtreeObject):Boolean;
Note | Includes the blank key which may be the only key |
---|
function TLinkedBtree.GetLefthand(AEntry:TBtreeObject):TBtreeObject;
Note | None documented |
---|
function TLinkedBtree.GetRighthand(AEntry:TBtreeObject):TBtreeObject;
Note | None documented |
---|
function TLinkedBtree.GetLeftmost(AEntry:TBtreeObject):TBtreeObject;
Note | None documented |
---|
function TLinkedBtree.GetRightmost(AEntry:TBtreeObject):TBtreeObject;
Note | Does not include the blank key |
---|
function TLinkedBtree.GetSuccessor(AEntry:TBtreeObject):TBtreeObject;
Note | The returned entry may be a blank key or a real key |
---|
function TLinkedBtree.GetPredecessor(AEntry:TBtreeObject):TBtreeObject;
Note | The returned entry may be a blank key or a real key |
---|
function TLinkedBtree.GetPosition(AStart,AEntry:TBtreeObject):TBtreeObject;
Note | The returned entry will be the entry to the right in insert node. The returned entry may be the blank key or may be a real key. |
---|
function TLinkedBtree.Push(AEntry:TBtreeObject):Boolean;
Push | Push can only occur on the root node |
---|---|
Note | Will create a new blank as root. All keys will be parented by new blank root. |
function TLinkedBtree.Split(AEntry:TBtreeObject):Boolean;
Split | Split can propogate all the way to root since median is promoted |
---|---|
Note | Will promote the median entry to the parent. Keys left of median will be parented by median. Keys right of median will retain current parent. Child of median will parent to new blank on left. Median will be attached to the left of the parent. |
function TLinkedBtree.Swap(AEntry,ASwap:TBtreeObject; ALeft:Boolean):Boolean;
Note | Entry is always a parent and Swap is always a leaf. No balancing is done as the entry is to be deleted or borrowed. |
---|
function TLinkedBtree.Drop(AEntry,ADrop,ATarget:TBtreeObject; ALeft:Boolean):Boolean;
Note | None documented |
---|
function TLinkedBtree.Merge(AEntry,AMerge:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.Borrow(AEntry,ABorrow:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.Link(AEntry,ANext:TBtreeObject):Boolean;
Note | If Next is nil then link as last |
---|
function TLinkedBtree.Unlink(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.LinkBlank(AEntry:TBtreeObject):Boolean;
Note | Always link as last |
---|
function TLinkedBtree.UnlinkBlank(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.Attach(AParent,AEntry,ARight:TBtreeObject):Boolean;
Note | If Right is nil then attach as last. If Parent is nil then attach at root. |
---|
function TLinkedBtree.Detach(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.PushNode(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.SplitNode(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.DropNode(AEntry,ADrop,ATarget:TBtreeObject; ALeft:Boolean):Boolean;
Note | None documented |
---|
function TLinkedBtree.MergeNode(AEntry,AMerge:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.BorrowEntry(AEntry,ABorrow:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.SwapEntry(AEntry,ASwap:TBtreeObject; ALeft:Boolean):Boolean;
Note | None documented |
---|
function TLinkedBtree.SetParentEntry(AEntry,AParent:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.CreateBlank:TBtreeObject;
Note | None documented |
---|
function TLinkedBtree.DeleteBlank(ABlank:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.AttachBlank(ABlank:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.DetachBlank(ABlank:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.AttachEntry(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.DetachEntry(AEntry:TBtreeObject):Boolean;
Note | None documented |
---|
function TLinkedBtree.RequirePush(AEntry:TBtreeObject):Boolean;
Entry | Entry is the key that was inserted. Or a key in a parent node of the node where the entry was inserted. |
---|---|
Note | Only supported by descendant classes with non balanced nodes |
function TLinkedBtree.RequireSplit(AEntry:TBtreeObject):Boolean;
Entry | Entry is the key that was inserted. Or a key in a parent node of the node where the entry was inserted. |
---|
function TLinkedBtree.RequireDrop(AEntry:TBtreeObject):Boolean;
Entry | Entry is the start key of the node where the entry was removed. Or a key in a parent node of the node where the entry was removed. |
---|---|
Note | Only supported by descendant classes with non balanced nodes |
function TLinkedBtree.RequireMerge(AEntry:TBtreeObject):Boolean;
Entry | Entry is the start key of the node where the entry was removed. Or a key in a parent node of the node where the entry was removed. |
---|
function TLinkedBtree.RequireBorrow(AEntry:TBtreeObject):Boolean;
Entry | Entry is the start key of the node where the entry was removed. Or a key in a parent node of the node where the entry was removed. |
---|
function TLinkedBtree.Compare(AEntry1,AEntry2:TBtreeObject):Integer;
Note | This means keys will end up in added order if no compare is provided |
---|
function TLinkedBtree.Add(AParent,AEntry:TBtreeObject):Boolean;
Entry | Entries must be added in btree order to obtain final order |
---|---|
Note | Both real and blank keys can be added. No events are triggered by Add. |
function TLinkedBtree.Insert(AEntry:TBtreeObject):Boolean;
Note | Rebalances the tree after inserting the new entry. Blank keys cannot be inserted. Entry must be created by the caller. |
---|
function TLinkedBtree.Remove(AEntry:TBtreeObject):Boolean;
Note | Rebalances the tree after deleting the entry. Blank keys cannot be removed. Entry must be destroyed by the caller. |
---|
procedure TLinkedBtree.Clear;
Note | None documented |
---|
procedure TLinkedBtree.Empty;
Note | None documented |
---|
procedure TLinkedBtree.Rebuild;
Note | None documented |
---|
TLinkedObjBtree
constructor TLinkedObjBtree.Create;
Note | None documented |
---|
destructor TLinkedObjBtree.Destroy;
Note | None documented |
---|
procedure TLinkedObjBtree.ClearBtree;
Note | None documented |
---|
procedure TLinkedObjBtree.EmptyBtree;
Note | None documented |
---|
THashListObject
procedure THashListObject.SetKeyHash(AKeyHash:LongWord);
Note | None documented |
---|
THashLinkedList
constructor THashLinkedList.Create(AKeyBits:Byte);
Note | None documented |
---|
destructor THashLinkedList.Destroy;
Note | None documented |
---|
function THashLinkedList.KeyLink(AValue:THashListObject):Boolean;
Note | None documented |
---|
function THashLinkedList.KeyUnlink(AValue:THashListObject):Boolean;
Note | None documented |
---|
function THashLinkedList.KeyFirst(AKeyHash:LongWord):THashListObject;
Note | None documented |
---|
function THashLinkedList.Add(AValue:TListObject):Boolean;
Note | None documented |
---|
function THashLinkedList.Remove(AValue:TListObject):Boolean;
Note | None documented |
---|
function THashLinkedList.Insert(APrev,AValue:TListObject):Boolean;
Note | None documented |
---|
procedure THashLinkedList.Clear;
Note | None documented |
---|
THashLinkedObjList
constructor THashLinkedObjList.Create(AKeyBits:Byte);
Note | None documented |
---|
destructor THashLinkedObjList.Destroy;
Note | None documented |
---|
procedure THashLinkedObjList.ClearList;
Note | None documented |
---|
THashTreeObject
constructor THashTreeObject.Create(AKeyBits:Byte);
Note | None documented |
---|
destructor THashTreeObject.Destroy;
Note | None documented |
---|
procedure THashTreeObject.SetKeyHash(AKeyHash:LongWord);
Note | None documented |
---|
function THashTreeObject.KeyLink(AValue:THashTreeObject):Boolean;
Note | None documented |
---|
function THashTreeObject.KeyUnlink(AValue:THashTreeObject):Boolean;
Note | None documented |
---|
function THashTreeObject.KeyFirst(AKeyHash:LongWord):THashTreeObject;
Note | None documented |
---|
THashLinkedTree
constructor THashLinkedTree.Create(AKeyBits:Byte);
Note | None documented |
---|
destructor THashLinkedTree.Destroy;
Note | None documented |
---|
function THashLinkedTree.KeyLink(AValue,AParent:THashTreeObject):Boolean;
Note | None documented |
---|
function THashLinkedTree.KeyUnlink(AValue,AParent:THashTreeObject):Boolean;
Note | None documented |
---|
function THashLinkedTree.KeyFirst(AParent:THashTreeObject; AKeyHash:LongWord):THashTreeObject;
Note | None documented |
---|
function THashLinkedTree.Add(AValue,AParent:TTreeObject):Boolean;
Note | None documented |
---|
function THashLinkedTree.Remove(AValue:TTreeObject):Boolean;
Note | None documented |
---|
function THashLinkedTree.Insert(APrev,AValue,AParent:TTreeObject):Boolean;
Note | None documented |
---|
procedure THashLinkedTree.Move(AValue,AParent:TTreeObject);
Note | None documented |
---|
procedure THashLinkedTree.Clear;
Note | None documented |
---|
THashLinkedObjTree
constructor THashLinkedObjTree.Create(AKeyBits:Byte);
Note | None documented |
---|
destructor THashLinkedObjTree.Destroy;
Note | None documented |
---|
procedure THashLinkedObjTree.ClearListItems(AParent:THashTreeObject);
Note | None documented |
---|
procedure THashLinkedObjTree.ClearList;
Note | None documented |
---|
TStringObject
procedure TStringObject.SetValue(const AValue:String);
Note | None documented |
---|
TLinkedStringList
constructor TLinkedStringList.Create;
Note | None documented |
---|
destructor TLinkedStringList.Destroy;
Note | None documented |
---|
function TLinkedStringList.GetItem(AIndex:Integer):TStringObject;
Note | None documented |
---|
function TLinkedStringList.Link(AValue:TStringObject):Boolean;
Note | None documented |
---|
function TLinkedStringList.LinkEx(APrev,AValue:TStringObject):Boolean;
Note | If APrev is nil then Link as first value in list |
---|
function TLinkedStringList.Unlink(AValue:TStringObject):Boolean;
Note | None documented |
---|
procedure TLinkedStringList.ClearList;
Note | None documented |
---|
procedure TLinkedStringList.Changed;
Note | None documented |
---|
procedure TLinkedStringList.Changing;
Note | None documented |
---|
function TLinkedStringList.Get(Index:Integer):String;
Note | None documented |
---|
function TLinkedStringList.GetCount:Integer;
Note | None documented |
---|
function TLinkedStringList.GetObject(Index:Integer):TObject;
Note | None documented |
---|
procedure TLinkedStringList.Put(Index:Integer;const S:String);
Note | None documented |
---|
procedure TLinkedStringList.PutObject(Index:Integer; AObject:TObject);
Note | None documented |
---|
procedure TLinkedStringList.SetUpdateState(Updating:Boolean);
Note | None documented |
---|
function TLinkedStringList.Add(const S:String):Integer;
Note | None documented |
---|
procedure TLinkedStringList.Clear;
Note | None documented |
---|
procedure TLinkedStringList.Delete(Index:Integer);
Note | None documented |
---|
procedure TLinkedStringList.Exchange(Index1,Index2:Integer);
Note | None documented |
---|
function TLinkedStringList.IndexOf(const S:String):Integer;
Note | None documented |
---|
procedure TLinkedStringList.Insert(Index:Integer; const S:String);
Note | None documented |
---|
TStringBlock
destructor TStringBlock.Destroy;
Note | None documented |
---|
TLinkedStringListEx
constructor TLinkedStringListEx.Create;
Note | None documented |
---|
destructor TLinkedStringListEx.Destroy;
Note | None documented |
---|
function TLinkedStringListEx.GetBlock(Index:Integer):TStringBlock;
Note | None documented |
---|
function TLinkedStringListEx.AddBlock(Block:TStringBlock; Index:Integer):TStringBlock;
Index | Starting Index of Block to be Added |
---|---|
Block | Current Block containing Index or nil |
function TLinkedStringListEx.DeleteBlock(Block:TStringBlock):Boolean;
Note | None documented |
---|
function TLinkedStringListEx.UpdateBlocks(Block:TStringBlock):Boolean;
Note | None documented |
---|
function TLinkedStringListEx.GetItem(Block:TStringBlock; Index:Integer):TStringObjectEx;
Note | None documented |
---|
function TLinkedStringListEx.AddItem(Block:TStringBlock; Index:Integer; Item:TStringObjectEx):Boolean;
Note | None documented |
---|
function TLinkedStringListEx.DeleteItem(Block:TStringBlock;Index:Integer; Item:TStringObjectEx):Boolean;
Note | None documented |
---|
function TLinkedStringListEx.IndexOfItem(Block:TStringBlock; Item:TStringObjectEx):Integer;
Note | None documented |
---|
function TLinkedStringListEx.Get(Index:Integer):String;
Note | None documented |
---|
function TLinkedStringListEx.GetCapacity:Integer;
Note | None documented |
---|
function TLinkedStringListEx.GetObject(Index:Integer):TObject;
Note | None documented |
---|
procedure TLinkedStringListEx.Put(Index:Integer;const S:String);
Note | None documented |
---|
procedure TLinkedStringListEx.PutObject(Index:Integer; AObject:TObject);
Note | None documented |
---|
function TLinkedStringListEx.Add(const S:String):Integer;
Note | None documented |
---|
procedure TLinkedStringListEx.Clear;
Note | None documented |
---|
procedure TLinkedStringListEx.Delete(Index:Integer);
Note | None documented |
---|
procedure TLinkedStringListEx.Exchange(Index1,Index2:Integer);
Note | None documented |
---|
function TLinkedStringListEx.IndexOf(const S:String):Integer;
Note | Could use Counted Index method of TLinkedStringList instead |
---|
procedure TLinkedStringListEx.Insert(Index:Integer; const S:String);
Note | None documented |
---|
THashStringObject
procedure THashStringObject.SetHash(AHash:LongWord);
Note | None documented |
---|
procedure THashStringObject.SetValue(const AValue:String);
Note | None documented |
---|
THashLinkedStringList
constructor THashLinkedStringList.Create(AKeyBits:Byte);
Note | None documented |
---|
destructor THashLinkedStringList.Destroy;
Note | None documented |
---|
function THashLinkedStringList.KeyLink(AValue:THashStringObject):Boolean;
Note | None documented |
---|
function THashLinkedStringList.KeyUnlink(AValue:THashStringObject):Boolean;
Note | None documented |
---|
procedure THashLinkedStringList.ClearList;
Note | None documented |
---|
function THashLinkedStringList.KeyFirst(AKeyHash:LongWord):THashStringObject;
Note | None documented |
---|
function THashLinkedStringList.Add(const S:String):Integer;
Note | None documented |
---|
procedure THashLinkedStringList.Delete(Index:Integer);
Note | None documented |
---|
function THashLinkedStringList.IndexOf(const S:String):Integer;
Note | Cannot use Counted Index method due to use of Hash Buckets |
---|
procedure THashLinkedStringList.Insert(Index:Integer; const S:String);
Note | None documented |
---|
TIntegerList
constructor TIntegerList.Create;
Note | None documented |
---|
destructor TIntegerList.Destroy;
Note | None documented |
---|
function TIntegerList.GetItem(Idx:Integer):Integer;
Note | None documented |
---|
procedure TIntegerList.SetItem(Idx,Value:Integer);
Note | None documented |
---|
function TIntegerList.GetCount:Integer;
Note | None documented |
---|
function TIntegerList.Add(AValue:Integer):Integer;
Note | None documented |
---|
function TIntegerList.Remove(AValue:Integer):Integer;
Note | None documented |
---|
procedure TIntegerList.Delete(Idx:Integer);
Note | None documented |
---|
function TIntegerList.IndexOf(AValue:Integer):Integer;
Note | None documented |
---|
procedure TIntegerList.Clear;
Note | None documented |
---|
TDateTimeList
constructor TDateTimeList.Create;
Note | None documented |
---|
destructor TDateTimeList.Destroy;
Note | None documented |
---|
function TDateTimeList.GetItem(Idx:Integer):TDateTime;
Note | None documented |
---|
procedure TDateTimeList.SetItem(Idx:Integer; Value:TDateTime);
Note | None documented |
---|
function TDateTimeList.GetCount:Integer;
Note | None documented |
---|
function TDateTimeList.Add(AValue:TDateTime):Integer;
Note | None documented |
---|
function TDateTimeList.Remove(AValue:TDateTime):Integer;
Note | None documented |
---|
procedure TDateTimeList.Delete(Idx:Integer);
Note | None documented |
---|
function TDateTimeList.IndexOf(AValue:TDateTime):Integer;
Note | None documented |
---|
procedure TDateTimeList.Clear;
Note | None documented |
---|
TMemoryBlock
destructor TMemoryBlock.Destroy;
Note | None documented |
---|
TMemoryStreamEx
constructor TMemoryStreamEx.Create;
Note | None documented |
---|
destructor TMemoryStreamEx.Destroy;
Note | None documented |
---|
function TMemoryStreamEx.RoundSize(ASize:LongInt):LongWord;
Note | None documented |
---|
function TMemoryStreamEx.GetBlock(AOffset:LongWord):TMemoryBlock;
Note | None documented |
---|
function TMemoryStreamEx.ReadBlock(ABlock:TMemoryBlock; ABuffer:Pointer; AOffset,ACount:LongWord):LongWord;
Note | None documented |
---|
function TMemoryStreamEx.WriteBlock(ABlock:TMemoryBlock; ABuffer:Pointer; AOffset,ACount:LongWord):LongWord;
Note | None documented |
---|
procedure TMemoryStreamEx.SetCapacity(ACapacity:LongWord);
Note | None documented |
---|
procedure TMemoryStreamEx.SetSize(ASize:LongInt);
Note | None documented |
---|
function TMemoryStreamEx.Read(var ABuffer; ACount:LongInt):LongInt;
Note | None documented |
---|
function TMemoryStreamEx.Write(const ABuffer; ACount:LongInt):LongInt;
Note | None documented |
---|
function TMemoryStreamEx.Seek(AOffset:LongInt; AOrigin:Word):LongInt;
Note | None documented |
---|
procedure TMemoryStreamEx.SaveToStream(AStream:TStream);
Note | None documented |
---|
procedure TMemoryStreamEx.LoadFromStream(AStream:TStream);
Note | None documented |
---|
procedure TMemoryStreamEx.SaveToFile(const AFileName:String);
Note | None documented |
---|
procedure TMemoryStreamEx.LoadFromFile(const AFileName:String);
Note | None documented |
---|
procedure TMemoryStreamEx.Clear;
Note | None documented |
---|
TStreamEx
function TStreamEx.GetPositionEx:Int64;
Note | None documented |
---|
procedure TStreamEx.SetPositionEx(const Pos:Int64);
Note | None documented |
---|
function TStreamEx.GetSizeEx:Int64;
Note | None documented |
---|
procedure TStreamEx.SetSizeEx(const NewSize:Int64);
Note | None documented |
---|
THandleStreamEx
constructor THandleStreamEx.Create(AHandle:Integer);
Note | None documented |
---|
procedure THandleStreamEx.SetSize(NewSize:LongInt);
Note | None documented |
---|
procedure THandleStreamEx.SetSizeEx(const NewSize:Int64);
Note | None documented |
---|
function THandleStreamEx.Read(var Buffer; Count:Longint):Longint;
Note | None documented |
---|
function THandleStreamEx.Write(const Buffer; Count:Longint):Longint;
Note | None documented |
---|
function THandleStreamEx.Seek(Offset:Longint; Origin:Word):Longint;
Note | None documented |
---|
function THandleStreamEx.SeekEx(const Offset:Int64; Origin:Word):Int64;
Note | None documented |
---|
TFileStreamEx
constructor TFileStreamEx.Create(const FileName:String; Mode:Word);
Note | None documented |
---|
destructor TFileStreamEx.Destroy;
Note | None documented |
---|
TStringItemEx
procedure TStringItemEx.SetValue(const AValue:String);
Note | None documented |
---|
TStringListEx
constructor TStringListEx.Create;
Note | None documented |
---|
destructor TStringListEx.Destroy;
Note | None documented |
---|
function TStringListEx.GetBlock(Index:Integer):TStringBlock;
Note | None documented |
---|
function TStringListEx.AddBlock(Block:TStringBlock; Index:Integer):TStringBlock;
Index | Starting Index of Block to be Added |
---|---|
Block | Current Block containing Index or nil |
function TStringListEx.DeleteBlock(Block:TStringBlock):Boolean;
Note | None documented |
---|
function TStringListEx.UpdateBlocks(Block:TStringBlock):Boolean;
Note | None documented |
---|
function TStringListEx.GetItem(Block:TStringBlock; Index:Integer):TStringItemEx;
Note | None documented |
---|
function TStringListEx.AddItem(Block:TStringBlock; Index:Integer; Item:TStringItemEx):Boolean;
Note | None documented |
---|
function TStringListEx.DeleteItem(Block:TStringBlock; Index:Integer; Item:TStringItemEx):Boolean;
Note | None documented |
---|
procedure TStringListEx.ClearList;
Note | None documented |
---|
procedure TStringListEx.Changed;
Note | None documented |
---|
procedure TStringListEx.Changing;
Note | None documented |
---|
function TStringListEx.Get(Index:Integer):String;
Note | None documented |
---|
function TStringListEx.GetCapacity:Integer;
Note | None documented |
---|
function TStringListEx.GetCount:Integer;
Note | None documented |
---|
function TStringListEx.GetObject(Index:Integer):TObject;
Note | None documented |
---|
procedure TStringListEx.Put(Index:Integer; const S:String);
Note | None documented |
---|
procedure TStringListEx.PutObject(Index:Integer; AObject:TObject);
Note | None documented |
---|
procedure TStringListEx.SetUpdateState(Updating:Boolean);
Note | None documented |
---|
function TStringListEx.Add(const S:String):Integer;
Note | None documented |
---|
procedure TStringListEx.Clear;
Note | None documented |
---|
procedure TStringListEx.Delete(Index:Integer);
Note | None documented |
---|
procedure TStringListEx.Exchange(Index1,Index2:Integer);
Note | None documented |
---|
function TStringListEx.IndexOf(const S:String):Integer;
Note | None documented |
---|
procedure TStringListEx.Insert(Index:Integer; const S:String);
Note | None documented |
---|
Return to Unit Reference