Class TVRMLNodeClassesList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TVRMLNodeClassesList = class(TList)

Description

Hierarchy

Overview

Methods

Public procedure AssignArray( const AItemsArray: array of TVRMLNodeClass);
Public function IndexOf(NodeClass: TVRMLNodeClass): Integer; overload;
Public function IndexOf(Node: TVRMLNode): Integer; overload;
Public function IndexOfAnyAncestor(Node: TVRMLNode): Integer;
Public procedure Add(Value: TVRMLNodeClass);
Public procedure AddRegisteredImplementing(Interf: TGUID);

Properties

Public property Items[Index: Integer]: TVRMLNodeClass read GetItems write SetItems;

Description

Methods

Public procedure AssignArray( const AItemsArray: array of TVRMLNodeClass);
 
Public function IndexOf(NodeClass: TVRMLNodeClass): Integer; overload;
 
Public function IndexOf(Node: TVRMLNode): Integer; overload;

This is equivalent to IndexOf(NodeClass.ClassType), taking care of necessary typecasts.

Public function IndexOfAnyAncestor(Node: TVRMLNode): Integer;

This looks for a node class that is ancestor of given Node, in other words that satisfies Node is Items[Result]. So, comparing to IndexOf, this may also find something when IndexOf doesn't, since this doesn't require an exact match — only "is" match.

Returns -1 if not found.

Public procedure Add(Value: TVRMLNodeClass);
 
Public procedure AddRegisteredImplementing(Interf: TGUID);

Add all node classes registered in NodesManager that implement given interface Interf.

Properties

Public property Items[Index: Integer]: TVRMLNodeClass read GetItems write SetItems;
 

Generated by PasDoc 0.11.0 on 2008-09-12 11:58:37