Class TAbstractContainer (unit EZDSLBse)

Inherits from

TPersistent

--Container object types--

Constructors


constructor Clone(Source : TAbstractContainer; DataOwner : boolean; NewCompare : TCompareFunc);


constructor Create(DataOwner : boolean);

constructor/destructor

====================================================================} {===TAbstractContainer===============================================



Functions

destructor Destroy;

--------

procedure Empty;

methods

function IsEmpty : boolean;

--------

procedure acDisposeNode(aNode : PNode);

--------

function acNewNode(aData : pointer) : PNode;

--------

procedure acSetCompare(NewFunc : TCompareFunc);

--------

procedure acSetDisposeData(NewProc : TDisposeDataProc);

--------

procedure acSetDupData(NewFunc : TDupDataFunc);

--------

procedure acSetIsSorted(S : boolean);

--------

procedure acSort;

--------

Properties

property Compare : TCompareFunc


property Count : longint

properties

property DisposeData : TDisposeDataProc


property DupData : TDupDataFunc


property IsDataOwner : boolean


property IsSorted : boolean


Events

Variables

acCanChangeSorted : boolean;


acCount : longint;


acInDone : boolean;


acIsDataOwner : boolean;


acIsSorted : boolean;


acNodeSize : integer;


acCompare : TCompareFunc;


acDisposeData : TDisposeDataProc;


acDupData : TDupDataFunc;


acNS : TNodeStore;



Constructors


constructor Clone(Source : TAbstractContainer; DataOwner : boolean; NewCompare : TCompareFunc);


constructor Create(DataOwner : boolean);

constructor/destructor

====================================================================} {===TAbstractContainer===============================================


Functions


destructor Destroy;

--------


procedure Empty;

methods


function IsEmpty : boolean;

--------


procedure acDisposeNode(aNode : PNode);

--------


function acNewNode(aData : pointer) : PNode;

--------


procedure acSetCompare(NewFunc : TCompareFunc);

--------


procedure acSetDisposeData(NewProc : TDisposeDataProc);

--------


procedure acSetDupData(NewFunc : TDupDataFunc);

--------


procedure acSetIsSorted(S : boolean);

--------


procedure acSort;

--------


Properties


property Compare : TCompareFunc


property Count : longint

properties


property DisposeData : TDisposeDataProc


property DupData : TDupDataFunc


property IsDataOwner : boolean


property IsSorted : boolean


Events


Variables


acCanChangeSorted : boolean;


acCount : longint;


acInDone : boolean;


acIsDataOwner : boolean;


acIsSorted : boolean;


acNodeSize : integer;


acCompare : TCompareFunc;


acDisposeData : TDisposeDataProc;


acDupData : TDupDataFunc;


acNS : TNodeStore;