Class tifidataset

Unit

Declaration

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

Description

This item has no 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;

This item has no description.

Methods

Protected procedure checkrecno(const avalue: integer);

This item has no description.

Protected function updatesortfield(const afield: tfield; const adescend: boolean): boolean;

This item has no description.

Protected function getfielddefs: tfielddefs;

This item has no description.

Protected function getfieldinfos: fieldinfoarty;

This item has no description.

Protected procedure requestfielddefsreceived(const asequence: sequencety); virtual;

This item has no description.

Protected procedure requestopendsreceived(const asequence: sequencety); virtual;

This item has no description.

Protected procedure fielddefsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual;

This item has no description.

Protected procedure dsdatareceived( const asequence: sequencety; const adata: pfielddefsdatadataty); virtual;

This item has no description.

Protected function getmodifiedfields: string;

This item has no description.

Protected function setcurrentbuf(const abuf: pintrecordty): pintrecordty;

This item has no description.

Protected procedure decoderecord(var adata: pointer; const dest: pintrecordty);

This item has no description.

Protected function decoderecords(const adata: precdataty; out asize: integer): boolean;

This item has no description.

Protected procedure notimplemented(const atext: string);

This item has no description.

Protected procedure bindfields(const bind: boolean);

This item has no description.

Protected function AllocRecordBuffer: PChar; override;

This item has no description.

Protected procedure FreeRecordBuffer(var Buffer: PChar); override;

This item has no description.

Protected procedure GetBookmarkData(Buffer: PChar; Data: Pointer); override;

This item has no description.

Protected function GetBookmarkFlag(Buffer: PChar): TBookmarkFlag; override;

This item has no description.

Protected function GetRecord(Buffer: PChar; GetMode: TGetMode; DoCheck: Boolean): TGetResult; override;

This item has no description.

Protected function GetRecordSize: Word; override;

This item has no description.

Protected function getrecno: integer; override;

This item has no description.

Protected procedure setrecno(value: longint); override;

This item has no description.

Protected function GetRecordCount: Longint; override;

This item has no description.

Protected function getfieldbuffer(const afield: tfield; out buffer: pointer; out datasize: integer): boolean; overload;

This item has no description.

Protected function getfieldbuffer(const afield: tfield; const isnull: boolean; out datasize: integer): pointer; overload;

This item has no description.

Protected function getmsestringdata(const sender: tmsestringfield; out avalue: msestring): boolean;

This item has no description.

Protected procedure setmsestringdata(const sender: tmsestringfield; avalue: msestring);

This item has no description.

Protected procedure dataevent(event: tdataevent; info: ptrint); override;

This item has no description.

Protected procedure InternalCancel; override;

This item has no description.

Protected procedure internaledit; override;

This item has no description.

Protected procedure InternalRefresh; override;

This item has no description.

Protected procedure InternalAddRecord(Buffer: Pointer; AAppend: Boolean); override;

This item has no description.

Protected procedure InternalClose; override;

This item has no description.

Protected procedure InternalDelete; override;

This item has no description.

Protected procedure InternalFirst; override;

This item has no description.

Protected procedure InternalGotoBookmark(ABookmark: Pointer); override;

This item has no description.

Protected procedure InternalInitFieldDefs; override;

This item has no description.

Protected procedure InternalInitRecord(Buffer: PChar); override;

This item has no description.

Protected procedure InternalLast; override;

This item has no description.

Protected procedure InternalOpen; override;

This item has no description.

Protected procedure InternalPost; override;

This item has no description.

Protected procedure InternalSetToRecord(Buffer: PChar); override;

This item has no description.

Protected function IsCursorOpen: Boolean; override;

This item has no description.

Protected procedure SetBookmarkFlag(Buffer: PChar; Value: TBookmarkFlag); override;

This item has no description.

Protected procedure SetBookmarkData(Buffer: PChar; Data: Pointer); override;

This item has no description.

Protected function getcanmodify: boolean; override;

This item has no description.

Protected procedure cancelconnection;

This item has no description.

Protected procedure calcrecordsize;

This item has no description.

Protected procedure setactive(const value : boolean); reintroduce;

This item has no description.

Protected function getactive: boolean;

This item has no description.

Protected procedure loaded; override;

This item has no description.

Protected function getfieldclass(fieldtype: tfieldtype): tfieldclass; override;

This item has no description.

Protected procedure openlocal;

This item has no description.

Protected procedure internalinsert; override;

This item has no description.

Protected procedure begindisplaydata;

This item has no description.

Protected procedure enddisplaydata;

This item has no description.

Protected procedure connectmodule(const sender: tcustommodulelink);

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 Append;

This item has no description.

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;

This item has no description.

Public function getfielddata(field: tfield; buffer: pointer; nativeformat: boolean): boolean; override;

This item has no description.

Public function getfielddata(field: tfield; buffer: pointer): boolean; override;

This item has no description.

Public procedure setfielddata(field: tfield; buffer: pointer); override;

This item has no description.

Public procedure setfielddata(field: tfield; buffer: pointer; nativeformat: boolean); override;

This item has no description.

Public procedure AppendRecord(const Values: array of const);

This item has no description.

Public procedure cancel; override;

This item has no description.

Public procedure post; override;

This item has no description.

Public function moveby(const distance: integer): integer;

This item has no description.

Public function islastrecord: boolean;

This item has no description.

Properties

Public property ifistate: ifidsstatesty read getifistate;

This item has no description.

Published property controller: tdscontroller read fcontroller write setcontroller;

This item has no description.

Published property Active: boolean read getactive write setactive default false;

This item has no description.

Published property ifi: tifidscontroller read fificontroller write setificountroller;

This item has no description.

Published property BeforeOpen;

This item has no description.

Published property AfterOpen;

This item has no description.

Published property BeforeClose;

This item has no description.

Published property AfterClose;

This item has no description.

Published property BeforeInsert;

This item has no description.

Published property AfterInsert;

This item has no description.

Published property BeforeEdit;

This item has no description.

Published property AfterEdit;

This item has no description.

Published property BeforePost;

This item has no description.

Published property AfterPost;

This item has no description.

Published property BeforeCancel;

This item has no description.

Published property AfterCancel;

This item has no description.

Published property BeforeDelete;

This item has no description.

Published property AfterDelete;

This item has no description.

Published property BeforeScroll;

This item has no description.

Published property AfterScroll;

This item has no description.

Published property OnCalcFields;

This item has no description.

Published property OnDeleteError;

This item has no description.

Published property OnEditError;

This item has no description.

Published property OnFilterRecord;

This item has no description.

Published property OnNewRecord;

This item has no description.

Published property OnPostError;

This item has no description.

Published property onmodified;

This item has no description.

Published property AutoCalcFields default false;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.