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

#include <DbObjectId.h>

Inheritance diagram for OdDbSoftOwnershipId:
OdDbObjectId

Public Member Functions

 OdDbSoftOwnershipId ()
 
 OdDbSoftOwnershipId (const OdDbObjectId &objectId)
 
 OdDbSoftOwnershipId (OdDbStub *objectId)
 
OdDbSoftOwnershipIdoperator= (const OdDbObjectId &objectId)
 
OdDbSoftOwnershipIdoperator= (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 soft owner relationship.

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

An OdDbSoftOwnershipId 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 407 of file DbObjectId.h.

Constructor & Destructor Documentation

◆ OdDbSoftOwnershipId() [1/3]

OdDbSoftOwnershipId::OdDbSoftOwnershipId ( )
inline

Definition at line 411 of file DbObjectId.h.

◆ OdDbSoftOwnershipId() [2/3]

OdDbSoftOwnershipId::OdDbSoftOwnershipId ( const OdDbObjectId objectId)
inline

Definition at line 413 of file DbObjectId.h.

◆ OdDbSoftOwnershipId() [3/3]

OdDbSoftOwnershipId::OdDbSoftOwnershipId ( OdDbStub objectId)
inline

DOM

Definition at line 417 of file DbObjectId.h.

Member Function Documentation

◆ operator!=() [1/2]

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

Definition at line 427 of file DbObjectId.h.

◆ operator!=() [2/2]

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

DOM

Definition at line 431 of file DbObjectId.h.

◆ operator=() [1/2]

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

Definition at line 420 of file DbObjectId.h.

◆ operator=() [2/2]

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

DOM

Definition at line 424 of file DbObjectId.h.

◆ operator==() [1/2]

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

Definition at line 434 of file DbObjectId.h.

◆ operator==() [2/2]

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

DOM

Definition at line 438 of file DbObjectId.h.


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