Class TX3DNodeList

Unit

Declaration

type TX3DNodeList = class(specialize TObjectList<TX3DNode>)

Description

Hierarchy

Overview

Methods

Public function FindName(const Name: string): TX3DNode;
Public function IndexOfName(const Name: string): Integer;
Public procedure AddIfNotExists(const Node: TX3DNode);
Public function Equals(SecondValue: TObject): boolean; override;
Public procedure Assign(const Source: TX3DNodeList); overload;
Public procedure Assign(const Source: array of TX3DNode); overload;

Description

Methods

Public function FindName(const Name: string): TX3DNode;

Find node by name, Nil if not found.

For empty node name, always returns Nil. This follows the definition of TX3DNode.X3DName: empty means that node has no name, so it should not be found by searches by name, ever.

See also
Returns the node index. This is sometimes more flexible (you can always quickly get actual node knowing the index, by Items[Index], but not the other way around). It is also sometimes less comfortable (often you're not interested in node index).
Find index of a node with given name, -1 if not found.
Public function IndexOfName(const Name: string): Integer;

Find index of a node with given name, -1 if not found.

Public procedure AddIfNotExists(const Node: TX3DNode);
 
Public function Equals(SecondValue: TObject): boolean; override;
 
Public procedure Assign(const Source: TX3DNodeList); overload;
 
Public procedure Assign(const Source: array of TX3DNode); overload;
 

Generated by PasDoc 0.16.0.