Class TX3DExport

Unit

Declaration

type TX3DExport = class(TX3DFileItem)

Description

This item has no description. Showing description inherited from TX3DFileItem.

Base class for any item within X3D file: a node, a field, a route, a prototype etc. We need a common base class for all such things to store PositionInParent.

Hierarchy

Overview

Fields

Public ExportedNode: TX3DNode;
Public ExportedAlias: String;

Methods

Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames);
Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames);
Public procedure SaveToStream(Writer: TX3DWriter); override;
Public function DeepCopy(const CopyState: TX3DNodeDeepCopyState): TX3DExport;

Description

Fields

Public ExportedNode: TX3DNode;

Exported node. Note that we store node reference, not just ExportedNodeName, this way renaming the ExportedNode (e.g. by RenameUniquely during saving) is properly reflected in wrtitten EXPORT statement.

Public ExportedAlias: String;

Name under which the EXPORTed node is available in outer files, i.e. IMPORT statements should refer to this alias. If empty, just use ExportedNode.X3DName.

Methods

Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames);

This item has no description.

Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames);

Parse the EXPORT declaration (XML encoding). Given Element here must have TagName = 'EXPORT'.

Public procedure SaveToStream(Writer: TX3DWriter); override;

This item has no description. Showing description inherited from TX3DFileItem.SaveToStream.

Save to stream.

Public function DeepCopy(const CopyState: TX3DNodeDeepCopyState): TX3DExport;

This item has no description.


Generated by PasDoc 0.16.0.