Class TX3DWriter

Unit

Declaration

type TX3DWriter = class abstract(TObject)

Description

Writer of VRML/X3D to stream.

Hierarchy

  • TObject
  • TX3DWriter

Overview

Fields

Public Version: TX3DVersion;
Public ParentNode: TObject;

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.

Public ParentNode: TObject;

Parent node, always TX3DNode, Nil if this is top-level. Fow now only used to enhance DefaultContainerFieldInContext knowledge, for XML encoding writing, though we maintain it for all encodings.

Methods

Public constructor Create(AStream: TStream; const AVersion: TX3DVersion; const AEncoding: TX3DEncoding);

This item has no description.

Public destructor Destroy; override;

This item has no description.

Public procedure IncIndent;

This item has no description.

Public procedure DecIndent;

This item has no description.

Public procedure Write(const S: string);

Comfortable routines that simply write given string to a stream.

Public procedure Writeln(const S: string); overload;

This item has no description.

Public procedure Writeln; overload;

This item has no description.

Public procedure WriteIndent(const S: string);

This item has no description.

Public procedure WritelnIndent(const S: string);

This item has no description.

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;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.