Class thashdatalist
Unit
Declaration
type thashdatalist = class(TObject)
Description
Hierarchy
- TObject
- thashdatalist
Overview
Fields
fdata: pointer; |
|
fmask: hashvaluety; |
|
fhashtable: hashoffsetarty; |
|
fstate: hashliststatesty; |
Methods
function getdatapoornil(const aoffset: hashoffsetty): pointer; inline; |
|
function getdatapo(const aoffset: hashoffsetty): pointer; inline; |
|
function getdataoffs(const adata: pointer): hashoffsetty; inline; |
|
function internaladd(const akey): phashdataty; |
|
function internaladdhash(hash1: hashvaluety): phashdataty; |
|
procedure inserthash(ahash: hashvaluety; const adata: phashdataty); |
|
procedure removehash(aitem: phashdataty); |
|
procedure internaldeleteitem(const aitem: phashdataty); overload; |
|
procedure internaldelete(const aoffset: hashoffsetty); |
|
function internaldelete(const akey; const all: boolean): boolean; |
|
function internalfind(const akey): phashdataty; overload; |
|
function internalfind(const akey; hash1: hashvaluety): phashdataty; overload; |
|
function internalfind(const akey; out acount: integer): phashdataty; overload; |
|
function internalfind(const akey; const acheckproc: findcheckprocty): phashdataty; overload; |
|
function internalfind(const akey; const acheckproc: findcheckprocty; out acount: integer): phashdataty; overload; |
|
function internalfindexact(const akey): phashdataty; overload; |
|
function internalfindexact(const akey; out acount: integer): phashdataty; overload; |
|
procedure checkexact(const aitem: phashdataty; var accept: boolean) virtual; |
|
function hashkey(const akey): hashvaluety; virtual; abstract; |
|
function checkkey(const akey; const aitem: phashdataty): boolean; virtual; abstract; |
|
function getrecordsize(): int32 virtual abstract; |
|
procedure rehash; |
|
procedure grow; |
|
procedure inititem(const aitem: phashdataty) virtual; |
|
procedure finalizeitem(const aitem: phashdataty) virtual; |
|
procedure internaliterate( const aiterator: internalhashiteratorprocty); overload; |
|
procedure iterate(const akey; const aiterator: keyhashiteratorprocty); overload; |
|
function internalfirstx: phashdataty; |
|
function internallastx: phashdataty; |
|
function internalnextx: phashdataty; |
|
function internalprevx: phashdataty; |
|
constructor create(); |
|
destructor destroy; override; |
|
procedure clear; virtual; |
|
procedure reset; |
|
procedure mark(out ref: hashoffsetty); |
|
procedure release(const ref: hashoffsetty); |
|
function absdata(const ref: ptrint): pointer; |
|
procedure iterate(const aiterator: hashiteratorprocty); overload; |
Properties
property data: pointer read fdata; |
|
property assignedfirst: hashoffsetty read fassignedfirst; |
|
property assignedlast: hashoffsetty read fassignedlast; |
|
property datasize: int32 read getdatasize; |
|
property capacity: integer read fcapacity write setcapacity; |
|
property count: integer read fcount; |
|
property recsize: int32 read frecsize; |
Description
Fields
fdata: pointer; |
|
fmask: hashvaluety; |
|
fhashtable: hashoffsetarty; |
|
fstate: hashliststatesty; |
|
Methods
function getdatapoornil(const aoffset: hashoffsetty): pointer; inline; |
|
function getdatapo(const aoffset: hashoffsetty): pointer; inline; |
|
function getdataoffs(const adata: pointer): hashoffsetty; inline; |
|
function internaladd(const akey): phashdataty; |
|
function internaladdhash(hash1: hashvaluety): phashdataty; |
|
procedure inserthash(ahash: hashvaluety; const adata: phashdataty); |
|
procedure removehash(aitem: phashdataty); |
|
procedure internaldeleteitem(const aitem: phashdataty); overload; |
|
procedure internaldelete(const aoffset: hashoffsetty); |
|
function internaldelete(const akey; const all: boolean): boolean; |
|
function internalfind(const akey): phashdataty; overload; |
|
function internalfind(const akey; hash1: hashvaluety): phashdataty; overload; |
|
function internalfind(const akey; out acount: integer): phashdataty; overload; |
|
function internalfind(const akey; const acheckproc: findcheckprocty): phashdataty; overload; |
|
function internalfind(const akey; const acheckproc: findcheckprocty; out acount: integer): phashdataty; overload; |
|
function internalfindexact(const akey): phashdataty; overload; |
|
function internalfindexact(const akey; out acount: integer): phashdataty; overload; |
|
procedure checkexact(const aitem: phashdataty; var accept: boolean) virtual; |
|
function hashkey(const akey): hashvaluety; virtual; abstract; |
|
function checkkey(const akey; const aitem: phashdataty): boolean; virtual; abstract; |
|
function getrecordsize(): int32 virtual abstract; |
|
procedure rehash; |
|
procedure grow; |
|
procedure inititem(const aitem: phashdataty) virtual; |
|
procedure finalizeitem(const aitem: phashdataty) virtual; |
|
procedure internaliterate( const aiterator: internalhashiteratorprocty); overload; |
|
procedure iterate(const akey; const aiterator: keyhashiteratorprocty); overload; |
|
function internalfirstx: phashdataty; |
|
function internallastx: phashdataty; |
|
function internalnextx: phashdataty; |
|
function internalprevx: phashdataty; |
|
constructor create(); |
|
destructor destroy; override; |
|
procedure clear; virtual; |
|
procedure reset; |
|
procedure mark(out ref: hashoffsetty); |
|
procedure release(const ref: hashoffsetty); |
|
function absdata(const ref: ptrint): pointer; |
|
procedure iterate(const aiterator: hashiteratorprocty); overload; |
|
Properties
property data: pointer read fdata; |
|
property assignedfirst: hashoffsetty read fassignedfirst; |
|
property assignedlast: hashoffsetty read fassignedlast; |
|
property datasize: int32 read getdatasize; |
|
property capacity: integer read fcapacity write setcapacity; |
|
property count: integer read fcount; |
|
property recsize: int32 read frecsize; |
|
Generated by PasDoc 0.16.0.