API Reference > OdRx Classes > OdRxOverrule Class > OdRxOverrule Methods > OdRxOverrule::addOverrule Method
OdRxOverrule::addOverrule Method
Syntax
C++
static OdResult addOverrule(OdRxClass* pClass, OdRxOverrule* pOverrule, bool bAddAtLast = false);
Parameters 
Description 
OdRxClass* pClass 
[in] A raw pointer to the class description object to which the overrule applies.  
OdRxOverrule* pOverrule 
[in] A raw pointer to an object to be overruled.  
bool bAddAtLast = false 
[in] Determines whether the pair should be added in the end of the overrule collection. 

Registers an object for a given class to be overruled. This method returns eOk if successful. 

 

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