CFx SDK Documentation  2020SP3
Public Member Functions | List of all members
OdDbHardOwnershipId Class Reference

#include <DbObjectId.h>

Inheritance diagram for OdDbHardOwnershipId:
OdDbObjectId

Public Member Functions

 OdDbHardOwnershipId ()
 
 OdDbHardOwnershipId (const OdDbObjectId &objectId)
 
 OdDbHardOwnershipId (OdDbStub *objectId)
 
OdDbHardOwnershipIdoperator= (const OdDbObjectId &objectId)
 
OdDbHardOwnershipIdoperator= (OdDbStub *objectId)
 
bool operator!= (const OdDbObjectId &objectId) const
 
bool operator!= (OdDbStub *objectId) const
 
bool operator== (const OdDbObjectId &objectId) const
 
bool operator== (OdDbStub *objectId) const
 
- Public Member Functions inherited from OdDbObjectId
 OdDbObjectId ()
 
 OdDbObjectId (OdDbStub *objectId)
 
bool isNull () const
 
void setNull ()
 
bool isValid () const
 
OdDbObjectIdoperator= (OdDbStub *objectId)
 
bool operator< (const OdDbObjectId &objectId) const
 
bool operator> (const OdDbObjectId &objectId) const
 
bool operator>= (const OdDbObjectId &objectId) const
 
bool operator<= (const OdDbObjectId &objectId) const
 
bool operator== (const OdDbObjectId &objectId) const
 
bool operator!= (const OdDbObjectId &objectId) const
 
bool operator! () const
 
 operator OdDbStub * () const
 
OdDbStubExt * operator-> () const
 
OdDbDatabasedatabase () const
 
OdDbDatabaseoriginalDatabase () const
 
void convertToRedirectedId ()
 
bool isErased () const
 
bool isEffectivelyErased () const
 
bool objectLeftOnDisk () const
 
const OdDbHandlegetHandle () const
 
const OdDbHandlegetNonForwardedHandle () const
 
OdResult openObject (OdDbObjectPtr &pObj, OdDb::OpenMode openMode=OdDb::kForRead, bool openErasedOne=false) const
 
OdDbObjectPtr openObject (OdDb::OpenMode openMode=OdDb::kForRead, bool openErasedOne=false) const
 
OdDbObjectPtr safeOpenObject (OdDb::OpenMode openMode=OdDb::kForRead, bool openErasedOne=false) const
 
void bindObject (OdDbObject *pObj)
 
OdRxClassobjectClass () const
 

Additional Inherited Members

- Static Public Attributes inherited from OdDbObjectId
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
 
- Protected Attributes inherited from OdDbObjectId
OdDbStubm_Id
 

Detailed Description

This class is a specialization of OdDbObjectId indicating a hard owner relationship.

Remarks
An OdDbHardOwnershipId reference to another object is used when the owner requires the owned object, and the owned object cannot exist on its own.

An OdDbHardOwnershipId reference to an object dictates that the owned object is written to .dwg and .dxf files whenever the owner object is written.

Corresponding C++ library: TD_Db

<group OdDb_Classes>

Definition at line 355 of file DbObjectId.h.

Constructor & Destructor Documentation

◆ OdDbHardOwnershipId() [1/3]

OdDbHardOwnershipId::OdDbHardOwnershipId ( )
inline

Definition at line 359 of file DbObjectId.h.

◆ OdDbHardOwnershipId() [2/3]

OdDbHardOwnershipId::OdDbHardOwnershipId ( const OdDbObjectId objectId)
inline

Definition at line 361 of file DbObjectId.h.

◆ OdDbHardOwnershipId() [3/3]

OdDbHardOwnershipId::OdDbHardOwnershipId ( OdDbStub objectId)
inline

DOM

Definition at line 365 of file DbObjectId.h.

Member Function Documentation

◆ operator!=() [1/2]

bool OdDbHardOwnershipId::operator!= ( const OdDbObjectId objectId) const
inline

Definition at line 376 of file DbObjectId.h.

◆ operator!=() [2/2]

bool OdDbHardOwnershipId::operator!= ( OdDbStub objectId) const
inline

DOM

Definition at line 380 of file DbObjectId.h.

◆ operator=() [1/2]

OdDbHardOwnershipId& OdDbHardOwnershipId::operator= ( const OdDbObjectId objectId)
inline

Definition at line 368 of file DbObjectId.h.

◆ operator=() [2/2]

OdDbHardOwnershipId& OdDbHardOwnershipId::operator= ( OdDbStub objectId)
inline

DOM

Definition at line 373 of file DbObjectId.h.

◆ operator==() [1/2]

bool OdDbHardOwnershipId::operator== ( const OdDbObjectId objectId) const
inline

Definition at line 383 of file DbObjectId.h.

◆ operator==() [2/2]

bool OdDbHardOwnershipId::operator== ( OdDbStub objectId) const
inline

DOM

Definition at line 387 of file DbObjectId.h.


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