Class tifidataset
Unit
Declaration
type tifidataset = class(tdataset, idscontroller, igetdscontroller, imselocate, iifidscontroller, iifimodulelink, iactivatorclient)
Description
Hierarchy
- tdataset
- tifidataset
Overview
Fields
ffielddefsequence: sequencety; |
Methods
procedure checkrecno(const avalue: integer); |
|
function updatesortfield(const afield: tfield; const adescend: boolean): boolean; |
|
function getfielddefs: tfielddefs; |
|
function getfieldinfos: fieldinfoarty; |
|
procedure requestfielddefsreceived(const asequence: sequencety); virtual; |
|
procedure requestopendsreceived(const asequence: sequencety); virtual; |
|
procedure fielddefsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual; |
|
procedure dsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual; |
|
function getmodifiedfields: string; |
|
function setcurrentbuf(const abuf: pintrecordty): pintrecordty; |
|
procedure decoderecord(var adata: pointer; const dest: pintrecordty); |
|
function decoderecords(const adata: precdataty; out asize: integer): boolean; |
|
procedure notimplemented(const atext: string); |
|
procedure bindfields(const bind: boolean); |
|
function AllocRecordBuffer: PChar; override; |
|
procedure FreeRecordBuffer(var Buffer: PChar); override; |
|
procedure GetBookmarkData(Buffer: PChar; Data: Pointer); override; |
|
function GetBookmarkFlag(Buffer: PChar): TBookmarkFlag; override; |
|
function GetRecord(Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override; |
|
function GetRecordSize: Word; override; |
|
function getrecno: integer; override; |
|
procedure setrecno(value: longint); override; |
|
function GetRecordCount: Longint; override; |
|
function getfieldbuffer(const afield: tfield; out buffer: pointer; out datasize: integer): boolean; overload; |
|
function getfieldbuffer(const afield: tfield; const isnull: boolean; out datasize: integer): pointer; overload; |
|
function getmsestringdata(const sender: tmsestringfield; out avalue: msestring): boolean; |
|
procedure setmsestringdata(const sender: tmsestringfield; avalue: msestring); |
|
procedure dataevent(event: tdataevent; info: ptrint); override; |
|
procedure InternalCancel; override; |
|
procedure internaledit; override; |
|
procedure InternalRefresh; override; |
|
procedure InternalAddRecord(Buffer: Pointer; AAppend: Boolean); override; |
|
procedure InternalClose; override; |
|
procedure InternalDelete; override; |
|
procedure InternalFirst; override; |
|
procedure InternalGotoBookmark(ABookmark: Pointer); override; |
|
procedure InternalInitFieldDefs; override; |
|
procedure InternalInitRecord(Buffer: PChar); override; |
|
procedure InternalLast; override; |
|
procedure InternalOpen; override; |
|
procedure InternalPost; override; |
|
procedure InternalSetToRecord(Buffer: PChar); override; |
|
function IsCursorOpen: Boolean; override; |
|
procedure SetBookmarkFlag(Buffer: PChar; Value: TBookmarkFlag); override; |
|
procedure SetBookmarkData(Buffer: PChar; Data: Pointer); override; |
|
function getcanmodify: boolean; override; |
|
procedure cancelconnection; |
|
procedure calcrecordsize; |
|
procedure setactive(const value : boolean); reintroduce; |
|
function getactive: boolean; |
|
procedure loaded; override; |
|
function getfieldclass(fieldtype: tfieldtype): tfieldclass; override; |
|
procedure openlocal; |
|
procedure internalinsert; override; |
|
procedure begindisplaydata; |
|
procedure enddisplaydata; |
|
procedure connectmodule(const sender: tcustommodulelink); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure beginupdate; |
|
procedure endupdate; |
|
procedure Append; |
|
function locate(const afields: array of tfield; const akeys: array of const; const aisnull: array of boolean; const akeyoptions: array of locatekeyoptionsty; const aoptions: locaterecordoptionsty = []): locateresultty; reintroduce; |
|
function getfielddata(field: tfield; buffer: pointer; nativeformat: boolean): boolean; override; |
|
function getfielddata(field: tfield; buffer: pointer): boolean; override; |
|
procedure setfielddata(field: tfield; buffer: pointer); override; |
|
procedure setfielddata(field: tfield; buffer: pointer; nativeformat: boolean); override; |
|
procedure AppendRecord(const Values: array of const); |
|
procedure cancel; override; |
|
procedure post; override; |
|
function moveby(const distance: integer): integer; |
|
function islastrecord: boolean; |
Properties
property ifistate: ifidsstatesty read getifistate; |
|
property controller: tdscontroller read fcontroller write setcontroller; |
|
property Active: boolean read getactive write setactive default false; |
|
property ifi: tifidscontroller read fificontroller write setificountroller; |
|
property BeforeOpen; |
|
property AfterOpen; |
|
property BeforeClose; |
|
property AfterClose; |
|
property BeforeInsert; |
|
property AfterInsert; |
|
property BeforeEdit; |
|
property AfterEdit; |
|
property BeforePost; |
|
property AfterPost; |
|
property BeforeCancel; |
|
property AfterCancel; |
|
property BeforeDelete; |
|
property AfterDelete; |
|
property BeforeScroll; |
|
property AfterScroll; |
|
property OnCalcFields; |
|
property OnDeleteError; |
|
property OnEditError; |
|
property OnFilterRecord; |
|
property OnNewRecord; |
|
property OnPostError; |
|
property onmodified; |
|
property AutoCalcFields default false; |
Description
Fields
ffielddefsequence: sequencety; |
|
Methods
procedure checkrecno(const avalue: integer); |
|
function updatesortfield(const afield: tfield; const adescend: boolean): boolean; |
|
function getfielddefs: tfielddefs; |
|
function getfieldinfos: fieldinfoarty; |
|
procedure requestfielddefsreceived(const asequence: sequencety); virtual; |
|
procedure requestopendsreceived(const asequence: sequencety); virtual; |
|
procedure fielddefsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual; |
|
procedure dsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual; |
|
function getmodifiedfields: string; |
|
function setcurrentbuf(const abuf: pintrecordty): pintrecordty; |
|
procedure decoderecord(var adata: pointer; const dest: pintrecordty); |
|
function decoderecords(const adata: precdataty; out asize: integer): boolean; |
|
procedure notimplemented(const atext: string); |
|
procedure bindfields(const bind: boolean); |
|
function AllocRecordBuffer: PChar; override; |
|
procedure FreeRecordBuffer(var Buffer: PChar); override; |
|
procedure GetBookmarkData(Buffer: PChar; Data: Pointer); override; |
|
function GetBookmarkFlag(Buffer: PChar): TBookmarkFlag; override; |
|
function GetRecord(Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override; |
|
function GetRecordSize: Word; override; |
|
function getrecno: integer; override; |
|
procedure setrecno(value: longint); override; |
|
function GetRecordCount: Longint; override; |
|
function getfieldbuffer(const afield: tfield; out buffer: pointer; out datasize: integer): boolean; overload; |
|
function getfieldbuffer(const afield: tfield; const isnull: boolean; out datasize: integer): pointer; overload; |
|
function getmsestringdata(const sender: tmsestringfield; out avalue: msestring): boolean; |
|
procedure setmsestringdata(const sender: tmsestringfield; avalue: msestring); |
|
procedure dataevent(event: tdataevent; info: ptrint); override; |
|
procedure InternalCancel; override; |
|
procedure internaledit; override; |
|
procedure InternalRefresh; override; |
|
procedure InternalAddRecord(Buffer: Pointer; AAppend: Boolean); override; |
|
procedure InternalClose; override; |
|
procedure InternalDelete; override; |
|
procedure InternalFirst; override; |
|
procedure InternalGotoBookmark(ABookmark: Pointer); override; |
|
procedure InternalInitFieldDefs; override; |
|
procedure InternalInitRecord(Buffer: PChar); override; |
|
procedure InternalLast; override; |
|
procedure InternalOpen; override; |
|
procedure InternalPost; override; |
|
procedure InternalSetToRecord(Buffer: PChar); override; |
|
function IsCursorOpen: Boolean; override; |
|
procedure SetBookmarkFlag(Buffer: PChar; Value: TBookmarkFlag); override; |
|
procedure SetBookmarkData(Buffer: PChar; Data: Pointer); override; |
|
function getcanmodify: boolean; override; |
|
procedure cancelconnection; |
|
procedure calcrecordsize; |
|
procedure setactive(const value : boolean); reintroduce; |
|
function getactive: boolean; |
|
procedure loaded; override; |
|
function getfieldclass(fieldtype: tfieldtype): tfieldclass; override; |
|
procedure openlocal; |
|
procedure internalinsert; override; |
|
procedure begindisplaydata; |
|
procedure enddisplaydata; |
|
procedure connectmodule(const sender: tcustommodulelink); |
|
constructor create(aowner: tcomponent); override; |
|
destructor destroy; override; |
|
procedure beginupdate; |
|
procedure endupdate; |
|
procedure Append; |
|
function locate(const afields: array of tfield; const akeys: array of const; const aisnull: array of boolean; const akeyoptions: array of locatekeyoptionsty; const aoptions: locaterecordoptionsty = []): locateresultty; reintroduce; |
|
function getfielddata(field: tfield; buffer: pointer; nativeformat: boolean): boolean; override; |
|
function getfielddata(field: tfield; buffer: pointer): boolean; override; |
|
procedure setfielddata(field: tfield; buffer: pointer); override; |
|
procedure setfielddata(field: tfield; buffer: pointer; nativeformat: boolean); override; |
|
procedure AppendRecord(const Values: array of const); |
|
procedure cancel; override; |
|
procedure post; override; |
|
function moveby(const distance: integer): integer; |
|
function islastrecord: boolean; |
|
Properties
property ifistate: ifidsstatesty read getifistate; |
|
property controller: tdscontroller read fcontroller write setcontroller; |
|
property Active: boolean read getactive write setactive default false; |
|
property ifi: tifidscontroller read fificontroller write setificountroller; |
|
property BeforeOpen; |
|
property AfterOpen; |
|
property BeforeClose; |
|
property AfterClose; |
|
property BeforeInsert; |
|
property AfterInsert; |
|
property BeforeEdit; |
|
property AfterEdit; |
|
property BeforePost; |
|
property AfterPost; |
|
property BeforeCancel; |
|
property AfterCancel; |
|
property BeforeDelete; |
|
property AfterDelete; |
|
property BeforeScroll; |
|
property AfterScroll; |
|
property OnCalcFields; |
|
property OnDeleteError; |
|
property OnEditError; |
|
property OnFilterRecord; |
|
property OnNewRecord; |
|
property OnPostError; |
|
property onmodified; |
|
property AutoCalcFields default false; |
|
Generated by PasDoc 0.16.0.