Class TX3DNodeList
Unit
Declaration
type TX3DNodeList = class(specialize TObjectList<TX3DNode>)
Description
List of TX3DNode.
Hierarchy
- TObject
- TList
- TObjectList
- TX3DNodeList
Overview
Methods
![]() |
procedure Notify( constref Value: TX3DNode; Action: TCollectionNotification); override; |
![]() |
function FindName(const Name: string): TX3DNode; |
![]() |
function IndexOfName(const Name: string): Integer; |
![]() |
procedure AddIfNotExists(const Node: TX3DNode); |
![]() |
function Equals(SecondValue: TObject): Boolean; override; |
![]() |
procedure Assign(const Source: TX3DNodeList); overload; |
![]() |
procedure Assign(const Source: array of TX3DNode); overload; |
Properties
![]() |
property AutoRemove: Boolean read FAutoRemove write SetAutoRemove default false; |
Description
Methods
![]() |
procedure Notify( constref Value: TX3DNode; Action: TCollectionNotification); override; |
|
This item has no description. | |
![]() |
function FindName(const Name: string): TX3DNode; |
|
Find node by name (TX3DNode.X3DName), If called with Name = '', always returns See also
| |
![]() |
function IndexOfName(const Name: string): Integer; |
|
Find index of a node with given name (TX3DNode.X3DName), -1 if not found. Consistently with FindName, always returns -1 when Name = ''. | |
![]() |
procedure AddIfNotExists(const Node: TX3DNode); |
|
Add node only if it's not already on the list. | |
![]() |
procedure Assign(const Source: TX3DNodeList); overload; |
|
Assign from Source. Equivalent to Clear and then AddRange(Source). | |
![]() |
procedure Assign(const Source: array of TX3DNode); overload; |
|
Assign from Source. Equivalent to Clear and then AddRange(Source). | |
Properties
![]() |
property AutoRemove: Boolean read FAutoRemove write SetAutoRemove default false; |
|
If You can only change this property when the list is empty. Otherwise we could have a weird situation when some nodes are automatically removed from the list, and some are not, which seems counter-intuitive. Internally, this is done using TX3DNode.AddDestructionNotification. | |
Generated by PasDoc 0.16.0-snapshot.

