Class tstatfile
Unit
Declaration
type tstatfile = class(tactcomponent, istatfile)
Description
No description available, ancestor tactcomponent description follows
No description available, ancestor tmsecomponent description follows
Hierarchy
- TObject
- TPersistent
- tcomponent
- tmsecomponent
- tactcomponent
- tstatfile
Overview
Fields
fstate: statfilestatesty; |
Methods
procedure objevent(const sender: iobjectlink; const event: objecteventty); override; |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
procedure updateoptions(const afiler: tstatfiler); |
|
function defaultfile(const adirs: filenamearty): filenamety; |
|
procedure dostatread(const reader: tstatreader); |
|
procedure dostatwrite(const writer: tstatwriter); |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
constructor create(aowner: tcomponent); override; |
|
procedure initnewcomponent(const ascale: real); override; |
|
procedure readstat(const stream: ttextstream = nil); overload; |
|
procedure readstat(const afilename: filenamety); overload; |
|
procedure readstat(const aname: msestring; const statreader: tstatreader); overload; |
|
procedure writestat(const stream: ttextstream = nil); overload; |
|
procedure writestat(const afilename: filenamety); overload; |
|
procedure writestat(const aname: msestring; const statwriter: tstatwriter); overload; |
|
procedure updatestat(const aname: msestring; const statfiler: tstatfiler); |
Properties
property mode: statfilemodety read getmode; |
|
property filename: filenamety read ffilename write setfilename nodefault; |
|
property filedir: filenamety read ffiledir write setfiledir; |
|
property encoding: charencodingty read fencoding write fencoding
default ce_utf8; |
|
property options: statfileoptionsty read foptions write foptions
default defaultstatfileoptions; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property savedmemoryfiles: msestring read fsavedmemoryfiles write
fsavedmemoryfiles; |
|
property statvarname: msestring read getstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property cryptohandler: tcustomcryptohandler read fcryptohandler
write setcryptohandler; |
|
property activator; |
|
property next: tstatfile read fnext write setnext; |
|
property onstatupdate: statupdateeventty read fonstatupdate write fonstatupdate; |
|
property onstatread: statreadeventty read fonstatread write fonstatread; |
|
property onstatwrite: statwriteeventty read fonstatwrite write fonstatwrite; |
|
property onstatbeforewrite: notifyeventty read fonstatbeforewrite
write fonstatbeforewrite; |
|
property onstatafterwrite: notifyeventty read fonstatafterwrite
write fonstatafterwrite; |
|
property onstatbeforeread: notifyeventty read fonstatbeforeread
write fonstatbeforeread; |
|
property onstatafterread: notifyeventty read fonstatafterread
write fonstatafterread; |
|
property onfilemissing: statfilemissingeventty read fonfilemissing
write fonfilemissing; |
Description
Fields
fstate: statfilestatesty; |
|
Methods
procedure objevent(const sender: iobjectlink; const event: objecteventty); override; |
|
procedure objectevent(const sender: tobject; const event: objecteventty); override; |
|
procedure updateoptions(const afiler: tstatfiler); |
|
function defaultfile(const adirs: filenamearty): filenamety; |
|
procedure dostatread(const reader: tstatreader); |
|
procedure dostatwrite(const writer: tstatwriter); |
|
procedure statreading; |
|
procedure statread; |
|
function getstatvarname: msestring; |
|
function getstatpriority: integer; |
|
constructor create(aowner: tcomponent); override; |
|
procedure initnewcomponent(const ascale: real); override; |
|
procedure readstat(const stream: ttextstream = nil); overload; |
|
procedure readstat(const afilename: filenamety); overload; |
|
procedure readstat(const aname: msestring; const statreader: tstatreader); overload; |
|
procedure writestat(const stream: ttextstream = nil); overload; |
|
procedure writestat(const afilename: filenamety); overload; |
|
procedure writestat(const aname: msestring; const statwriter: tstatwriter); overload; |
|
procedure updatestat(const aname: msestring; const statfiler: tstatfiler); |
|
Properties
property mode: statfilemodety read getmode; |
|
property filename: filenamety read ffilename write setfilename nodefault; |
|
property filedir: filenamety read ffiledir write setfiledir; |
|
property encoding: charencodingty read fencoding write fencoding
default ce_utf8; |
|
property options: statfileoptionsty read foptions write foptions
default defaultstatfileoptions; |
|
property statfile: tstatfile read fstatfile write setstatfile; |
|
property savedmemoryfiles: msestring read fsavedmemoryfiles write
fsavedmemoryfiles; |
|
property statvarname: msestring read getstatvarname write fstatvarname; |
|
property statpriority: integer read fstatpriority
write fstatpriority default 0; |
|
property cryptohandler: tcustomcryptohandler read fcryptohandler
write setcryptohandler; |
|
property activator; |
|
property next: tstatfile read fnext write setnext; |
|
property onstatupdate: statupdateeventty read fonstatupdate write fonstatupdate; |
|
property onstatread: statreadeventty read fonstatread write fonstatread; |
|
property onstatwrite: statwriteeventty read fonstatwrite write fonstatwrite; |
|
property onstatbeforewrite: notifyeventty read fonstatbeforewrite
write fonstatbeforewrite; |
|
property onstatafterwrite: notifyeventty read fonstatafterwrite
write fonstatafterwrite; |
|
property onstatbeforeread: notifyeventty read fonstatbeforeread
write fonstatbeforeread; |
|
property onstatafterread: notifyeventty read fonstatafterread
write fonstatafterread; |
|
property onfilemissing: statfilemissingeventty read fonfilemissing
write fonfilemissing; |
|
Generated by PasDoc 0.16.0.