CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdDbObjectContextDefaultPE Class Reference

#include <DbObjectContextPE.h>

Inheritance diagram for OdDbObjectContextDefaultPE:
OdDbObjectContextInterface OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbObjectContextDefaultPE)
 
virtual OdResult addContext (OdDbObject *, const OdDbObjectContext &) const
 
virtual bool hasContext (const OdDbObject *, const OdDbObjectContext &) const
 
virtual OdResult removeContext (OdDbObject *, const OdDbObjectContext &) const
 
virtual bool supportsCollection (const OdDbObject *, const OdString &) 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 31 of file DbObjectContextPE.h.

Member Function Documentation

◆ addContext()

virtual OdResult OdDbObjectContextDefaultPE::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.

Implements OdDbObjectContextInterface.

◆ hasContext()

virtual bool OdDbObjectContextDefaultPE::hasContext ( const OdDbObject pObject,
const OdDbObjectContext context 
) const
virtual

Returns whether a context is used by a specified object.

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

\returns
Returns true if the object uses the named context, or returns
false if it does not.

Implements OdDbObjectContextInterface.

◆ ODRX_DECLARE_MEMBERS()

OdDbObjectContextDefaultPE::ODRX_DECLARE_MEMBERS ( OdDbObjectContextDefaultPE  )

◆ removeContext()

virtual OdResult OdDbObjectContextDefaultPE::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.

Implements OdDbObjectContextInterface.

◆ supportsCollection()

virtual bool OdDbObjectContextDefaultPE::supportsCollection ( const OdDbObject pObject,
const OdString collectionName 
) const
virtual

Returns whether a context collection is supported by a specified object.

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

\returns
Returns true if the object supports the named context collection, or returns
false if it does not.

Implements OdDbObjectContextInterface.


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