API Reference > OdRx Classes > OdRxClass Class > OdRxClass Methods > OdRxClass::addX Method
OdRxClass::addX Method
Syntax
C++
OdRxObjectPtr addX(OdRxClass* pProtocolClass, OdRxObject* pProtocolObject);
Parameters 
Description 
OdRxClass* pProtocolClass 
[in] Pointer to the Protocol Extension class.  
OdRxObject* pProtocolObject 
[in] Pointer to the Protocol Extension Object. 

Returns a SmartPointer to the Protocol Extension.

Creates the Protocol Extension for the specified OdRxClass. 

 

The default implementation of this object does nothing but return a null pointer, and asserts in debug mode. It will be fully implemented in a future *release*.

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