Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgElement::deepClone Method
Syntax
C++
virtual OdDgElementPtr deepClone(OdDgIdMapping& ownerIdMap) const;

Performs a deep clone of this object. 

 

Parameters
Description
ownerIdMap
[in] Owner's ID map.

Returns a SmartPointer to the newly created clone, and adds a record to the specified ID map. 

If the cloning operation fails, a null SmartPointer is returned. 

A deep clone is a clone of this object and everything it owns. 

This function should not be called by client code; use OdDgDatabase::deepCloneObjects() instead. 

This function can be overridden in custom classes. 

The default implementation of this function appends the cloned object to the specified owner object.

Copyright © 2002-2022. Open Design Alliance All rights reserved.