CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdDbObjectContextAttributePE Class Reference

#include <DbObjectContextPE.h>

Inheritance diagram for OdDbObjectContextAttributePE:
OdDbObjectContextTextPE OdDbObjectContextPE OdDbObjectContextInterface OdDbObjectContextInterface OdRxObject OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbObjectContextAttributePE)
 
virtual OdResult addContext (OdDbObject *pObject, const OdDbObjectContext &ctx) const ODRX_OVERRIDE
 
virtual OdResult removeContext (OdDbObject *, const OdDbObjectContext &) const ODRX_OVERRIDE
 
- Public Member Functions inherited from OdDbObjectContextTextPE
 ODRX_DECLARE_MEMBERS (OdDbObjectContextTextPE)
 
virtual OdDbObjectContextDataPtr createContextData (const OdDbObject *, const OdDbObjectContext &, const OdDbObjectContext &def) const
 
- Public Member Functions inherited from OdDbObjectContextPE
 ODRX_DECLARE_MEMBERS (OdDbObjectContextPE)
 
virtual OdResult setDefaultContext (OdDbObject *, const OdDbObjectContext &)
 
virtual OdDbObjectContextDataPtr getDefaultContextData (const OdDbObject *, const OdString &) const
 
virtual bool hasContext (const OdDbObject *, const OdDbObjectContext &) const
 
virtual bool supportsCollection (const OdDbObject *, const OdString &) const
 
virtual OdDbObjectContextDataPtr getContextData (const OdDbObject *, const OdDbObjectContext &) const
 
 ODRX_DECLARE_MEMBERS (OdDbObjectContextPE)
 
virtual OdResult setDefaultContext (OdDbObject *, const OdDbObjectContext &)
 
virtual OdDbObjectContextDataPtr getDefaultContextData (const OdDbObject *, const OdString &) const
 
virtual bool hasContext (const OdDbObject *, const OdDbObjectContext &) const
 
virtual bool supportsCollection (const OdDbObject *, const OdString &) const
 
virtual OdDbObjectContextDataPtr getContextData (const OdDbObject *, const OdDbObjectContext &) const
 
- Public Member Functions inherited from OdDbObjectContextInterface
 ODRX_DECLARE_MEMBERS (OdDbObjectContextInterface)
 
- 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 OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

Definition at line 116 of file DbObjectContextPE.h.

Member Function Documentation

◆ addContext()

virtual OdResult OdDbObjectContextAttributePE::addContext ( OdDbObject pObject,
const OdDbObjectContext context 
) const
virtual

Adds a context to the specified object.

\param pObject [in]  Pointer to the object.
\param context [in]  Name of the context to add.

\returns
Returns eOk if successful, or an appropriate error code if not.

Reimplemented from OdDbObjectContextPE.

◆ ODRX_DECLARE_MEMBERS()

OdDbObjectContextAttributePE::ODRX_DECLARE_MEMBERS ( OdDbObjectContextAttributePE  )

◆ removeContext()

virtual OdResult OdDbObjectContextAttributePE::removeContext ( OdDbObject pObject,
const OdDbObjectContext context 
) const
virtual

Removes a context from the specified object.

\param pObject [in]  Pointer to the object.
\param context [in]  Name of the context to remove.

\returns
Returns eOk if successful, or an appropriate error code if not.

Reimplemented from OdDbObjectContextPE.


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