Class TX3DNodeDeepCopyState
Unit
X3DNodes
Declaration
type TX3DNodeDeepCopyState = class(TObject)
Description
Private stuff for TX3DNode.DeepCopy and friends implementation.
Hierarchy
- TObject
- TX3DNodeDeepCopyState
Overview
Methods
Description
Methods
 |
constructor Create; |
|
 |
destructor Destroy; override; |
|
 |
function DeepCopy(OriginalNode: TX3DNode): TX3DNode; |
Return a copy or OriginalNode.
To keep sharing of nodes (DEF/USE mechanism) within the newly created copy, we need a list of already duplicated children. This method uses and updates such list. When called for the first time with OriginalNode, it actually creates a duplicate (by OriginalNode.DeepCopy). Next time, it will just return this copy.
|
Generated by PasDoc 0.13.0 on 2014-08-30 12:10:46
|