Class tcustomlookupbuffer
Unit
Declaration
type tcustomlookupbuffer = class(tactcomponent)
Description
This item has no description.
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tactcomponent
- tcustomlookupbuffer
Overview
Fields
| Protected | fupdating: integer; |
| Protected | fcount: integer; |
| Protected | fstate: lookupbufferstatesty; |
| Protected | ftextdata: stringindexinfoarty; |
| Protected | fintegerdata: integerindexinfoarty; |
| Protected | ffloatdata: floatindexinfoarty; |
| Protected | fint64data: int64indexinfoarty; |
Methods
| Protected | function getfieldcounttext: integer; virtual; |
| Protected | function getfieldcountinteger: integer; virtual; |
| Protected | function getfieldcountfloat: integer; virtual; |
| Protected | function getfieldcountint64: integer; virtual; |
| Protected | procedure setfieldcounttext(const avalue: integer); virtual; |
| Protected | procedure setfieldcountinteger(const avalue: integer); virtual; |
| Protected | procedure setfieldcountfloat(const avalue: integer); virtual; |
| Protected | procedure setfieldcountint64(const avalue: integer); virtual; |
| Protected | procedure invalidatebuffer; |
| Protected | procedure readonlyprop; |
| Protected | procedure changed; |
| Protected | procedure asyncchanged; |
| Protected | procedure doasyncevent(var atag: integer); override; |
| Protected | procedure setcount(const avalue: integer); |
| Protected | procedure loaded; override; |
| Protected | function checkfilter(const filter: lbfiltereventty; const index: integerarty; var aindex: integer): boolean; |
| Protected | procedure checkindexar(var aitem: integerindexinfoty); overload; |
| Protected | procedure checkindexar(var aitem: floatindexinfoty); overload; |
| Protected | procedure checkindexar(var aitem: int64indexinfoty); overload; |
| Protected | procedure checkindexar(var aitem: stringindexinfoty; const caseinsensitive: boolean); overload; |
| Protected | procedure checkarrayindex(const value; const index: integer); |
| Protected | procedure doloadbuffer() virtual; |
| Public | constructor create(aowner: tcomponent); override; |
| Public | destructor destroy; override; |
| Public | procedure beginupdate; |
| Public | procedure endupdate; |
| Public | procedure clearbuffer; virtual; |
| Public | procedure checkbuffer; |
| Public | procedure loadbuffer; |
| Public | function find(const fieldno: integer; const avalue: integer; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
| Public | function find(const fieldno: integer; const avalue: realty; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
| Public | function find(const fieldno: integer; const avalue: int64; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
| Public | function find(const fieldno: integer; const avalue: msestring; out aindex: integer; const caseinsensitive: boolean; const filter: lbfiltereventty = nil): boolean; overload; |
| Public | function findphys(const fieldno: integer; const avalue: integer; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
| Public | function findphys(const fieldno: integer; const avalue: realty; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
| Public | function findphys(const fieldno: integer; const avalue: int64; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
| Public | function findphys(const fieldno: integer; const avalue: msestring; out aindex: integer; const caseinsensitive: boolean; const filter: lbfiltereventty = nil): boolean; overload; |
| Public | function integervaluephys(const fieldno,aindex: integer): integer; |
| Public | function integervaluelog(const fieldno,aindex: integer): integer; |
| Public | function integerindex(const fieldno,aindex: integer): integer; |
| Public | function integerindexar(const fieldno: integer): integerarty; |
| Public | function integerar(const fieldno: integer): integerarty; |
| Public | function floatvaluephys(const fieldno,aindex: integer): realty; |
| Public | function floatvaluelog(const fieldno,aindex: integer): realty; |
| Public | function floatindex(const fieldno,aindex: integer): integer; |
| Public | function floatindexar(const fieldno: integer): integerarty; |
| Public | function floatar(const fieldno: integer): realarty; |
| Public | function int64valuephys(const fieldno,aindex: integer): int64; |
| Public | function int64valuelog(const fieldno,aindex: integer): int64; |
| Public | function int64index(const fieldno,aindex: integer): integer; |
| Public | function int64indexar(const fieldno: integer): integerarty; |
| Public | function int64ar(const fieldno: integer): int64arty; |
| Public | function textvaluephys(const fieldno,aindex: integer): msestring; |
| Public | function textvaluelog(const fieldno,aindex: integer; const caseinsensitive: boolean): msestring; |
| Public | function textindex(const fieldno,aindex: integer; const caseinsensitive: boolean): integer; |
| Public | function textindexar(const fieldno: integer; const caseinsensitive: boolean): integerarty; |
| Public | function textar(const fieldno: integer): msestringarty; |
| Public | function lookupinteger(const integerkeyfieldno,integerfieldno, keyvalue: integer; const adefault: integer = 0): integer; overload; |
| Public | function lookupinteger(const int64keyfieldno,integerfieldno: integer; const keyvalue: int64; const adefault: integer = 0): integer; overload; |
| Public | function lookupinteger(const stringkeyfieldno,integerfieldno: integer; const keyvalue: msestring; const adefault: integer = 0): integer; overload; |
| Public | function lookupint64(const integerkeyfieldno,int64fieldno, keyvalue: integer; const adefault: int64 = 0): int64; overload; |
| Public | function lookupint64(const int64keyfieldno,int64fieldno: integer; const keyvalue: int64; const adefault: int64 = 0): int64; overload; |
| Public | function lookupint64(const stringkeyfieldno,int64fieldno: integer; const keyvalue: msestring; const adefault: int64 = 0): int64; overload; |
| Public | function lookuptext(const integerkeyfieldno,textfieldno, keyvalue: integer; const adefault: msestring = ''): msestring; overload; |
| Public | function lookuptext(const int64keyfieldno,textfieldno: integer; const keyvalue: int64; const adefault: msestring = ''): msestring; overload; |
| Public | function lookuptext(const stringkeyfieldno,textfieldno: integer; const keyvalue: msestring; const adefault: msestring = ''): msestring; overload; |
| Public | function lookupfloat(const integerkeyfieldno,floatfieldno,keyvalue: integer; const adefault: realty = emptyreal): realty; overload; |
| Public | function lookupfloat(const int64keyfieldno,floatfieldno: integer; const keyvalue: int64; const adefault: realty = emptyreal): realty; overload; |
| Public | function lookupfloat(const stringkeyfieldno,floatfieldno: integer; const keyvalue: msestring; const adefault: realty = emptyreal): realty; overload; |
| Public | function count: integer; virtual; |
| Public | procedure addrow(const integervalues: array of integer; const textvalues: array of msestring; const floatvalues: array of realty; const int64values: array of int64); |
| Public | procedure addrows(const integervalues: array of integerarty; const textvalues: array of msestringarty; const floatvalues: array of realarty; const int64values: array of int64arty); |
| Public | function fieldnamestext: stringarty; virtual; |
| Public | function fieldnamesfloat: stringarty; virtual; |
| Public | function fieldnamesinteger: stringarty; virtual; |
| Public | function fieldnamesint64: stringarty; virtual; |
Properties
| Public | property fieldcounttext: integer read getfieldcounttext
write setfieldcounttext default 0; |
| Public | property fieldcountfloat: integer read getfieldcountfloat
write setfieldcountfloat default 0; |
| Public | property fieldcountinteger: integer read getfieldcountinteger
write setfieldcountinteger default 0; |
| Public | property fieldcountint64: integer read getfieldcountint64
write setfieldcountint64 default 0; |
| Public | property integervalue[const fieldno,aindex: integer]: integer
read integervaluephys; |
| Public | property floatvalue[const fieldno,aindex: integer]: realty
read floatvaluephys; |
| Public | property int64value[const fieldno,aindex: integer]: int64
read int64valuephys; |
| Public | property textvalue[const fieldno,aindex: integer]: msestring
read textvaluephys; |
| Public | property beforeload: lookupbuffereventty read fbeforeload write fbeforeload; |
| Public | property afterload: lookupbuffereventty read fafterload write fafterload; |
| Public | property onchange: notifyeventty read fonchange write fonchange; |
Description
Fields
| Protected | fupdating: integer; |
|
This item has no description. | |
| Protected | fcount: integer; |
|
This item has no description. | |
| Protected | fstate: lookupbufferstatesty; |
|
This item has no description. | |
| Protected | ftextdata: stringindexinfoarty; |
|
This item has no description. | |
| Protected | fintegerdata: integerindexinfoarty; |
|
This item has no description. | |
| Protected | ffloatdata: floatindexinfoarty; |
|
This item has no description. | |
| Protected | fint64data: int64indexinfoarty; |
|
This item has no description. | |
Methods
| Protected | function getfieldcounttext: integer; virtual; |
|
This item has no description. | |
| Protected | function getfieldcountinteger: integer; virtual; |
|
This item has no description. | |
| Protected | function getfieldcountfloat: integer; virtual; |
|
This item has no description. | |
| Protected | function getfieldcountint64: integer; virtual; |
|
This item has no description. | |
| Protected | procedure setfieldcounttext(const avalue: integer); virtual; |
|
This item has no description. | |
| Protected | procedure setfieldcountinteger(const avalue: integer); virtual; |
|
This item has no description. | |
| Protected | procedure setfieldcountfloat(const avalue: integer); virtual; |
|
This item has no description. | |
| Protected | procedure setfieldcountint64(const avalue: integer); virtual; |
|
This item has no description. | |
| Protected | procedure invalidatebuffer; |
|
This item has no description. | |
| Protected | procedure readonlyprop; |
|
This item has no description. | |
| Protected | procedure changed; |
|
This item has no description. | |
| Protected | procedure asyncchanged; |
|
This item has no description. | |
| Protected | procedure doasyncevent(var atag: integer); override; |
|
This item has no description. | |
| Protected | procedure setcount(const avalue: integer); |
|
This item has no description. | |
| Protected | procedure loaded; override; |
|
This item has no description. | |
| Protected | function checkfilter(const filter: lbfiltereventty; const index: integerarty; var aindex: integer): boolean; |
|
This item has no description. | |
| Protected | procedure checkindexar(var aitem: integerindexinfoty); overload; |
|
This item has no description. | |
| Protected | procedure checkindexar(var aitem: floatindexinfoty); overload; |
|
This item has no description. | |
| Protected | procedure checkindexar(var aitem: int64indexinfoty); overload; |
|
This item has no description. | |
| Protected | procedure checkindexar(var aitem: stringindexinfoty; const caseinsensitive: boolean); overload; |
|
This item has no description. | |
| Protected | procedure checkarrayindex(const value; const index: integer); |
|
This item has no description. | |
| Protected | procedure doloadbuffer() virtual; |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
| Public | destructor destroy; override; |
|
This item has no description. | |
| Public | procedure beginupdate; |
|
This item has no description. | |
| Public | procedure endupdate; |
|
This item has no description. | |
| Public | procedure clearbuffer; virtual; |
|
This item has no description. | |
| Public | procedure checkbuffer; |
|
This item has no description. | |
| Public | procedure loadbuffer; |
|
This item has no description. | |
| Public | function find(const fieldno: integer; const avalue: integer; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
|
This item has no description. | |
| Public | function find(const fieldno: integer; const avalue: realty; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
|
This item has no description. | |
| Public | function find(const fieldno: integer; const avalue: int64; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
|
This item has no description. | |
| Public | function find(const fieldno: integer; const avalue: msestring; out aindex: integer; const caseinsensitive: boolean; const filter: lbfiltereventty = nil): boolean; overload; |
|
This item has no description. | |
| Public | function findphys(const fieldno: integer; const avalue: integer; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
|
This item has no description. | |
| Public | function findphys(const fieldno: integer; const avalue: realty; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
|
This item has no description. | |
| Public | function findphys(const fieldno: integer; const avalue: int64; out aindex: integer; const filter: lbfiltereventty = nil): boolean; overload; |
|
This item has no description. | |
| Public | function findphys(const fieldno: integer; const avalue: msestring; out aindex: integer; const caseinsensitive: boolean; const filter: lbfiltereventty = nil): boolean; overload; |
|
This item has no description. | |
| Public | function integervaluephys(const fieldno,aindex: integer): integer; |
|
This item has no description. | |
| Public | function integervaluelog(const fieldno,aindex: integer): integer; |
|
This item has no description. | |
| Public | function integerindex(const fieldno,aindex: integer): integer; |
|
This item has no description. | |
| Public | function integerindexar(const fieldno: integer): integerarty; |
|
This item has no description. | |
| Public | function integerar(const fieldno: integer): integerarty; |
|
This item has no description. | |
| Public | function floatvaluephys(const fieldno,aindex: integer): realty; |
|
This item has no description. | |
| Public | function floatvaluelog(const fieldno,aindex: integer): realty; |
|
This item has no description. | |
| Public | function floatindex(const fieldno,aindex: integer): integer; |
|
This item has no description. | |
| Public | function floatindexar(const fieldno: integer): integerarty; |
|
This item has no description. | |
| Public | function floatar(const fieldno: integer): realarty; |
|
This item has no description. | |
| Public | function int64valuephys(const fieldno,aindex: integer): int64; |
|
This item has no description. | |
| Public | function int64valuelog(const fieldno,aindex: integer): int64; |
|
This item has no description. | |
| Public | function int64index(const fieldno,aindex: integer): integer; |
|
This item has no description. | |
| Public | function int64indexar(const fieldno: integer): integerarty; |
|
This item has no description. | |
| Public | function int64ar(const fieldno: integer): int64arty; |
|
This item has no description. | |
| Public | function textvaluephys(const fieldno,aindex: integer): msestring; |
|
This item has no description. | |
| Public | function textvaluelog(const fieldno,aindex: integer; const caseinsensitive: boolean): msestring; |
|
This item has no description. | |
| Public | function textindex(const fieldno,aindex: integer; const caseinsensitive: boolean): integer; |
|
This item has no description. | |
| Public | function textindexar(const fieldno: integer; const caseinsensitive: boolean): integerarty; |
|
This item has no description. | |
| Public | function textar(const fieldno: integer): msestringarty; |
|
This item has no description. | |
| Public | function lookupinteger(const integerkeyfieldno,integerfieldno, keyvalue: integer; const adefault: integer = 0): integer; overload; |
|
This item has no description. | |
| Public | function lookupinteger(const int64keyfieldno,integerfieldno: integer; const keyvalue: int64; const adefault: integer = 0): integer; overload; |
|
This item has no description. | |
| Public | function lookupinteger(const stringkeyfieldno,integerfieldno: integer; const keyvalue: msestring; const adefault: integer = 0): integer; overload; |
|
This item has no description. | |
| Public | function lookupint64(const integerkeyfieldno,int64fieldno, keyvalue: integer; const adefault: int64 = 0): int64; overload; |
|
This item has no description. | |
| Public | function lookupint64(const int64keyfieldno,int64fieldno: integer; const keyvalue: int64; const adefault: int64 = 0): int64; overload; |
|
This item has no description. | |
| Public | function lookupint64(const stringkeyfieldno,int64fieldno: integer; const keyvalue: msestring; const adefault: int64 = 0): int64; overload; |
|
This item has no description. | |
| Public | function lookuptext(const integerkeyfieldno,textfieldno, keyvalue: integer; const adefault: msestring = ''): msestring; overload; |
|
This item has no description. | |
| Public | function lookuptext(const int64keyfieldno,textfieldno: integer; const keyvalue: int64; const adefault: msestring = ''): msestring; overload; |
|
This item has no description. | |
| Public | function lookuptext(const stringkeyfieldno,textfieldno: integer; const keyvalue: msestring; const adefault: msestring = ''): msestring; overload; |
|
This item has no description. | |
| Public | function lookupfloat(const integerkeyfieldno,floatfieldno,keyvalue: integer; const adefault: realty = emptyreal): realty; overload; |
|
This item has no description. | |
| Public | function lookupfloat(const int64keyfieldno,floatfieldno: integer; const keyvalue: int64; const adefault: realty = emptyreal): realty; overload; |
|
This item has no description. | |
| Public | function lookupfloat(const stringkeyfieldno,floatfieldno: integer; const keyvalue: msestring; const adefault: realty = emptyreal): realty; overload; |
|
This item has no description. | |
| Public | function count: integer; virtual; |
|
This item has no description. | |
| Public | procedure addrow(const integervalues: array of integer; const textvalues: array of msestring; const floatvalues: array of realty; const int64values: array of int64); |
|
This item has no description. | |
| Public | procedure addrows(const integervalues: array of integerarty; const textvalues: array of msestringarty; const floatvalues: array of realarty; const int64values: array of int64arty); |
|
This item has no description. | |
| Public | function fieldnamestext: stringarty; virtual; |
|
This item has no description. | |
| Public | function fieldnamesfloat: stringarty; virtual; |
|
This item has no description. | |
| Public | function fieldnamesinteger: stringarty; virtual; |
|
This item has no description. | |
| Public | function fieldnamesint64: stringarty; virtual; |
|
This item has no description. | |
Properties
| Public | property fieldcounttext: integer read getfieldcounttext
write setfieldcounttext default 0; |
|
This item has no description. | |
| Public | property fieldcountfloat: integer read getfieldcountfloat
write setfieldcountfloat default 0; |
|
This item has no description. | |
| Public | property fieldcountinteger: integer read getfieldcountinteger
write setfieldcountinteger default 0; |
|
This item has no description. | |
| Public | property fieldcountint64: integer read getfieldcountint64
write setfieldcountint64 default 0; |
|
This item has no description. | |
| Public | property integervalue[const fieldno,aindex: integer]: integer
read integervaluephys; |
|
This item has no description. | |
| Public | property floatvalue[const fieldno,aindex: integer]: realty
read floatvaluephys; |
|
This item has no description. | |
| Public | property int64value[const fieldno,aindex: integer]: int64
read int64valuephys; |
|
This item has no description. | |
| Public | property textvalue[const fieldno,aindex: integer]: msestring
read textvaluephys; |
|
This item has no description. | |
| Public | property beforeload: lookupbuffereventty read fbeforeload write fbeforeload; |
|
This item has no description. | |
| Public | property afterload: lookupbuffereventty read fafterload write fafterload; |
|
This item has no description. | |
| Public | property onchange: notifyeventty read fonchange write fonchange; |
|
This item has no description. | |
Generated by PasDoc 0.17.0.snapshot.