Unit mseifi

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record datarecty  
Record ifirealintty  
Record ifimsestringintty  
Record selectdataty  
Record ifibytesty  
Record ifidataheaderty  
Record ifidataty  
Record itemheaderty  
Record modulecommanddataty  
Record modulecommandty  
Record actionfiredty  
Record propertychangedty  
Record widgetcommandty  
Record widgetpropertiesty  
Record requestmodulety  
Record moduledatadataty  
Record moduledataty  
Record requestfielddefsty  
Record fielddefsdatadataty  
Record fielddefsdataty  
Record postresultdataty  
Record postresultty  
Record fielddataheaderty  
Record fielddataty  
Record requestopenty  
Record fieldrecheaderty  
Record fieldrecdataty  
Record fieldrecty  
Record rowstateheaderty  
Record rowstatedataty  
Record selectiondataty  
Record colitemheaderty  
Record colitemdataty  
Record coldataty  
Record griddatadataty  
Record griddataty  
Record gridcommanddatadataty  
Record gridcommanddataty  
Record recdataheaderty  
Record recdataty  
Record dsdataty  
Record ifiheaderty  
Record ifirecty  
Class twaitingclient  
Class tiosynchronizer  
Class tcustomiochannel  
Class tstuffediochannel  
Class tcustompipeiochannel  
Class tpipeiochannel  
Class tsocketstdiochannel  
Class tifisocketclient  
Class tsocketclientiochannel  
Class tcustomsocketserveriochannel  
Class tsocketserveriochannel  
Class tifiiolinkcomponent  

Functions and Procedures

procedure initifirec(out arec: string; const akind: ifireckindty; const asequence: sequencety; const datalength: integer; out datapo: pchar);
procedure inititemheader(const atag: integer; const aname: string; out arec: string; const akind: ifireckindty; const asequence: sequencety; const datasize: integer; out datapo: pchar);
function ifinametostring(const source: pifinamety; out dest: string): integer;
function stringtoifiname(const source: string; const dest: pifinamety): integer;
function encodeifinull(const headersize: integer = 0): string;
function encodeifidata(const avalue: boolean; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: integer; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: int64; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: currency; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: real; const headersize: integer = 0): string; overload;
function encodeifidatareal(const avalue: real; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: realintty; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: msestring; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: msestringintty; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: ansistring; const headersize: integer = 0): string; overload;
function encodeifidata(const alist: tdatalist; const aindex: integer; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: rowstatety; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: rowstatecolmergety; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: rowstaterowheightty; const headersize: integer = 0): string; overload;
function encodeifidata(const avalue: selectdataty; const headersize: integer = 0): string; overload;
function skipifidata(const source: pifidataty): integer;
function decodeifidata(const source: pifidataty; out dest: msestring): integer; overload;
function decodeifidata(const source: pifidataty; out dest: string): integer; overload;
function decodeifidata(const source: pifidataty; out dest: integer): integer; overload;
function decodeifidata(const source: pifidataty; out dest: int64): integer; overload;
function decodeifidata(const source: pifidataty; out dest: real): integer; overload;
function decodeifidatareal(const source: pifidataty; out dest: double): integer; overload;
function decodeifidata(const source: pifidataty; out dest: realintty): integer; overload;
function decodeifidata(const source: pifidataty; out dest: currency): integer; overload;
function decodeifidata(const source: pifidataty; out dest: msestringintty): integer; overload;
function decodeifidata(const source: pifidataty; out dest: variant): integer; overload;
function decodeifidata(const source: pifidataty; const aindex: integer; const alist: tdatalist): integer; overload;
function decodeifidata(const source: pifidataty; const aindex: integer; const alist: subdatainfoty): integer; overload;
function decodeifidata(const source: pifidataty; out dest: rowstatety): integer; overload;
function decodeifidata(const source: pifidataty; out dest: rowstatecolmergety): integer; overload;
function decodeifidata(const source: pifidataty; out dest: rowstaterowheightty): integer; overload;
function decodeifidata(const source: pifidataty; out dest: selectdataty): integer; overload;
procedure addifiintegervalue(var adata: ansistring; var adatapo: pchar; const avalue: integer);
function readifivariant(const adata: pifirecty; var adatapo: pchar): variant;
function setifibytes(const source: pointer; const size: integer; const dest: pifibytesty): integer; overload;

Types

sequencety = longword;
ifireckindty = (...);
ifireckindsty = set of ifireckindty;
ifinamety = array[0..0] of char;
pifinamety = ˆifinamety;
ifidatakindty = (...);
pifidatakindty = ˆifidatakindty;
pifirealintty = ˆifirealintty;
pifimsestringintty = ˆifimsestringintty;
pselectdataty = ˆselectdataty;
pifibytesty = ˆifibytesty;
pifidataty = ˆifidataty;
pitemheaderty = ˆitemheaderty;
pmodulecommanddataty = ˆmodulecommanddataty;
pmodulecommandty = ˆmodulecommandty;
ppropertychangedty = ˆpropertychangedty;
ifiwidgetcommandty = (...);
pifiwidgetcommandty = ˆifiwidgetcommandty;
pwidgetpropertiesty = ˆwidgetpropertiesty;
pmoduledatadataty = ˆmoduledatadataty;
pfielddefsdatadataty = ˆfielddefsdatadataty;
postresultcodety = (...);
ppostresultdataty = ˆpostresultdataty;
pfielddataty = ˆfielddataty;
fieldreckindty = (...);
pfieldrecdataty = ˆfieldrecdataty;
prowstateheaderty = ˆrowstateheaderty;
prowstatedataty = ˆrowstatedataty;
pcolitemdataty = ˆcolitemdataty;
pcoldataty = ˆcoldataty;
pgriddatadataty = ˆgriddatadataty;
gridcommandkindty = (...);
pgridcommanddatadataty = ˆgridcommanddatadataty;
precdataty = ˆrecdataty;
ifirecstatety = (...);
ifirecstatesty = set of ifirecstatety;
pifiheaderty = ˆifiheaderty;
pifirecty = ˆifirecty;
stringdataprocty = procedure(var adata: string) of object;
iochanneleventty = procedure(const sender: tcustomiochannel) of object;
optioniochty = (...);
optionsiochty = set of optioniochty;
iochannelstatety = (...);
iochannelstatesty = set of iochannelstatety;
pipeiostatety = (...);
pipeiostatesty = set of pipeiostatety;

Constants

ifiitemkinds = [ik_actionfired,ik_propertychanged,ik_widgetcommand, ik_widgetproperties,ik_requestmodule,ik_moduledata, ik_modulecommand];
ifiasynckinds = [ik_moduledata];
datarecsizes: array[ifidatakindty] of integer = ( sizeof(ifidataty), sizeof(ifidataty), sizeof(ifidataty)+sizeof(integer), sizeof(ifidataty)+sizeof(int64), sizeof(ifidataty)+sizeof(currency), sizeof(ifidataty)+sizeof(double), sizeof(ifidataty)+sizeof(ifirealintty), sizeof(ifidataty)+sizeof(ifinamety), sizeof(ifidataty)+sizeof(ifimsestringintty), sizeof(ifidataty)+sizeof(ifibytesty), sizeof(ifidataty)+sizeof(rowstatety), sizeof(ifidataty)+sizeof(rowstatecolmergety), sizeof(ifidataty)+sizeof(rowstaterowheightty), sizeof(ifidataty)+sizeof(selectdataty) );

Description

Functions and Procedures

procedure initifirec(out arec: string; const akind: ifireckindty; const asequence: sequencety; const datalength: integer; out datapo: pchar);
 
procedure inititemheader(const atag: integer; const aname: string; out arec: string; const akind: ifireckindty; const asequence: sequencety; const datasize: integer; out datapo: pchar);
 
function ifinametostring(const source: pifinamety; out dest: string): integer;
 
function stringtoifiname(const source: string; const dest: pifinamety): integer;
 
function encodeifinull(const headersize: integer = 0): string;
 
function encodeifidata(const avalue: boolean; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: integer; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: int64; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: currency; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: real; const headersize: integer = 0): string; overload;
 
function encodeifidatareal(const avalue: real; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: realintty; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: msestring; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: msestringintty; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: ansistring; const headersize: integer = 0): string; overload;
 
function encodeifidata(const alist: tdatalist; const aindex: integer; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: rowstatety; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: rowstatecolmergety; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: rowstaterowheightty; const headersize: integer = 0): string; overload;
 
function encodeifidata(const avalue: selectdataty; const headersize: integer = 0): string; overload;
 
function skipifidata(const source: pifidataty): integer;
 
function decodeifidata(const source: pifidataty; out dest: msestring): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: string): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: integer): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: int64): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: real): integer; overload;
 
function decodeifidatareal(const source: pifidataty; out dest: double): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: realintty): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: currency): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: msestringintty): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: variant): integer; overload;
 
function decodeifidata(const source: pifidataty; const aindex: integer; const alist: tdatalist): integer; overload;
 
function decodeifidata(const source: pifidataty; const aindex: integer; const alist: subdatainfoty): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: rowstatety): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: rowstatecolmergety): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: rowstaterowheightty): integer; overload;
 
function decodeifidata(const source: pifidataty; out dest: selectdataty): integer; overload;
 
procedure addifiintegervalue(var adata: ansistring; var adatapo: pchar; const avalue: integer);
 
function readifivariant(const adata: pifirecty; var adatapo: pchar): variant;
 
function setifibytes(const source: pointer; const size: integer; const dest: pifibytesty): integer; overload;
 

Types

sequencety = longword;
 
ifireckindty = (...);
 
Values
  • ik_none
  • ik_data
  • ik_itemheader
  • ik_actionfired
  • ik_propertychanged
  • ik_widgetcommand
  • ik_widgetproperties
  • ik_requestmodule
  • ik_moduledata
  • ik_requestfielddefs
  • ik_fielddefsdata
  • ik_fieldrec
  • ik_griddata
  • ik_gridcommand
  • ik_coldatachange
  • ik_rowstatechange
  • ik_selection
  • ik_requestopen
  • ik_dsdata
  • ik_postresult
  • ik_modulecommand
ifireckindsty = set of ifireckindty;
 
ifinamety = array[0..0] of char;
 
pifinamety = ˆifinamety;
 
ifidatakindty = (...);
 
Values
  • idk_none
  • idk_null
  • idk_integer
  • idk_int64
  • idk_currency
  • idk_real
  • idk_realint
  • idk_msestring
  • idk_msestringint
  • idk_bytes
  • idk_rowstate
  • idk_rowstatecolmerge
  • idk_rowstaterowheight
  • idk_selection
pifidatakindty = ˆifidatakindty;
 
pifirealintty = ˆifirealintty;
 
pifimsestringintty = ˆifimsestringintty;
 
pselectdataty = ˆselectdataty;
 
pifibytesty = ˆifibytesty;
 
pifidataty = ˆifidataty;
 
pitemheaderty = ˆitemheaderty;
 
pmodulecommanddataty = ˆmodulecommanddataty;
 
pmodulecommandty = ˆmodulecommandty;
 
ppropertychangedty = ˆpropertychangedty;
 
ifiwidgetcommandty = (...);
 
Values
  • iwc_enable
  • iwc_disable
  • iwc_show
  • iwc_hide
pifiwidgetcommandty = ˆifiwidgetcommandty;
 
pwidgetpropertiesty = ˆwidgetpropertiesty;
 
pmoduledatadataty = ˆmoduledatadataty;
 
pfielddefsdatadataty = ˆfielddefsdatadataty;
 
postresultcodety = (...);
 
Values
  • pc_none
  • pc_ok
  • pc_error
ppostresultdataty = ˆpostresultdataty;
 
pfielddataty = ˆfielddataty;
 
fieldreckindty = (...);
 
Values
  • frk_edit
  • frk_insert
  • frk_delete
pfieldrecdataty = ˆfieldrecdataty;
 
prowstateheaderty = ˆrowstateheaderty;
 
prowstatedataty = ˆrowstatedataty;
 
pcolitemdataty = ˆcolitemdataty;
 
pcoldataty = ˆcoldataty;
 
pgriddatadataty = ˆgriddatadataty;
 
gridcommandkindty = (...);
 
Values
  • gck_insertrow
  • gck_deleterow
  • gck_moverow
  • gck_rowenter
pgridcommanddatadataty = ˆgridcommanddatadataty;
 
precdataty = ˆrecdataty;
 
ifirecstatety = (...);
 
Values
  • irs_async
ifirecstatesty = set of ifirecstatety;
 
pifiheaderty = ˆifiheaderty;
 
pifirecty = ˆifirecty;
 
stringdataprocty = procedure(var adata: string) of object;
 
iochanneleventty = procedure(const sender: tcustomiochannel) of object;
 
optioniochty = (...);
 
Values
  • oic_releaseondisconnect
optionsiochty = set of optioniochty;
 
iochannelstatety = (...);
 
Values
  • iocs_connecting
  • iocs_disconnecting
  • iocs_localsetting
iochannelstatesty = set of iochannelstatety;
 
pipeiostatety = (...);
 
Values
  • pis_rxstarted
pipeiostatesty = set of pipeiostatety;
 

Constants

ifiitemkinds = [ik_actionfired,ik_propertychanged,ik_widgetcommand, ik_widgetproperties,ik_requestmodule,ik_moduledata, ik_modulecommand];
 
ifiasynckinds = [ik_moduledata];
 
datarecsizes: array[ifidatakindty] of integer = ( sizeof(ifidataty), sizeof(ifidataty), sizeof(ifidataty)+sizeof(integer), sizeof(ifidataty)+sizeof(int64), sizeof(ifidataty)+sizeof(currency), sizeof(ifidataty)+sizeof(double), sizeof(ifidataty)+sizeof(ifirealintty), sizeof(ifidataty)+sizeof(ifinamety), sizeof(ifidataty)+sizeof(ifimsestringintty), sizeof(ifidataty)+sizeof(ifibytesty), sizeof(ifidataty)+sizeof(rowstatety), sizeof(ifidataty)+sizeof(rowstatecolmergety), sizeof(ifidataty)+sizeof(rowstaterowheightty), sizeof(ifidataty)+sizeof(selectdataty) );
 

Generated by PasDoc 0.16.0.