Class TVRMLSaveToStreamProperties

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TVRMLSaveToStreamProperties = class(TObject)

Description

Hierarchy

Overview

Fields

Public Stream: TStream;
Public NodeNameBinding: TStringList;
Public WriteExpandedPrototype: boolean;

Methods

Public constructor Create(AStream: TStream);
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;

Description

Fields

Public Stream: TStream;
 
Public NodeNameBinding: TStringList;
 
Public WriteExpandedPrototype: boolean;

If True, TVRMLNode.SaveToStream will write the expanded prototype contents. This means that prototype definitions in the file will be actually useless, as every prototype is already expanded into normal built-in nodes. Usually you want to pass this as False (default), since user wants to see his prototype calls in the file just like they were in source file.

Methods

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

Just a comfortable routines that simply write given string to a stream, using WriteStr(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 will not write the Indent. Useful in some cases to improve readability of generated VRML file.


Generated by PasDoc 0.10.0 on 2008-02-25 00:00:40