Class tdatalist
Unit
Declaration
type tdatalist = class(tlinkedpersistent)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tvirtualpersistent
- tnullinterfacedpersistent
- tlinkedpersistent
- tdatalist
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; |
|
This item has no description. | |
| Protected | fdatapo: pchar; |
|
This item has no description. | |
| Protected | fsize: integer; |
|
This item has no description. | |
| Protected | fcount: integer; |
|
This item has no description. | |
| Protected | fscrolled: integer; |
|
This item has no description. | |
| Protected | flinkdest: datalistarty; |
|
This item has no description. | |
| Protected | fstate: dataliststatesty; |
|
This item has no description. | |
| Protected | fintparam: integer; |
|
This item has no description. | |
| Protected | frearanged: boolean; |
|
This item has no description. | |
| Protected | fgridsortdescend: boolean; |
|
This item has no description. | |
Methods
| Protected | function checkassigncompatibility(const source: tpersistent): boolean; virtual; |
|
This item has no description. | |
| Protected | procedure checkindex1(const index: integer); |
|
This item has no description. | |
| Protected | function assigndata(const source: tpersistent): boolean; |
|
This item has no description. | |
| Protected | procedure assigntodata(const dest: tdatalist); |
|
This item has no description. | |
| Protected | procedure newbuffer(const acount: integer; const noinit: boolean; const fillnull: boolean); |
|
This item has no description. | |
| Protected | procedure clearbuffer; virtual; |
|
This item has no description. | |
| Protected | procedure setcount(const value: integer); virtual; |
|
This item has no description. | |
| Protected | procedure internalgetasarray(const adatapo: pointer; const asize: integer); |
|
This item has no description. | |
| Protected | procedure internalsetasarray(const source: pointer; const asize: integer; const acount: integer); |
|
This item has no description. | |
| Protected | procedure writedata(writer: twriter); |
|
This item has no description. | |
| Protected | procedure readdata(reader: treader); |
|
This item has no description. | |
| Protected | procedure readitem(const reader: treader; var value); virtual; |
|
This item has no description. | |
| Protected | procedure writeitem(const writer: twriter; var value); virtual; |
|
This item has no description. | |
| Protected | procedure internalgetdata(index: integer; out ziel); |
|
This item has no description. | |
| Protected | procedure internalsetdata(index: integer; const quelle); |
|
This item has no description. | |
| Protected | procedure internalfill(const anzahl: integer; const wert); |
|
This item has no description. | |
| Protected | procedure getdefaultdata(var dest); |
|
This item has no description. | |
| Protected | procedure getgriddefaultdata(var dest); virtual; |
|
This item has no description. | |
| Protected | procedure getdata(index: integer; var dest); |
|
This item has no description. | |
| Protected | procedure getgriddata(index: integer; var dest); virtual; |
|
This item has no description. | |
| Protected | procedure setdata(index: integer; const source); |
|
This item has no description. | |
| Protected | procedure setgriddata(index: integer; const source); virtual; |
|
This item has no description. | |
| Protected | function getstatdata(const index: integer): msestring; virtual; |
|
This item has no description. | |
| Protected | procedure setstatdata(const index: integer; const value: msestring); virtual; |
|
This item has no description. | |
| Protected | procedure writestate(const writer; const name: msestring); virtual; |
|
This item has no description. | |
| Protected | procedure readstate(const reader; const acount: integer; const name: msestring); virtual; |
|
This item has no description. | |
| Protected | procedure writeappendix(const writer; const aname: msestring); virtual; |
|
This item has no description. | |
| Protected | procedure readappendix(const reader; const aname: msestring); virtual; |
|
This item has no description. | |
| Protected | function poptopdata(var ziel): boolean; |
|
This item has no description. | |
| Protected | function popbottomdata(var ziel): boolean; |
|
This item has no description. | |
| Protected | procedure pushdata(const quelle); |
|
This item has no description. | |
| Protected | procedure checkbuffersize(increment: integer); |
|
This item has no description. | |
| Protected | procedure internalinsertdata(index: integer; const quelle; const docopy: boolean); |
|
This item has no description. | |
| Protected | procedure insertdata(const index: integer; const quelle); |
|
This item has no description. | |
| Protected | procedure defineproperties(const propname: string; const filer: tfiler); |
|
This item has no description. | |
| Protected | procedure defineproperties(filer: tfiler); override; |
|
This item has no description. | |
| Protected | procedure freedata(var data); virtual; |
|
This item has no description. | |
| Protected | procedure beforecopy(var data); virtual; |
|
This item has no description. | |
| Protected | procedure aftercopy(var data); virtual; |
|
This item has no description. | |
| Protected | procedure initinstance(var data); virtual; |
|
This item has no description. | |
| Protected | function internaladddata(const quelle; docopy: boolean): integer; |
|
This item has no description. | |
| Protected | function adddata(const quelle): integer; |
|
This item has no description. | |
| Protected | function compare(const l,r): integer; virtual; |
|
This item has no description. | |
| Protected | function comparecaseinsensitive(const l,r): integer; virtual; |
|
This item has no description. | |
| Protected | function getdefault: pointer; virtual; |
|
This item has no description. | |
| Protected | procedure normalizering; |
|
This item has no description. | |
| Protected | procedure blockcopymovedata(fromindex,toindex: integer; const acount: integer; const mode: blockcopymodety); |
|
This item has no description. | |
| Protected | procedure initdata1(const afree: boolean; index: integer; const acount: integer); |
|
This item has no description. | |
| Protected | procedure forall(startindex: integer; const count: integer; const proc: dataprocty); |
|
This item has no description. | |
| Protected | procedure doitemchange(const index: integer); virtual; |
|
This item has no description. | |
| Protected | procedure dochange; virtual; |
|
This item has no description. | |
| Protected | procedure internaldeletedata(index: integer; dofree: boolean); |
|
This item has no description. | |
| Protected | function getlinkdatatypes(const atag: integer): listdatatypesty; virtual; |
|
This item has no description. | |
| Protected | procedure initsource(var asource: listlinkinfoty); |
|
This item has no description. | |
| Protected | procedure removesource(var asource: listlinkinfoty); |
|
This item has no description. | |
| Protected | procedure checklistdestroyed(var ainfo: listlinkinfoty; const sender: tdatalist); |
|
This item has no description. | |
| Protected | procedure unlinksource(var alink: listlinkinfoty); |
|
This item has no description. | |
| Protected | function internallinksource(const source: tdatalist; const atag: integer; var variable: tdatalist): boolean; |
|
This item has no description. | |
| Protected | function sourceischanged(const asource: listlinkinfoty): boolean; |
|
This item has no description. | |
| Protected | function checksourcechange(var ainfo: listlinkinfoty; const sender: tdatalist; const aindex: integer): boolean; |
|
This item has no description. | |
| Protected | function checksourcecopy(var ainfo: listlinkinfoty; const copyproc: copyprocty): boolean; |
|
This item has no description. | |
| Protected | function checksourcecopy2(var ainfo: listlinkinfoty; const source2: tdatalist; const copyproc: copy2procty): boolean; |
|
This item has no description. | |
| Protected | procedure internalrearange(arangelist: pinteger; const acount: integer); |
|
This item has no description. | |
| Protected | function islinked(const asource: tdatalist): boolean; |
|
This item has no description. | |
| Protected | procedure datadeleted(const aindex: integer; const acount: integer); |
|
This item has no description. | |
| Protected | procedure datainserted(const aindex: integer; const acount: integer); |
|
This item has no description. | |
| Protected | procedure datamoved(const fromindex: integer; const toindex: integer; const acount: integer); virtual; |
|
This item has no description. | |
| Protected | procedure setitemselected(const row: integer; const value: boolean); virtual; |
|
This item has no description. | |
| Protected | function getifidatatype(): listdatatypety virtual; |
|
This item has no description. | |
| Public | constructor create; override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure listdestroyed(const sender: tdatalist); virtual; |
|
This item has no description. | |
| Public | procedure sourcechange(const sender: tdatalist; const aindex: integer); virtual; |
|
This item has no description. | |
| Public | procedure linkclient(const aclient: idatalistclient); |
|
This item has no description. | |
| Public | procedure unlinkclient(const aclient: idatalistclient); |
|
This item has no description. | |
| Public | function getsourcecount: integer; virtual; |
|
This item has no description. | |
| Public | function getsourceinfo(const atag: integer): plistlinkinfoty; virtual; |
|
This item has no description. | |
| Public | function getsourcename(const atag: integer): string; |
|
This item has no description. | |
| Public | procedure linksource(const source: tdatalist; const atag: integer); virtual; |
|
This item has no description. | |
| Public | function canlink(const asource: tdatalist; const atag: integer): boolean; virtual; |
|
This item has no description. | |
| Public | function datapo: pointer; |
|
This item has no description. | |
| Public | function datahighpo: pointer; |
|
This item has no description. | |
| Public | function getitempo(index: integer): pointer; |
|
This item has no description. | |
| Public | function getastext(const index: integer): msestring; virtual; |
|
This item has no description. | |
| Public | procedure setastext(const index: integer; const avalue: msestring); virtual; |
|
This item has no description. | |
| Public | procedure assign(sender: tpersistent); override; |
|
This item has no description. | |
| Public | procedure assignb(const source: tdatalist); virtual; |
|
This item has no description. | |
| Public | procedure assigntob(const dest: tdatalist); virtual; |
|
This item has no description. | |
| Public | function getdatablock(const source: pointer; const destsize: integer): integer; |
|
This item has no description. | |
| Public | function setdatablock(const dest: pointer; const sourcesize: integer; const acount: integer): integer; |
|
This item has no description. | |
| Public | procedure change(const index: integer); virtual; |
|
This item has no description. | |
| Public | class function datatype: listdatatypety; virtual; |
|
This item has no description. | |
| Public | procedure checkindexrange(const aindex: integer; const acount: integer = 1); |
|
This item has no description. | |
| Public | procedure checkindex(var index: integer); |
|
This item has no description. | |
| Public | procedure beginupdate; virtual; |
|
This item has no description. | |
| Public | procedure endupdate; virtual; |
|
This item has no description. | |
| Public | procedure incupdate; |
|
This item has no description. | |
| Public | procedure decupdate; |
|
This item has no description. | |
| Public | function updating: boolean; |
|
This item has no description. | |
| Public | procedure clear; virtual; |
|
This item has no description. | |
| Public | procedure initdata(const index,anzahl: integer); |
|
This item has no description. | |
| Public | procedure cleardata(index: integer); |
|
This item has no description. | |
| Public | function deleting: boolean; |
|
This item has no description. | |
| Public | function checkwritedata(const filer: tfiler): boolean; virtual; |
|
This item has no description. | |
| Public | procedure rearange(const arangelist: tintegerdatalist); overload; |
|
This item has no description. | |
| Public | procedure rearange(const arangelist: integerarty); overload; |
|
This item has no description. | |
| Public | procedure movedata(const fromindex,toindex: integer); |
|
This item has no description. | |
| Public | procedure blockmovedata(const fromindex,toindex,count: integer); |
|
This item has no description. | |
| Public | procedure blockcopydata(const fromindex,toindex,count: integer); |
|
This item has no description. | |
| Public | procedure deletedata(const index: integer); |
|
This item has no description. | |
| Public | procedure deleteitems(index,acount: integer); virtual; |
|
This item has no description. | |
| Public | procedure insertitems(index,acount: integer); virtual; |
|
This item has no description. | |
| Public | function empty(const index: integer): boolean; virtual; |
|
This item has no description. | |
| Public | function sort(const comparefunc: sortcomparemethodty; out arangelist: integerarty; const dorearange: boolean): boolean; |
|
This item has no description. | |
| Public | function sort(out arangelist: integerarty; const dorearange: boolean): boolean; |
|
This item has no description. | |
| Public | function sort(const compareproc: sortcomparemethodty): boolean; |
|
This item has no description. | |
| Public | function sort: boolean; |
|
This item has no description. | |
| Public | function sortcaseinsensitive: boolean; |
|
This item has no description. | |
| Public | function sortcaseinsensitive(out arangelist: integerarty; const dorearange: boolean): boolean; |
|
This item has no description. | |
| Public | procedure clean(const start,stop: integer); virtual; |
|
This item has no description. | |
| Public | procedure clearmemberitem(const subitem: integer; const index: integer); virtual; |
|
This item has no description. | |
| Public | procedure setmemberitem(const subitem: integer; const index: integer; const avalue: integer); virtual; |
|
This item has no description. | |
Properties
| Protected | property nochange: integer read fnochange; |
|
This item has no description. | |
| Public | property size: integer read fsize; |
|
This item has no description. | |
| Public | property state: dataliststatesty read fstate; |
|
This item has no description. | |
| Public | property count: integer read Fcount write Setcount; |
|
This item has no description. | |
| Public | property capacity: integer read Fcapacity write Setcapacity; |
|
This item has no description. | |
| Public | property onchange: notifyeventty read fonchange write fonchange; |
|
This item has no description. | |
| Public | property onitemchange: indexeventty read fonitemchange write fonitemchange; |
|
This item has no description. | |
| Public | property maxcount: integer read fmaxcount
write setmaxcount default bigint; |
|
This item has no description. | |
| Public | property sorted: boolean read getsorted write setsorted; |
|
This item has no description. | |
| Public | property checkeditem: integer read fcheckeditem write setcheckeditem; |
|
This item has no description. | |
| Public | property facultative: boolean read getfacultative
write setfacultative default false; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.