Class TBrookBaseReader

Unit

Declaration

type TBrookBaseReader = class(TBrookTextReader)

Description

Base proxied line reader.

Hierarchy

Overview

Methods

Public destructor Destroy; override;
Public procedure Reset; override;
Public procedure Close; override;
Public function IsEOF: Boolean; override;
Public procedure ReadBytes(out ALine: TBytes); overload; override;
Public function ReadBytes: TBytes; overload; override;
Public procedure Read(out ALine: string); overload; override;
Public function Read: string; overload; override;

Description

Methods

Public destructor Destroy; override;

Destroys an instance of TBrookBaseReader.

Public procedure Reset; override;

Resets the reader to its initial state.

Public procedure Close; override;

Closes the reader.

Public function IsEOF: Boolean; override;

Checks if the reader has reached the End-Of-File.

Returns

True if the reader has reached the End-Of-File.

Public procedure ReadBytes(out ALine: TBytes); overload; override;

Reads a line as bytes.

Parameters
ALine[out]
Line read as bytes.
Public function ReadBytes: TBytes; overload; override;

Reads a line returning it as bytes.

Returns

Line read as bytes.

Public procedure Read(out ALine: string); overload; override;

Read a line as a static string.

Parameters
ALine[out]
read as static string.
Public function Read: string; overload; override;

Reads a line returning it as static string.

Returns

Line read as static string.


Generated by PasDoc 0.16.0.