Class TX3DPrototypeBase

Unit

Declaration

type TX3DPrototypeBase = class(TX3DFileItem)

Description

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); virtual; abstract;
Public procedure ParseXML(Element: TDOMElement; Reader: TX3DReaderNames); virtual; abstract;

Properties

Public property X3DName: string read FX3DName write FX3DName;
Public property Name: string read FX3DName write FX3DName; deprecated 'use X3DName';
Public property InterfaceDeclarations: TX3DInterfaceDeclarationList read FInterfaceDeclarations;
Public property BaseUrl: string read FBaseUrl write FBaseUrl;

Description

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 
Public procedure Parse(Lexer: TX3DLexer; Reader: TX3DReaderNames); virtual; abstract;

Parse prototype, and add it to Names.Prototypes. Adds to Names by Names.Prototypes.Bind(Self).

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

Properties

Public property X3DName: string read FX3DName write FX3DName;
 
Public property Name: string read FX3DName write FX3DName; deprecated 'use X3DName';

Warning: this symbol is deprecated: use X3DName

 
Public property InterfaceDeclarations: TX3DInterfaceDeclarationList read FInterfaceDeclarations;
 
Public property BaseUrl: string read FBaseUrl write FBaseUrl;

The base URL path used to resolve urls inside. For now, used by EXTERNPROTO urls. See TX3DNode.BaseUrl for more comments.


Generated by PasDoc 0.15.0.