CFx SDK Documentation
2022 SP0
|
#include <DbObjectContextManager.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbObjectContextManager) | |
OdDbObjectContextManager (OdDbObjectContextManagerImpl *) | |
virtual | ~OdDbObjectContextManager () |
OdResult | registerContextCollection (const OdString &collectionName, OdDbObjectContextCollection *pCollection) |
OdResult | unregisterContextCollection (const OdString &collectionName) |
OdDbObjectContextCollection * | contextCollection (const OdString &collectionName) const |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 |
Protected Attributes | |
OdDbObjectContextManagerImpl * | m_pImpl |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class returns and manages the context objects that are available in a drawing.
<group OdDb_Classes>
Definition at line 46 of file DbObjectContextManager.h.
OdDbObjectContextManager::OdDbObjectContextManager | ( | OdDbObjectContextManagerImpl * | ) |
|
virtual |
OdDbObjectContextCollection* OdDbObjectContextManager::contextCollection | ( | const OdString & | collectionName | ) | const |
Returns a pointer to a context collection using its name as an identifier.
\param collectionName [out] Name of the context collection. \returns Returns a pointer to the registered context collection. If no collection exists with the specified name, Null is returned.
OdDbObjectContextManager::ODRX_DECLARE_MEMBERS | ( | OdDbObjectContextManager | ) |
OdResult OdDbObjectContextManager::registerContextCollection | ( | const OdString & | collectionName, |
OdDbObjectContextCollection * | pCollection | ||
) |
Registers a context collection with the context manager.
\param collectionName [in] Name of the context collection. \param pCollection [in] Pointer to the context collection. \returns Returns eOk if successful, or an appropriate error code if not.
Unregisters a context collection from the context manager.
\param collectionName [in] Name of the context collection. \returns Returns eOk if successful, or an appropriate error code if not.
|
protected |
Definition at line 92 of file DbObjectContextManager.h.