Class tdatalist

Unit

Declaration

type tdatalist = class(tlinkedpersistent)

Description

No description available, ancestor tlinkedpersistent description follows
No description available, ancestor tnullinterfacedpersistent description follows
No description available, ancestor tvirtualpersistent description follows

Hierarchy

Overview

Fields

Protected fdeleting: integer;
Protected fdatapo: pchar;
Protected fsize: integer;
Protected fcount: integer;
Protected fscrolled: integer;
Protected flinkdest: datalistarty;
Protected fstate: dataliststatesty;
Protected fintparam: integer;
Protected frearanged: boolean;
Protected fgridsortdescend: boolean;

Methods

Protected function checkassigncompatibility(const source: tpersistent): boolean; virtual;
Protected procedure checkindex1(const index: integer);
Protected function assigndata(const source: tpersistent): boolean;
Protected procedure assigntodata(const dest: tdatalist);
Protected procedure newbuffer(const acount: integer; const noinit: boolean; const fillnull: boolean);
Protected procedure clearbuffer; virtual;
Protected procedure setcount(const value: integer); virtual;
Protected procedure internalgetasarray(const adatapo: pointer; const asize: integer);
Protected procedure internalsetasarray(const source: pointer; const asize: integer; const acount: integer);
Protected procedure writedata(writer: twriter);
Protected procedure readdata(reader: treader);
Protected procedure readitem(const reader: treader; var value); virtual;
Protected procedure writeitem(const writer: twriter; var value); virtual;
Protected procedure internalgetdata(index: integer; out ziel);
Protected procedure internalsetdata(index: integer; const quelle);
Protected procedure internalfill(const anzahl: integer; const wert);
Protected procedure getdefaultdata(var dest);
Protected procedure getgriddefaultdata(var dest); virtual;
Protected procedure getdata(index: integer; var dest);
Protected procedure getgriddata(index: integer; var dest); virtual;
Protected procedure setdata(index: integer; const source);
Protected procedure setgriddata(index: integer; const source); virtual;
Protected function getstatdata(const index: integer): msestring; virtual;
Protected procedure setstatdata(const index: integer; const value: msestring); virtual;
Protected procedure writestate(const writer; const name: msestring); virtual;
Protected procedure readstate(const reader; const acount: integer; const name: msestring); virtual;
Protected procedure writeappendix(const writer; const aname: msestring); virtual;
Protected procedure readappendix(const reader; const aname: msestring); virtual;
Protected function poptopdata(var ziel): boolean;
Protected function popbottomdata(var ziel): boolean;
Protected procedure pushdata(const quelle);
Protected procedure checkbuffersize(increment: integer);
Protected procedure internalinsertdata(index: integer; const quelle; const docopy: boolean);
Protected procedure insertdata(const index: integer; const quelle);
Protected procedure defineproperties(const propname: string; const filer: tfiler);
Protected procedure defineproperties(filer: tfiler); override;
Protected procedure freedata(var data); virtual;
Protected procedure beforecopy(var data); virtual;
Protected procedure aftercopy(var data); virtual;
Protected procedure initinstance(var data); virtual;
Protected function internaladddata(const quelle; docopy: boolean): integer;
Protected function adddata(const quelle): integer;
Protected function compare(const l,r): integer; virtual;
Protected function comparecaseinsensitive(const l,r): integer; virtual;
Protected function getdefault: pointer; virtual;
Protected procedure normalizering;
Protected procedure blockcopymovedata(fromindex,toindex: integer; const acount: integer; const mode: blockcopymodety);
Protected procedure initdata1(const afree: boolean; index: integer; const acount: integer);
Protected procedure forall(startindex: integer; const count: integer; const proc: dataprocty);
Protected procedure doitemchange(const index: integer); virtual;
Protected procedure dochange; virtual;
Protected procedure internaldeletedata(index: integer; dofree: boolean);
Protected function getlinkdatatypes(const atag: integer): listdatatypesty; virtual;
Protected procedure initsource(var asource: listlinkinfoty);
Protected procedure removesource(var asource: listlinkinfoty);
Protected procedure checklistdestroyed(var ainfo: listlinkinfoty; const sender: tdatalist);
Protected procedure unlinksource(var alink: listlinkinfoty);
Protected function internallinksource(const source: tdatalist; const atag: integer; var variable: tdatalist): boolean;
Protected function sourceischanged(const asource: listlinkinfoty): boolean;
Protected function checksourcechange(var ainfo: listlinkinfoty; const sender: tdatalist; const aindex: integer): boolean;
Protected function checksourcecopy(var ainfo: listlinkinfoty; const copyproc: copyprocty): boolean;
Protected function checksourcecopy2(var ainfo: listlinkinfoty; const source2: tdatalist; const copyproc: copy2procty): boolean;
Protected procedure internalrearange(arangelist: pinteger; const acount: integer);
Protected function islinked(const asource: tdatalist): boolean;
Protected procedure datadeleted(const aindex: integer; const acount: integer);
Protected procedure datainserted(const aindex: integer; const acount: integer);
Protected procedure datamoved(const fromindex: integer; const toindex: integer; const acount: integer); virtual;
Protected procedure setitemselected(const row: integer; const value: boolean); virtual;
Protected function getifidatatype(): listdatatypety virtual;
Public constructor create; override;
Public destructor destroy; override;
Public procedure listdestroyed(const sender: tdatalist); virtual;
Public procedure sourcechange(const sender: tdatalist; const aindex: integer); virtual;
Public procedure linkclient(const aclient: idatalistclient);
Public procedure unlinkclient(const aclient: idatalistclient);
Public function getsourcecount: integer; virtual;
Public function getsourceinfo(const atag: integer): plistlinkinfoty; virtual;
Public function getsourcename(const atag: integer): string;
Public procedure linksource(const source: tdatalist; const atag: integer); virtual;
Public function canlink(const asource: tdatalist; const atag: integer): boolean; virtual;
Public function datapo: pointer;
Public function datahighpo: pointer;
Public function getitempo(index: integer): pointer;
Public function getastext(const index: integer): msestring; virtual;
Public procedure setastext(const index: integer; const avalue: msestring); virtual;
Public procedure assign(sender: tpersistent); override;
Public procedure assignb(const source: tdatalist); virtual;
Public procedure assigntob(const dest: tdatalist); virtual;
Public function getdatablock(const source: pointer; const destsize: integer): integer;
Public function setdatablock(const dest: pointer; const sourcesize: integer; const acount: integer): integer;
Public procedure change(const index: integer); virtual;
Public class function datatype: listdatatypety; virtual;
Public procedure checkindexrange(const aindex: integer; const acount: integer = 1);
Public procedure checkindex(var index: integer);
Public procedure beginupdate; virtual;
Public procedure endupdate; virtual;
Public procedure incupdate;
Public procedure decupdate;
Public function updating: boolean;
Public procedure clear; virtual;
Public procedure initdata(const index,anzahl: integer);
Public procedure cleardata(index: integer);
Public function deleting: boolean;
Public function checkwritedata(const filer: tfiler): boolean; virtual;
Public procedure rearange(const arangelist: tintegerdatalist); overload;
Public procedure rearange(const arangelist: integerarty); overload;
Public procedure movedata(const fromindex,toindex: integer);
Public procedure blockmovedata(const fromindex,toindex,count: integer);
Public procedure blockcopydata(const fromindex,toindex,count: integer);
Public procedure deletedata(const index: integer);
Public procedure deleteitems(index,acount: integer); virtual;
Public procedure insertitems(index,acount: integer); virtual;
Public function empty(const index: integer): boolean; virtual;
Public function sort(const comparefunc: sortcomparemethodty; out arangelist: integerarty; const dorearange: boolean): boolean;
Public function sort(out arangelist: integerarty; const dorearange: boolean): boolean;
Public function sort(const compareproc: sortcomparemethodty): boolean;
Public function sort: boolean;
Public function sortcaseinsensitive: boolean;
Public function sortcaseinsensitive(out arangelist: integerarty; const dorearange: boolean): boolean;
Public procedure clean(const start,stop: integer); virtual;
Public procedure clearmemberitem(const subitem: integer; const index: integer); virtual;
Public procedure setmemberitem(const subitem: integer; const index: integer; const avalue: integer); virtual;

Properties

Protected property nochange: integer read fnochange;
Public property size: integer read fsize;
Public property state: dataliststatesty read fstate;
Public property count: integer read Fcount write Setcount;
Public property capacity: integer read Fcapacity write Setcapacity;
Public property onchange: notifyeventty read fonchange write fonchange;
Public property onitemchange: indexeventty read fonitemchange write fonitemchange;
Public property maxcount: integer read fmaxcount write setmaxcount default bigint;
Public property sorted: boolean read getsorted write setsorted;
Public property checkeditem: integer read fcheckeditem write setcheckeditem;
Public property facultative: boolean read getfacultative write setfacultative default false;

Description

Fields

Protected fdeleting: integer;
 
Protected fdatapo: pchar;
 
Protected fsize: integer;
 
Protected fcount: integer;
 
Protected fscrolled: integer;
 
Protected flinkdest: datalistarty;
 
Protected fstate: dataliststatesty;
 
Protected fintparam: integer;
 
Protected frearanged: boolean;
 
Protected fgridsortdescend: boolean;
 

Methods

Protected function checkassigncompatibility(const source: tpersistent): boolean; virtual;
 
Protected procedure checkindex1(const index: integer);
 
Protected function assigndata(const source: tpersistent): boolean;
 
Protected procedure assigntodata(const dest: tdatalist);
 
Protected procedure newbuffer(const acount: integer; const noinit: boolean; const fillnull: boolean);
 
Protected procedure clearbuffer; virtual;
 
Protected procedure setcount(const value: integer); virtual;
 
Protected procedure internalgetasarray(const adatapo: pointer; const asize: integer);
 
Protected procedure internalsetasarray(const source: pointer; const asize: integer; const acount: integer);
 
Protected procedure writedata(writer: twriter);
 
Protected procedure readdata(reader: treader);
 
Protected procedure readitem(const reader: treader; var value); virtual;
 
Protected procedure writeitem(const writer: twriter; var value); virtual;
 
Protected procedure internalgetdata(index: integer; out ziel);
 
Protected procedure internalsetdata(index: integer; const quelle);
 
Protected procedure internalfill(const anzahl: integer; const wert);
 
Protected procedure getdefaultdata(var dest);
 
Protected procedure getgriddefaultdata(var dest); virtual;
 
Protected procedure getdata(index: integer; var dest);
 
Protected procedure getgriddata(index: integer; var dest); virtual;
 
Protected procedure setdata(index: integer; const source);
 
Protected procedure setgriddata(index: integer; const source); virtual;
 
Protected function getstatdata(const index: integer): msestring; virtual;
 
Protected procedure setstatdata(const index: integer; const value: msestring); virtual;
 
Protected procedure writestate(const writer; const name: msestring); virtual;
 
Protected procedure readstate(const reader; const acount: integer; const name: msestring); virtual;
 
Protected procedure writeappendix(const writer; const aname: msestring); virtual;
 
Protected procedure readappendix(const reader; const aname: msestring); virtual;
 
Protected function poptopdata(var ziel): boolean;
 
Protected function popbottomdata(var ziel): boolean;
 
Protected procedure pushdata(const quelle);
 
Protected procedure checkbuffersize(increment: integer);
 
Protected procedure internalinsertdata(index: integer; const quelle; const docopy: boolean);
 
Protected procedure insertdata(const index: integer; const quelle);
 
Protected procedure defineproperties(const propname: string; const filer: tfiler);
 
Protected procedure defineproperties(filer: tfiler); override;
 
Protected procedure freedata(var data); virtual;
 
Protected procedure beforecopy(var data); virtual;
 
Protected procedure aftercopy(var data); virtual;
 
Protected procedure initinstance(var data); virtual;
 
Protected function internaladddata(const quelle; docopy: boolean): integer;
 
Protected function adddata(const quelle): integer;
 
Protected function compare(const l,r): integer; virtual;
 
Protected function comparecaseinsensitive(const l,r): integer; virtual;
 
Protected function getdefault: pointer; virtual;
 
Protected procedure normalizering;
 
Protected procedure blockcopymovedata(fromindex,toindex: integer; const acount: integer; const mode: blockcopymodety);
 
Protected procedure initdata1(const afree: boolean; index: integer; const acount: integer);
 
Protected procedure forall(startindex: integer; const count: integer; const proc: dataprocty);
 
Protected procedure doitemchange(const index: integer); virtual;
 
Protected procedure dochange; virtual;
 
Protected procedure internaldeletedata(index: integer; dofree: boolean);
 
Protected function getlinkdatatypes(const atag: integer): listdatatypesty; virtual;
 
Protected procedure initsource(var asource: listlinkinfoty);
 
Protected procedure removesource(var asource: listlinkinfoty);
 
Protected procedure checklistdestroyed(var ainfo: listlinkinfoty; const sender: tdatalist);
 
Protected procedure unlinksource(var alink: listlinkinfoty);
 
Protected function internallinksource(const source: tdatalist; const atag: integer; var variable: tdatalist): boolean;
 
Protected function sourceischanged(const asource: listlinkinfoty): boolean;
 
Protected function checksourcechange(var ainfo: listlinkinfoty; const sender: tdatalist; const aindex: integer): boolean;
 
Protected function checksourcecopy(var ainfo: listlinkinfoty; const copyproc: copyprocty): boolean;
 
Protected function checksourcecopy2(var ainfo: listlinkinfoty; const source2: tdatalist; const copyproc: copy2procty): boolean;
 
Protected procedure internalrearange(arangelist: pinteger; const acount: integer);
 
Protected function islinked(const asource: tdatalist): boolean;
 
Protected procedure datadeleted(const aindex: integer; const acount: integer);
 
Protected procedure datainserted(const aindex: integer; const acount: integer);
 
Protected procedure datamoved(const fromindex: integer; const toindex: integer; const acount: integer); virtual;
 
Protected procedure setitemselected(const row: integer; const value: boolean); virtual;
 
Protected function getifidatatype(): listdatatypety virtual;
 
Public constructor create; override;
 
Public destructor destroy; override;
 
Public procedure listdestroyed(const sender: tdatalist); virtual;
 
Public procedure sourcechange(const sender: tdatalist; const aindex: integer); virtual;
 
Public procedure linkclient(const aclient: idatalistclient);
 
Public procedure unlinkclient(const aclient: idatalistclient);
 
Public function getsourcecount: integer; virtual;
 
Public function getsourceinfo(const atag: integer): plistlinkinfoty; virtual;
 
Public function getsourcename(const atag: integer): string;
 
Public procedure linksource(const source: tdatalist; const atag: integer); virtual;
 
Public function canlink(const asource: tdatalist; const atag: integer): boolean; virtual;
 
Public function datapo: pointer;
 
Public function datahighpo: pointer;
 
Public function getitempo(index: integer): pointer;
 
Public function getastext(const index: integer): msestring; virtual;
 
Public procedure setastext(const index: integer; const avalue: msestring); virtual;
 
Public procedure assign(sender: tpersistent); override;
 
Public procedure assignb(const source: tdatalist); virtual;
 
Public procedure assigntob(const dest: tdatalist); virtual;
 
Public function getdatablock(const source: pointer; const destsize: integer): integer;
 
Public function setdatablock(const dest: pointer; const sourcesize: integer; const acount: integer): integer;
 
Public procedure change(const index: integer); virtual;
 
Public class function datatype: listdatatypety; virtual;
 
Public procedure checkindexrange(const aindex: integer; const acount: integer = 1);
 
Public procedure checkindex(var index: integer);
 
Public procedure beginupdate; virtual;
 
Public procedure endupdate; virtual;
 
Public procedure incupdate;
 
Public procedure decupdate;
 
Public function updating: boolean;
 
Public procedure clear; virtual;
 
Public procedure initdata(const index,anzahl: integer);
 
Public procedure cleardata(index: integer);
 
Public function deleting: boolean;
 
Public function checkwritedata(const filer: tfiler): boolean; virtual;
 
Public procedure rearange(const arangelist: tintegerdatalist); overload;
 
Public procedure rearange(const arangelist: integerarty); overload;
 
Public procedure movedata(const fromindex,toindex: integer);
 
Public procedure blockmovedata(const fromindex,toindex,count: integer);
 
Public procedure blockcopydata(const fromindex,toindex,count: integer);
 
Public procedure deletedata(const index: integer);
 
Public procedure deleteitems(index,acount: integer); virtual;
 
Public procedure insertitems(index,acount: integer); virtual;
 
Public function empty(const index: integer): boolean; virtual;
 
Public function sort(const comparefunc: sortcomparemethodty; out arangelist: integerarty; const dorearange: boolean): boolean;
 
Public function sort(out arangelist: integerarty; const dorearange: boolean): boolean;
 
Public function sort(const compareproc: sortcomparemethodty): boolean;
 
Public function sort: boolean;
 
Public function sortcaseinsensitive: boolean;
 
Public function sortcaseinsensitive(out arangelist: integerarty; const dorearange: boolean): boolean;
 
Public procedure clean(const start,stop: integer); virtual;
 
Public procedure clearmemberitem(const subitem: integer; const index: integer); virtual;
 
Public procedure setmemberitem(const subitem: integer; const index: integer; const avalue: integer); virtual;
 

Properties

Protected property nochange: integer read fnochange;
 
Public property size: integer read fsize;
 
Public property state: dataliststatesty read fstate;
 
Public property count: integer read Fcount write Setcount;
 
Public property capacity: integer read Fcapacity write Setcapacity;
 
Public property onchange: notifyeventty read fonchange write fonchange;
 
Public property onitemchange: indexeventty read fonitemchange write fonitemchange;
 
Public property maxcount: integer read fmaxcount write setmaxcount default bigint;
 
Public property sorted: boolean read getsorted write setsorted;
 
Public property checkeditem: integer read fcheckeditem write setcheckeditem;
 
Public property facultative: boolean read getfacultative write setfacultative default false;
 

Generated by PasDoc 0.16.0.