Class tstatreader

Unit

Declaration

type tstatreader = class(tstatfiler)

Description

No description available, ancestor tstatfiler description follows

Hierarchy

Overview

Methods

Protected procedure readdata;
Protected function findvar(const name: msestring; var value: msestring): boolean; overload;
Protected function findvar(const name: msestring; var value: msestring; out isarray: boolean): boolean; overload;
Public constructor create(const astream: ttextstream; const aencoding: charencodingty = ce_utf8); overload;
Public constructor create(const filename: filenamety; const aencoding: charencodingty = ce_utf8); overload;
Public destructor destroy; override;
Public function sections: msestringarty;
Public function hassection(const name: msestring): boolean;
Public function findsection(const name: msestring): boolean;
Public function checkvar(const name: msestring): boolean;
Public function streamdata: string;
Public function streamtext: msestring;
Public function readboolean(const name: msestring; const default: boolean = false): boolean;
Public function readbyte(const name: msestring; const default: byte = 0): byte;
Public function readword(const name: msestring; const default: word = 0): word;
Public function readinteger(const name: msestring; const default: integer = 0; const min: integer = -(maxint)-1; const max: integer = maxint): integer;
Public function readint64(const name: msestring; const default: int64 = 0; const min: int64 = -(maxint64)-1; const max: int64 = maxint64): int64;
Public function readreal(const name: msestring; const default: real = 0; const min: real = -bigreal; const max: real = bigreal; const acceptempty: boolean = false): realty;
Public function readstring(const name: msestring; const default: string): string;
Public function readbinarystring(const name: msestring; const default: string): string;
Public function readmsestring(const name: msestring; const default: msestring): msestring;
Public procedure readdatalist(const name: msestring; const value: tdatalist);
Public function readarray(const name: msestring; const default: stringarty): stringarty; overload;
Public function readarray(const name: msestring; const default: msestringarty): msestringarty; overload;
Public function readarray(const name: msestring; const default: widestringarty): widestringarty; overload;
Public function readarray(const name: msestring; const default: integerarty): integerarty; overload;
Public function readarray(const name: msestring; const default: int64arty): int64arty; overload;
Public function readarray(const name: msestring; const default: booleanarty): booleanarty; overload;
Public function readarray(const name: msestring; const default: longboolarty): longboolarty; overload;
Public function readarray(const name: msestring; const default: realarty): realarty; overload;
Public function readarray(const name: msestring; const default: complexarty): complexarty; overload;
Public function readlistitem: msestring;
Public procedure readrecord(const name: msestring; const values: array of pointer; const default: array of const);
Public procedure readrecordarray(const name: msestring; setcount: recsetcounteventty; store: recstoreeventty); overload;
Public procedure readrecordarray(const name: msestring; setcount: recsetcountevent1ty; store: recstoreevent1ty); overload;
Public function beginlist(const name: msestring = ''): boolean; override;
Public function endlist: boolean; override;
Public procedure readvalue(const name: msestring; const intf: istatupdatevalue);
Public procedure readstat(const intf: istatfile);
Public procedure readmemorystatstream(const name: msestring; const streamname: msestring);

Description

Methods

Protected procedure readdata;
 
Protected function findvar(const name: msestring; var value: msestring): boolean; overload;
 
Protected function findvar(const name: msestring; var value: msestring; out isarray: boolean): boolean; overload;
 
Public constructor create(const astream: ttextstream; const aencoding: charencodingty = ce_utf8); overload;
 
Public constructor create(const filename: filenamety; const aencoding: charencodingty = ce_utf8); overload;
 
Public destructor destroy; override;
 
Public function sections: msestringarty;
 
Public function hassection(const name: msestring): boolean;
 
Public function findsection(const name: msestring): boolean;
 
Public function checkvar(const name: msestring): boolean;
 
Public function streamdata: string;
 
Public function streamtext: msestring;
 
Public function readboolean(const name: msestring; const default: boolean = false): boolean;
 
Public function readbyte(const name: msestring; const default: byte = 0): byte;
 
Public function readword(const name: msestring; const default: word = 0): word;
 
Public function readinteger(const name: msestring; const default: integer = 0; const min: integer = -(maxint)-1; const max: integer = maxint): integer;
 
Public function readint64(const name: msestring; const default: int64 = 0; const min: int64 = -(maxint64)-1; const max: int64 = maxint64): int64;
 
Public function readreal(const name: msestring; const default: real = 0; const min: real = -bigreal; const max: real = bigreal; const acceptempty: boolean = false): realty;
 
Public function readstring(const name: msestring; const default: string): string;
 
Public function readbinarystring(const name: msestring; const default: string): string;
 
Public function readmsestring(const name: msestring; const default: msestring): msestring;
 
Public procedure readdatalist(const name: msestring; const value: tdatalist);
 
Public function readarray(const name: msestring; const default: stringarty): stringarty; overload;
 
Public function readarray(const name: msestring; const default: msestringarty): msestringarty; overload;
 
Public function readarray(const name: msestring; const default: widestringarty): widestringarty; overload;
 
Public function readarray(const name: msestring; const default: integerarty): integerarty; overload;
 
Public function readarray(const name: msestring; const default: int64arty): int64arty; overload;
 
Public function readarray(const name: msestring; const default: booleanarty): booleanarty; overload;
 
Public function readarray(const name: msestring; const default: longboolarty): longboolarty; overload;
 
Public function readarray(const name: msestring; const default: realarty): realarty; overload;
 
Public function readarray(const name: msestring; const default: complexarty): complexarty; overload;
 
Public function readlistitem: msestring;
 
Public procedure readrecord(const name: msestring; const values: array of pointer; const default: array of const);
 
Public procedure readrecordarray(const name: msestring; setcount: recsetcounteventty; store: recstoreeventty); overload;
 
Public procedure readrecordarray(const name: msestring; setcount: recsetcountevent1ty; store: recstoreevent1ty); overload;
 
Public function beginlist(const name: msestring = ''): boolean; override;
 
Public function endlist: boolean; override;
 
Public procedure readvalue(const name: msestring; const intf: istatupdatevalue);
 
Public procedure readstat(const intf: istatfile);
 
Public procedure readmemorystatstream(const name: msestring; const streamname: msestring);
 

Generated by PasDoc 0.16.0.