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