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 ExportedAlias: String;

Methods

Public destructor Destroy; override;
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;

Properties

Public property ExportedNode: TX3DNode read FExportedNode write SetExportedNode;

Description

Fields

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 destructor Destroy; override;

This item has no description.

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.

Properties

Public property ExportedNode: TX3DNode read FExportedNode write SetExportedNode;

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 the saved EXPORT statement.


Generated by PasDoc 0.16.0-snapshot.