Unit UltiboClasses

From Ultibo.org
Jump to: navigation, search

Return to Unit Reference


Description


Ultibo Classes unit

Constants



Error constants *_Error
SListIndexError = 'List index out of bounds (%d)';  
SFCreateError = 'Cannot create file %s';  
SFOpenError = 'Cannot open file %s';  


B-Tree constants btree_*
btreeCompareLess = -1;  
btreeCompareEqual = 0;  
btreeCompareGreater = 1;  


Hash constants *_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 constants *_Delta
memoryStreamDelta = $2000;  
memoryStreamShift = 13;  
 
stringListDelta = $2000;  


Type definitions


None defined

Class definitions



Ultibo specific classes

TThreadEx = class(TThread)
TTimerEx = class(TObject)
TObjList = class(TList)
TThreadObjList = class(TThreadList)
TListObject = class(TObject)
TLinkedList = class(TObject)
TLinkedObjList = class(TLinkedList)
TThreadLinkedObjList = class(TLinkedList)
TTreeObject = class(TListObject)
TLinkedTree = class(TObject)
TLinkedObjTree = class(TLinkedTree)
TBtreeObject = class(TObject)
TLinkedBtree = class(TObject)
TLinkedObjBtree = class(TLinkedBtree)
THashListObject = class(TListObject)
THashLinkedList = class(TLinkedList)
THashLinkedObjList = class(THashLinkedList)
THashTreeObject = class(TTreeObject)
THashLinkedTree = class(TLinkedTree)
THashLinkedObjTree = class(THashLinkedTree)
TStringObject = class(TListObject)
TLinkedStringList = class(TStrings)
TStringBlock = class(TListObject)
TStringObjectEx = class(TStringObject)
TLinkedStringListEx = class(TLinkedStringList)
THashStringObject = class(TStringObjectEx)
THashLinkedStringList = class(TLinkedStringListEx)
TIntegerList = class(TObject)
TDateTimeList = class(TObject)
TMemoryBlock = class(TListObject)
TMemoryStreamEx = class(TStream)
TStreamEx = class(TStream)
THandleStreamEx = class(TStreamEx)
TFileStreamEx = class(THandleStreamEx)
TStringItemEx = class(TObject)
TStringListEx = class(TStrings)


Public variables


None defined

Function declarations



TimerExEvent

procedure TimerExEvent(TimerEx:TTimerEx);
Description: To be documented
Note None documented


Return to Unit Reference