CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdDbPropertiesOverrule Class Reference

#include <DbObjectOverrule.h>

Inheritance diagram for OdDbPropertiesOverrule:
OdRxOverrule OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbPropertiesOverrule)
 
 OdDbPropertiesOverrule ()
 
virtual OdResult getClassID (const OdDbObject *pSubject, void *pClsid)
 
virtual void list (const OdDbEntity *pSubject)
 
- Public Member Functions inherited from OdRxOverrule
 ODRX_DECLARE_MEMBERS (OdRxOverrule)
 
virtual ~OdRxOverrule ()
 
virtual bool isApplicable (const OdRxObject *pOverruledSubject) const =0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxOverrule
static OdResult addOverrule (OdRxClass *pClass, OdRxOverrule *pOverrule, bool bAddAtLast=false)
 
static OdResult removeOverrule (OdRxClass *pClass, OdRxOverrule *pOverrule)
 
static void setIsOverruling (bool bIsOverruling)
 
static bool isOverruling ()
 
static bool hasOverrule (const OdRxObject *pSubject, OdRxClass *pOverruleClass)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class overrules a subset of property linked operations which an object or entity specifies. It is used as a base class for classes derived from OdDbObject or OdDbEntity to change their behavior. Each default implementation calls the corresponding method of the target class.

Corresponding C++ library: TD_Db <group OdDb_Classes>

Definition at line 102 of file DbObjectOverrule.h.

Constructor & Destructor Documentation

◆ OdDbPropertiesOverrule()

OdDbPropertiesOverrule::OdDbPropertiesOverrule ( )

Constructor creates an instance of this class.

Member Function Documentation

◆ getClassID()

virtual OdResult OdDbPropertiesOverrule::getClassID ( const OdDbObject pSubject,
void pClsid 
)
virtual

Overrules the OdDbObject::subGetClassID() method and calls it in the default implementation. This method returns eOk if successful.

Parameters
pSubject[in] A raw pointer to an object or entity.
pClsid[out] A pointer to the corresponding COM wrapper class ID.

◆ list()

virtual void OdDbPropertiesOverrule::list ( const OdDbEntity pSubject)
virtual

Overrules the OdDbEntity::subList() method and calls it in the default implementation. This method returns eOk if successful.

Parameters
pSubject[in] A raw pointer to an entity.

◆ ODRX_DECLARE_MEMBERS()

OdDbPropertiesOverrule::ODRX_DECLARE_MEMBERS ( OdDbPropertiesOverrule  )

The documentation for this class was generated from the following file: