Class tifidataset

Unit

Declaration

type tifidataset = class(tdataset, idscontroller, igetdscontroller, imselocate, iifidscontroller, iifimodulelink, iactivatorclient)

Description

Hierarchy

Overview

Fields

Protected ffielddefsequence: sequencety;

Methods

Protected procedure checkrecno(const avalue: integer);
Protected function updatesortfield(const afield: tfield; const adescend: boolean): boolean;
Protected function getfielddefs: tfielddefs;
Protected function getfieldinfos: fieldinfoarty;
Protected procedure requestfielddefsreceived(const asequence: sequencety); virtual;
Protected procedure requestopendsreceived(const asequence: sequencety); virtual;
Protected procedure fielddefsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual;
Protected procedure dsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual;
Protected function getmodifiedfields: string;
Protected function setcurrentbuf(const abuf: pintrecordty): pintrecordty;
Protected procedure decoderecord(var adata: pointer; const dest: pintrecordty);
Protected function decoderecords(const adata: precdataty; out asize: integer): boolean;
Protected procedure notimplemented(const atext: string);
Protected procedure bindfields(const bind: boolean);
Protected function AllocRecordBuffer: PChar; override;
Protected procedure FreeRecordBuffer(var Buffer: PChar); override;
Protected procedure GetBookmarkData(Buffer: PChar; Data: Pointer); override;
Protected function GetBookmarkFlag(Buffer: PChar): TBookmarkFlag; override;
Protected function GetRecord(Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override;
Protected function GetRecordSize: Word; override;
Protected function getrecno: integer; override;
Protected procedure setrecno(value: longint); override;
Protected function GetRecordCount: Longint; override;
Protected function getfieldbuffer(const afield: tfield; out buffer: pointer; out datasize: integer): boolean; overload;
Protected function getfieldbuffer(const afield: tfield; const isnull: boolean; out datasize: integer): pointer; overload;
Protected function getmsestringdata(const sender: tmsestringfield; out avalue: msestring): boolean;
Protected procedure setmsestringdata(const sender: tmsestringfield; avalue: msestring);
Protected procedure dataevent(event: tdataevent; info: ptrint); override;
Protected procedure InternalCancel; override;
Protected procedure internaledit; override;
Protected procedure InternalRefresh; override;
Protected procedure InternalAddRecord(Buffer: Pointer; AAppend: Boolean); override;
Protected procedure InternalClose; override;
Protected procedure InternalDelete; override;
Protected procedure InternalFirst; override;
Protected procedure InternalGotoBookmark(ABookmark: Pointer); override;
Protected procedure InternalInitFieldDefs; override;
Protected procedure InternalInitRecord(Buffer: PChar); override;
Protected procedure InternalLast; override;
Protected procedure InternalOpen; override;
Protected procedure InternalPost; override;
Protected procedure InternalSetToRecord(Buffer: PChar); override;
Protected function IsCursorOpen: Boolean; override;
Protected procedure SetBookmarkFlag(Buffer: PChar; Value: TBookmarkFlag); override;
Protected procedure SetBookmarkData(Buffer: PChar; Data: Pointer); override;
Protected function getcanmodify: boolean; override;
Protected procedure cancelconnection;
Protected procedure calcrecordsize;
Protected procedure setactive(const value : boolean); reintroduce;
Protected function getactive: boolean;
Protected procedure loaded; override;
Protected function getfieldclass(fieldtype: tfieldtype): tfieldclass; override;
Protected procedure openlocal;
Protected procedure internalinsert; override;
Protected procedure begindisplaydata;
Protected procedure enddisplaydata;
Protected procedure connectmodule(const sender: tcustommodulelink);
Public constructor create(aowner: tcomponent); override;
Public destructor destroy; override;
Public procedure beginupdate;
Public procedure endupdate;
Public procedure Append;
Public 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;
Public function getfielddata(field: tfield; buffer: pointer; nativeformat: boolean): boolean; override;
Public function getfielddata(field: tfield; buffer: pointer): boolean; override;
Public procedure setfielddata(field: tfield; buffer: pointer); override;
Public procedure setfielddata(field: tfield; buffer: pointer; nativeformat: boolean); override;
Public procedure AppendRecord(const Values: array of const);
Public procedure cancel; override;
Public procedure post; override;
Public function moveby(const distance: integer): integer;
Public function islastrecord: boolean;

Properties

Public property ifistate: ifidsstatesty read getifistate;
Published property controller: tdscontroller read fcontroller write setcontroller;
Published property Active: boolean read getactive write setactive default false;
Published property ifi: tifidscontroller read fificontroller write setificountroller;
Published property BeforeOpen;
Published property AfterOpen;
Published property BeforeClose;
Published property AfterClose;
Published property BeforeInsert;
Published property AfterInsert;
Published property BeforeEdit;
Published property AfterEdit;
Published property BeforePost;
Published property AfterPost;
Published property BeforeCancel;
Published property AfterCancel;
Published property BeforeDelete;
Published property AfterDelete;
Published property BeforeScroll;
Published property AfterScroll;
Published property OnCalcFields;
Published property OnDeleteError;
Published property OnEditError;
Published property OnFilterRecord;
Published property OnNewRecord;
Published property OnPostError;
Published property onmodified;
Published property AutoCalcFields default false;

Description

Fields

Protected ffielddefsequence: sequencety;
 

Methods

Protected procedure checkrecno(const avalue: integer);
 
Protected function updatesortfield(const afield: tfield; const adescend: boolean): boolean;
 
Protected function getfielddefs: tfielddefs;
 
Protected function getfieldinfos: fieldinfoarty;
 
Protected procedure requestfielddefsreceived(const asequence: sequencety); virtual;
 
Protected procedure requestopendsreceived(const asequence: sequencety); virtual;
 
Protected procedure fielddefsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual;
 
Protected procedure dsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual;
 
Protected function getmodifiedfields: string;
 
Protected function setcurrentbuf(const abuf: pintrecordty): pintrecordty;
 
Protected procedure decoderecord(var adata: pointer; const dest: pintrecordty);
 
Protected function decoderecords(const adata: precdataty; out asize: integer): boolean;
 
Protected procedure notimplemented(const atext: string);
 
Protected procedure bindfields(const bind: boolean);
 
Protected function AllocRecordBuffer: PChar; override;
 
Protected procedure FreeRecordBuffer(var Buffer: PChar); override;
 
Protected procedure GetBookmarkData(Buffer: PChar; Data: Pointer); override;
 
Protected function GetBookmarkFlag(Buffer: PChar): TBookmarkFlag; override;
 
Protected function GetRecord(Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override;
 
Protected function GetRecordSize: Word; override;
 
Protected function getrecno: integer; override;
 
Protected procedure setrecno(value: longint); override;
 
Protected function GetRecordCount: Longint; override;
 
Protected function getfieldbuffer(const afield: tfield; out buffer: pointer; out datasize: integer): boolean; overload;
 
Protected function getfieldbuffer(const afield: tfield; const isnull: boolean; out datasize: integer): pointer; overload;
 
Protected function getmsestringdata(const sender: tmsestringfield; out avalue: msestring): boolean;
 
Protected procedure setmsestringdata(const sender: tmsestringfield; avalue: msestring);
 
Protected procedure dataevent(event: tdataevent; info: ptrint); override;
 
Protected procedure InternalCancel; override;
 
Protected procedure internaledit; override;
 
Protected procedure InternalRefresh; override;
 
Protected procedure InternalAddRecord(Buffer: Pointer; AAppend: Boolean); override;
 
Protected procedure InternalClose; override;
 
Protected procedure InternalDelete; override;
 
Protected procedure InternalFirst; override;
 
Protected procedure InternalGotoBookmark(ABookmark: Pointer); override;
 
Protected procedure InternalInitFieldDefs; override;
 
Protected procedure InternalInitRecord(Buffer: PChar); override;
 
Protected procedure InternalLast; override;
 
Protected procedure InternalOpen; override;
 
Protected procedure InternalPost; override;
 
Protected procedure InternalSetToRecord(Buffer: PChar); override;
 
Protected function IsCursorOpen: Boolean; override;
 
Protected procedure SetBookmarkFlag(Buffer: PChar; Value: TBookmarkFlag); override;
 
Protected procedure SetBookmarkData(Buffer: PChar; Data: Pointer); override;
 
Protected function getcanmodify: boolean; override;
 
Protected procedure cancelconnection;
 
Protected procedure calcrecordsize;
 
Protected procedure setactive(const value : boolean); reintroduce;
 
Protected function getactive: boolean;
 
Protected procedure loaded; override;
 
Protected function getfieldclass(fieldtype: tfieldtype): tfieldclass; override;
 
Protected procedure openlocal;
 
Protected procedure internalinsert; override;
 
Protected procedure begindisplaydata;
 
Protected procedure enddisplaydata;
 
Protected procedure connectmodule(const sender: tcustommodulelink);
 
Public constructor create(aowner: tcomponent); override;
 
Public destructor destroy; override;
 
Public procedure beginupdate;
 
Public procedure endupdate;
 
Public procedure Append;
 
Public 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;
 
Public function getfielddata(field: tfield; buffer: pointer; nativeformat: boolean): boolean; override;
 
Public function getfielddata(field: tfield; buffer: pointer): boolean; override;
 
Public procedure setfielddata(field: tfield; buffer: pointer); override;
 
Public procedure setfielddata(field: tfield; buffer: pointer; nativeformat: boolean); override;
 
Public procedure AppendRecord(const Values: array of const);
 
Public procedure cancel; override;
 
Public procedure post; override;
 
Public function moveby(const distance: integer): integer;
 
Public function islastrecord: boolean;
 

Properties

Public property ifistate: ifidsstatesty read getifistate;
 
Published property controller: tdscontroller read fcontroller write setcontroller;
 
Published property Active: boolean read getactive write setactive default false;
 
Published property ifi: tifidscontroller read fificontroller write setificountroller;
 
Published property BeforeOpen;
 
Published property AfterOpen;
 
Published property BeforeClose;
 
Published property AfterClose;
 
Published property BeforeInsert;
 
Published property AfterInsert;
 
Published property BeforeEdit;
 
Published property AfterEdit;
 
Published property BeforePost;
 
Published property AfterPost;
 
Published property BeforeCancel;
 
Published property AfterCancel;
 
Published property BeforeDelete;
 
Published property AfterDelete;
 
Published property BeforeScroll;
 
Published property AfterScroll;
 
Published property OnCalcFields;
 
Published property OnDeleteError;
 
Published property OnEditError;
 
Published property OnFilterRecord;
 
Published property OnNewRecord;
 
Published property OnPostError;
 
Published property onmodified;
 
Published property AutoCalcFields default false;
 

Generated by PasDoc 0.16.0.