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

#include <AECFromDDSource.h>

Inheritance diagram for OdDbObjectContextPE:
OdDbObjectContextInterface OdRxObject AECDbDimensionGroupContextPE OdDbObjectContextBlkRefPE OdDbObjectContextDimPE OdDbObjectContextFcfPE OdDbObjectContextHatchPE OdDbObjectContextLeaderPE OdDbObjectContextMLeaderPE OdDbObjectContextMTextPE OdDbObjectContextTextPE

Public Member Functions

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

Detailed Description

<group OdDb_Classes>

Definition at line 36 of file AECFromDDSource.h.

Member Function Documentation

◆ addContext() [1/2]

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

Reimplemented in OdDbObjectContextMLeaderPE, OdDbObjectContextBlkRefPE, OdDbObjectContextDimPE, OdDbObjectContextHatchPE, and OdDbObjectContextAttributePE.

◆ addContext() [2/2]

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

Reimplemented in OdDbObjectContextMLeaderPE, OdDbObjectContextBlkRefPE, OdDbObjectContextDimPE, OdDbObjectContextHatchPE, and OdDbObjectContextAttributePE.

◆ compose()

virtual void OdDbObjectContextPE::compose ( OdDbObject pObj)
virtual

Reimplemented in OdDbObjectContextBlkRefPE.

◆ createContextData() [1/2]

virtual OdDbObjectContextDataPtr OdDbObjectContextPE::createContextData ( const OdDbObject ,
const OdDbObjectContext ,
const OdDbObjectContext def 
) const
pure virtual

◆ createContextData() [2/2]

virtual OdDbObjectContextDataPtr OdDbObjectContextPE::createContextData ( const OdDbObject pObj,
const OdDbObjectContext ctx,
const OdDbObjectContext def 
) const
pure virtual

◆ getContextData() [1/2]

virtual OdDbObjectContextDataPtr OdDbObjectContextPE::getContextData ( const OdDbObject ,
const OdDbObjectContext  
) const
virtual

◆ getContextData() [2/2]

virtual OdDbObjectContextDataPtr OdDbObjectContextPE::getContextData ( const OdDbObject ,
const OdDbObjectContext  
) const
virtual

◆ getDefaultContextData() [1/2]

virtual OdDbObjectContextDataPtr OdDbObjectContextPE::getDefaultContextData ( const OdDbObject ,
const OdString  
) const
virtual

◆ getDefaultContextData() [2/2]

virtual OdDbObjectContextDataPtr OdDbObjectContextPE::getDefaultContextData ( const OdDbObject ,
const OdString  
) const
virtual

◆ hasContext() [1/2]

virtual bool OdDbObjectContextPE::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.

◆ hasContext() [2/2]

virtual bool OdDbObjectContextPE::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() [1/2]

OdDbObjectContextPE::ODRX_DECLARE_MEMBERS ( OdDbObjectContextPE  )

◆ ODRX_DECLARE_MEMBERS() [2/2]

OdDbObjectContextPE::ODRX_DECLARE_MEMBERS ( OdDbObjectContextPE  )

◆ removeContext() [1/2]

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

Reimplemented in OdDbObjectContextAttributePE, and OdDbObjectContextBlkRefPE.

◆ removeContext() [2/2]

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

Reimplemented in OdDbObjectContextAttributePE, and OdDbObjectContextBlkRefPE.

◆ setDefaultContext() [1/2]

virtual OdResult OdDbObjectContextPE::setDefaultContext ( OdDbObject ,
const OdDbObjectContext  
)
virtual

Reimplemented in OdDbObjectContextBlkRefPE.

◆ setDefaultContext() [2/2]

virtual OdResult OdDbObjectContextPE::setDefaultContext ( OdDbObject ,
const OdDbObjectContext  
)
virtual

Reimplemented in OdDbObjectContextBlkRefPE.

◆ supportsCollection() [1/2]

virtual bool OdDbObjectContextPE::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.

◆ supportsCollection() [2/2]

virtual bool OdDbObjectContextPE::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 files: