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

Overview

Fields

Protected fstate: statfilestatesty;

Methods

Protected procedure objevent(const sender: iobjectlink; const event: objecteventty); override;
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
Protected procedure updateoptions(const afiler: tstatfiler);
Protected function defaultfile(const adirs: filenamearty): filenamety;
Protected procedure dostatread(const reader: tstatreader);
Protected procedure dostatwrite(const writer: tstatwriter);
Protected procedure statreading;
Protected procedure statread;
Protected function getstatvarname: msestring;
Protected function getstatpriority: integer;
Public constructor create(aowner: tcomponent); override;
Public procedure initnewcomponent(const ascale: real); override;
Public procedure readstat(const stream: ttextstream = nil); overload;
Public procedure readstat(const afilename: filenamety); overload;
Public procedure readstat(const aname: msestring; const statreader: tstatreader); overload;
Public procedure writestat(const stream: ttextstream = nil); overload;
Public procedure writestat(const afilename: filenamety); overload;
Public procedure writestat(const aname: msestring; const statwriter: tstatwriter); overload;
Public procedure updatestat(const aname: msestring; const statfiler: tstatfiler);

Properties

Public property mode: statfilemodety read getmode;
Published property filename: filenamety read ffilename write setfilename nodefault;
Published property filedir: filenamety read ffiledir write setfiledir;
Published property encoding: charencodingty read fencoding write fencoding default ce_utf8;
Published property options: statfileoptionsty read foptions write foptions default defaultstatfileoptions;
Published property statfile: tstatfile read fstatfile write setstatfile;
Published property savedmemoryfiles: msestring read fsavedmemoryfiles write fsavedmemoryfiles;
Published property statvarname: msestring read getstatvarname write fstatvarname;
Published property statpriority: integer read fstatpriority write fstatpriority default 0;
Published property cryptohandler: tcustomcryptohandler read fcryptohandler write setcryptohandler;
Published property activator;
Published property next: tstatfile read fnext write setnext;
Published property onstatupdate: statupdateeventty read fonstatupdate write fonstatupdate;
Published property onstatread: statreadeventty read fonstatread write fonstatread;
Published property onstatwrite: statwriteeventty read fonstatwrite write fonstatwrite;
Published property onstatbeforewrite: notifyeventty read fonstatbeforewrite write fonstatbeforewrite;
Published property onstatafterwrite: notifyeventty read fonstatafterwrite write fonstatafterwrite;
Published property onstatbeforeread: notifyeventty read fonstatbeforeread write fonstatbeforeread;
Published property onstatafterread: notifyeventty read fonstatafterread write fonstatafterread;
Published property onfilemissing: statfilemissingeventty read fonfilemissing write fonfilemissing;

Description

Fields

Protected fstate: statfilestatesty;
 

Methods

Protected procedure objevent(const sender: iobjectlink; const event: objecteventty); override;
 
Protected procedure objectevent(const sender: tobject; const event: objecteventty); override;
 
Protected procedure updateoptions(const afiler: tstatfiler);
 
Protected function defaultfile(const adirs: filenamearty): filenamety;
 
Protected procedure dostatread(const reader: tstatreader);
 
Protected procedure dostatwrite(const writer: tstatwriter);
 
Protected procedure statreading;
 
Protected procedure statread;
 
Protected function getstatvarname: msestring;
 
Protected function getstatpriority: integer;
 
Public constructor create(aowner: tcomponent); override;
 
Public procedure initnewcomponent(const ascale: real); override;
 
Public procedure readstat(const stream: ttextstream = nil); overload;
 
Public procedure readstat(const afilename: filenamety); overload;
 
Public procedure readstat(const aname: msestring; const statreader: tstatreader); overload;
 
Public procedure writestat(const stream: ttextstream = nil); overload;
 
Public procedure writestat(const afilename: filenamety); overload;
 
Public procedure writestat(const aname: msestring; const statwriter: tstatwriter); overload;
 
Public procedure updatestat(const aname: msestring; const statfiler: tstatfiler);
 

Properties

Public property mode: statfilemodety read getmode;
 
Published property filename: filenamety read ffilename write setfilename nodefault;
 
Published property filedir: filenamety read ffiledir write setfiledir;
 
Published property encoding: charencodingty read fencoding write fencoding default ce_utf8;
 
Published property options: statfileoptionsty read foptions write foptions default defaultstatfileoptions;
 
Published property statfile: tstatfile read fstatfile write setstatfile;
 
Published property savedmemoryfiles: msestring read fsavedmemoryfiles write fsavedmemoryfiles;
 
Published property statvarname: msestring read getstatvarname write fstatvarname;
 
Published property statpriority: integer read fstatpriority write fstatpriority default 0;
 
Published property cryptohandler: tcustomcryptohandler read fcryptohandler write setcryptohandler;
 
Published property activator;
 
Published property next: tstatfile read fnext write setnext;
 
Published property onstatupdate: statupdateeventty read fonstatupdate write fonstatupdate;
 
Published property onstatread: statreadeventty read fonstatread write fonstatread;
 
Published property onstatwrite: statwriteeventty read fonstatwrite write fonstatwrite;
 
Published property onstatbeforewrite: notifyeventty read fonstatbeforewrite write fonstatbeforewrite;
 
Published property onstatafterwrite: notifyeventty read fonstatafterwrite write fonstatafterwrite;
 
Published property onstatbeforeread: notifyeventty read fonstatbeforeread write fonstatbeforeread;
 
Published property onstatafterread: notifyeventty read fonstatafterread write fonstatafterread;
 
Published property onfilemissing: statfilemissingeventty read fonfilemissing write fonfilemissing;
 

Generated by PasDoc 0.16.0.