Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdClsIdSmartPtr<class ClsIdRetriever, class T>::attach Method (OdRxObject*)
Syntax
C++
inline void attach(OdRxObject* pObject);

Assigns the specified object to this SmartPointer object. 

 

Parameters
Description
pObject
[in] Pointer to the object to be assigned.

The reference count of the specified object is not incremented. 

If this SmartPointer is currently referencing another object, that object is released prior to the assignment.

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