Class TX3DExternalPrototype

Unit

Declaration

type TX3DExternalPrototype = class(TX3DPrototypeBase)

Description

No description available, ancestor TX3DPrototypeBase description follows
No description available, ancestor TX3DFileItem description follows

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

About ancestry: TX3DFieldOrEvent make use of Assign mechanism and so need to descend from TPersistent. TX3DNode make use of interfaces and so must descend from something like TNonRefCountedInterfacedXxx. These are the only reasons, for now, why this descends from TNonRefCountedInterfacedPersistent.

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); override;
Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames); override;
Public procedure SaveToStream(Writer: TX3DWriter); override;
Public procedure LoadReferenced(const Version: TX3DVersion);
Public procedure UnloadReferenced;

Properties

Public property URLList: TMFString read FURLList;
Public property ReferencedPrototype: TX3DPrototype read FReferencedPrototype;
Public property ReferencedClass: TX3DNodeClass read FReferencedClass;

Description

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); override;
 
Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames); override;
 
Public procedure SaveToStream(Writer: TX3DWriter); override;
 
Public procedure LoadReferenced(const Version: TX3DVersion);

Loads URL, until the first success. Sets either ReferencedClass to non-nil (if it's built-in node) or ReferencedPrototype (if prototype expansion found in external file).

Public procedure UnloadReferenced;
 

Properties

Public property URLList: TMFString read FURLList;
 
Public property ReferencedPrototype: TX3DPrototype read FReferencedPrototype;
 
Public property ReferencedClass: TX3DNodeClass read FReferencedClass;
 

Generated by PasDoc 0.16.0.