Class TX3DWriter

Unit

Declaration

type TX3DWriter = class abstract(TObject)

Description

Writer of VRML/X3D to stream.

Hierarchy

Overview

Fields

Public Version: TX3DVersion;

Methods

Public constructor Create(AStream: TStream; const AVersion: TX3DVersion; const AEncoding: TX3DEncoding);
Public destructor Destroy; override;
Public procedure IncIndent;
Public procedure DecIndent;
Public procedure Write(const S: string);
Public procedure Writeln(const S: string); overload;
Public procedure Writeln; overload;
Public procedure WriteIndent(const S: string);
Public procedure WritelnIndent(const S: string);
Public procedure DiscardNextIndent;

Properties

Public property Encoding: TX3DEncoding read FEncoding;

Description

Fields

Public Version: TX3DVersion;

Which VRML/X3D version are we writing. Read-only after creation.

Methods

Public constructor Create(AStream: TStream; const AVersion: TX3DVersion; const AEncoding: TX3DEncoding);
 
Public destructor Destroy; override;
 
Public procedure IncIndent;
 
Public procedure DecIndent;
 
Public procedure Write(const S: string);

Comfortable routines that simply write given string to a stream.

Public procedure Writeln(const S: string); overload;
 
Public procedure Writeln; overload;
 
Public procedure WriteIndent(const S: string);
 
Public procedure WritelnIndent(const S: string);
 
Public procedure DiscardNextIndent;

Causes next WriteIndent or WritelnIndent too not write the Indent. Useful in some cases to improve readability of generated VRML file.

Properties

Public property Encoding: TX3DEncoding read FEncoding;
 

Generated by PasDoc 0.16.0.