API Reference > OdRx Classes > OdRxOverrule Class
OdRxOverrule Class
OdRxOverruleOdRxOverrule
Syntax
C++
class OdRxOverrule : public OdRxObject;

RxOverrule.h

This class is an abstract base class for implementation of overrules. An overrule can be registered or unregistered, and overrules can be globally activated or deactivated. Overrules are internally managed by pairs of classes named as "target" and "overrule." The "target" is the class to which the overrule applies. Classes can have multiple overrules registered. 

Corresponding C++ library: TD_Db

 
Name 
Description 
 
Destructor deletes an instance of this class. 
 
Name 
Description 
 
Registers an object for a given class to be overruled. This method returns eOk if successful.
 
 
Checks whether the specified overrule handles a given object and returns True if the object is to be handled by overrule, or False, otherwise.
 
 
Determines whether the overrule is applicable and returns True if the overrule can be applied, or False, otherwise. It is a pure virtual method that must be implemented in the derived class.
 
 
Checks whether the overruling mechanism is enabled (true) or disabled (false). 
 
This is ODRX_DECLARE_MEMBERS, a member of class OdRxOverrule. 
 
Unregisters an object for the given class. This method returns eOk if successful.
 
 
Enables or disables the overruling mechanism.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.