Class ttextstream

Unit

Declaration

type ttextstream = class(tcustombufstream)

Description

This item has no description.

Hierarchy

Overview

Fields

Protected fencoding: charencodingty;
Protected feolflags: eolflagsty;
Protected feol: string;
Protected feolm: msestring;

Methods

Protected function encode(const value: msestring): string;
Protected function decode(const value: string): msestring;
Public constructor create(ahandle: integer); override;
Public class function trycreate(out ainstance: ttextstream; const afilename: filenamety; const aopenmode: fileopenmodety = fm_read; const accessmode: fileaccessmodesty = []; const rights: filerightsty = defaultfilerights): syserrorty;
Public procedure return;
Public procedure writestr(const value: string);
Public procedure writestrln(const value: string);
Public function readstrln(var value: string): boolean; overload; virtual;
Public procedure writetotext(var dest: text);
Public procedure write(const value: string); reintroduce; overload;
Public procedure write(const value: msestring); reintroduce; overload;
Public procedure write(const value: real); reintroduce; overload;
Public procedure write(const value: integer); reintroduce; overload;
Public procedure write(const value: boolean); reintroduce; overload;
Public procedure write(const values: array of const); reintroduce; overload;
Public procedure writeln; overload;
Public procedure writeln(const value: string); overload; virtual;
Public procedure writeln(const value: msestring); overload;
Public procedure writeln(const value: real); overload;
Public procedure writeln(const value: integer); overload;
Public procedure writeln(const value: boolean); overload;
Public procedure writeln(const value: msestringarty); overload;
Public procedure writeln(const value: stringarty); overload;
Public procedure writeln(const values: array of const); overload;
Public function readln: boolean; overload;
Public function readln(var value: string): boolean; overload;
Public function readln(var value: msestring): boolean; overload;
Public function readln(out value: integer): boolean; overload;
Public function readln(out value: boolean): boolean; overload;
Public function readln(out value: real): boolean; overload;
Public function readln(out value: msestringarty): boolean; overload;
Public function readln(out value: stringarty): boolean; overload;
Public procedure writestrings(const value: stringarty);
Public procedure writemsestrings(const value: msestringarty);
Public function readstrings: stringarty;
Public function readmsestrings: msestringarty;
Public function readmsedatastring: msestring;
Public function readstring(const default: string): string;
Public function readinteger(default: integer; min: integer = minint; max: integer = maxint): integer;
Public function readboolean(default: boolean): boolean;
Public function readreal(default: real; min: real = -bigreal; max: real = bigreal): real;
Public function findnext(const substring: string): boolean;
Public function linecount: integer;
Public procedure resetsearch;
Public function searchnext: boolean;
Public function foundeolstyle: eolstylety;

Properties

Public property nativesearchtext: string read fsearchtext write setsearchtext;
Public property msesearchtext: msestring read getmsesearchtext write setmsesearchtext;
Public property searchoptions: searchoptionsty read fsearchoptions write setsearchoptions;
Public property searchpos: longword read fsearchpos write fsearchpos;
Public property searchfoundpos: longword read fsearchfoundpos;
Public property searchlinestartpos: longword read fsearchlinestartpos write fsearchlinestartpos;
Public property searchlinenumber: longword read fsearchlinenumber write fsearchlinenumber;
Public property searchabortpo: pboolean read fsearchabortpo write fsearchabortpo;
Public property notopen: boolean read getnotopen;
Public property encoding: charencodingty read fencoding write fencoding default ce_locale;
Public property eolstyle: eolstylety read feolstyle write seteolstyle default eol_default;

Description

Fields

Protected fencoding: charencodingty;

This item has no description.

Protected feolflags: eolflagsty;

This item has no description.

Protected feol: string;

This item has no description.

Protected feolm: msestring;

This item has no description.

Methods

Protected function encode(const value: msestring): string;

This item has no description.

Protected function decode(const value: string): msestring;

This item has no description.

Public constructor create(ahandle: integer); override;

This item has no description.

Public class function trycreate(out ainstance: ttextstream; const afilename: filenamety; const aopenmode: fileopenmodety = fm_read; const accessmode: fileaccessmodesty = []; const rights: filerightsty = defaultfilerights): syserrorty;

This item has no description.

Public procedure return;

This item has no description.

Public procedure writestr(const value: string);

This item has no description.

Public procedure writestrln(const value: string);

This item has no description.

Public function readstrln(var value: string): boolean; overload; virtual;

This item has no description.

Public procedure writetotext(var dest: text);

This item has no description.

Public procedure write(const value: string); reintroduce; overload;

This item has no description.

Public procedure write(const value: msestring); reintroduce; overload;

This item has no description.

Public procedure write(const value: real); reintroduce; overload;

This item has no description.

Public procedure write(const value: integer); reintroduce; overload;

This item has no description.

Public procedure write(const value: boolean); reintroduce; overload;

This item has no description.

Public procedure write(const values: array of const); reintroduce; overload;

This item has no description.

Public procedure writeln; overload;

This item has no description.

Public procedure writeln(const value: string); overload; virtual;

This item has no description.

Public procedure writeln(const value: msestring); overload;

This item has no description.

Public procedure writeln(const value: real); overload;

This item has no description.

Public procedure writeln(const value: integer); overload;

This item has no description.

Public procedure writeln(const value: boolean); overload;

This item has no description.

Public procedure writeln(const value: msestringarty); overload;

This item has no description.

Public procedure writeln(const value: stringarty); overload;

This item has no description.

Public procedure writeln(const values: array of const); overload;

This item has no description.

Public function readln: boolean; overload;

This item has no description.

Public function readln(var value: string): boolean; overload;

This item has no description.

Public function readln(var value: msestring): boolean; overload;

This item has no description.

Public function readln(out value: integer): boolean; overload;

This item has no description.

Public function readln(out value: boolean): boolean; overload;

This item has no description.

Public function readln(out value: real): boolean; overload;

This item has no description.

Public function readln(out value: msestringarty): boolean; overload;

This item has no description.

Public function readln(out value: stringarty): boolean; overload;

This item has no description.

Public procedure writestrings(const value: stringarty);

This item has no description.

Public procedure writemsestrings(const value: msestringarty);

This item has no description.

Public function readstrings: stringarty;

This item has no description.

Public function readmsestrings: msestringarty;

This item has no description.

Public function readmsedatastring: msestring;

This item has no description.

Public function readstring(const default: string): string;

This item has no description.

Public function readinteger(default: integer; min: integer = minint; max: integer = maxint): integer;

This item has no description.

Public function readboolean(default: boolean): boolean;

This item has no description.

Public function readreal(default: real; min: real = -bigreal; max: real = bigreal): real;

This item has no description.

Public function findnext(const substring: string): boolean;

This item has no description.

Public function linecount: integer;

This item has no description.

Public procedure resetsearch;

This item has no description.

Public function searchnext: boolean;

This item has no description.

Public function foundeolstyle: eolstylety;

This item has no description.

Properties

Public property nativesearchtext: string read fsearchtext write setsearchtext;

This item has no description.

Public property msesearchtext: msestring read getmsesearchtext write setmsesearchtext;

This item has no description.

Public property searchoptions: searchoptionsty read fsearchoptions write setsearchoptions;

This item has no description.

Public property searchpos: longword read fsearchpos write fsearchpos;

This item has no description.

Public property searchfoundpos: longword read fsearchfoundpos;

This item has no description.

Public property searchlinestartpos: longword read fsearchlinestartpos write fsearchlinestartpos;

This item has no description.

Public property searchlinenumber: longword read fsearchlinenumber write fsearchlinenumber;

This item has no description.

Public property searchabortpo: pboolean read fsearchabortpo write fsearchabortpo;

This item has no description.

Public property notopen: boolean read getnotopen;

This item has no description.

Public property encoding: charencodingty read fencoding write fencoding default ce_locale;

This item has no description.

Public property eolstyle: eolstylety read feolstyle write seteolstyle default eol_default;

This item has no description.


Generated by PasDoc 0.17.0.snapshot.