Skip to content

TStringWriter

Declaration

Source position: streamex.pp line 209

type

  TStringWriter = class(TTextWriter)
  public
    constructor Create; overload;
    constructor Create(aBuilder: TStringBuilder); overload;
    destructor Destroy;
    procedure Close;
    procedure Flush;
    procedure Write(aValue: Boolean);
    procedure Write(aValue: char);
    procedure Write(aValue: char; aCount: Integer);
    procedure Write(const aValue: TCharArray);
    procedure Write(aValue: Double);
    procedure Write(aValue: Integer);
    procedure Write(aValue: Int64);
    procedure Write(aValue: TObject);
    procedure Write(aValue: Single);
    procedure Write(const aValue: string);
    procedure Write(aValue: Cardinal);
    procedure Write(aValue: QWord);
    procedure Write(const aFmt: string; aArgs: Array of const);
    procedure Write(const aValue: TCharArray; aIndex: Integer; 
               aCount: Integer);
    procedure WriteLine;
    procedure WriteLine(aValue: Boolean);
    procedure WriteLine(aValue: char);
    procedure WriteLine(const aValue: TCharArray);
    procedure WriteLine(aValue: Double);
    procedure WriteLine(aValue: Integer);
    procedure WriteLine(aValue: Int64);
    procedure WriteLine(aValue: TObject);
    procedure WriteLine(aValue: Single);
    procedure WriteLine(const aValue: string);
    procedure WriteLine(aValue: Cardinal);
    procedure WriteLine(aValue: UInt64);
    procedure WriteLine(const aFmt: string; aArgs: Array of const);
    procedure WriteLine(const aValue: TCharArray; aIndex: Integer; 
                   aCount: Integer);
    function ToString : string;
  end;

Methods

Member Visibility Description
Close public
Create public
Destroy public
Flush public
ToString public
Write public
WriteLine public
See all Methods