API Reference > OdRx Classes > OdRxObjectPtr Class > OdRxObjectPtr Constructor > OdRxObjectPtr::OdRxObjectPtr Constructor ()
OdRxObjectPtr::OdRxObjectPtr Constructor ()
Syntax
C++
OdRxObjectPtr(); OdRxObjectPtr(const OdRxObject* pSource, OdRxObjMod); OdRxObjectPtr(const OdRxObject* pSource); OdRxObjectPtr(const OdRxObjectPtr& pSource); OdRxObjectPtr(const OdBaseObjectPtr& pSource);
Parameters 
Description 
const OdRxObject* pSource 
[in] Pointer to the specified object to be assigned for the new SmartPointer object. 

Constructors for the non-typified smart pointer. 

 

If pSourceis specified, the smart pointer is set to the address of the specified object. If pSource is not specified, the smart pointer is set to a NULL. 

If OdRxObjMod is specified, the reference counter of the specified object is *not* incremented.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.