API Reference > OdRx Classes > OdRxOverrule Class > OdRxOverrule Methods > OdRxOverrule::hasOverrule Method
OdRxOverrule::hasOverrule Method
Syntax
C++
static bool hasOverrule(const OdRxObject* pSubject, OdRxClass* pOverruleClass);
Parameters 
Description 
const OdRxObject* pSubject 
[in] A raw pointer to an object to be overruled. 
OdRxClass* pOverruleClass 
[in] A raw pointer to the class description object to which the overrule applies.  

Checks whether the specified overrule handles a given object and returns True if the object is to be handled by overrule, or False, otherwise. 

 

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