CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdDbSoftPointerId Class Reference

#include <DbObjectId.h>

Inheritance diagram for OdDbSoftPointerId:
OdDbObjectId

Public Member Functions

 OdDbSoftPointerId ()
 
 OdDbSoftPointerId (const OdDbObjectId &objectId)
 
 OdDbSoftPointerId (OdDbStub *objectId)
 
OdDbSoftPointerId & operator= (const OdDbSoftPointerId &objectId)
 
OdDbSoftPointerId & operator= (const OdDbObjectId &objectId)
 
OdDbSoftPointerId & operator= (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
 
OdDbObjectId & operator= (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
 
OdDbDatabase * database () const
 
OdDbDatabase * originalDatabase () const
 
void convertToRedirectedId ()
 
bool isErased () const
 
bool isEffectivelyErased () const
 
bool objectLeftOnDisk () const
 
const OdDbHandle & getHandle () const
 
const OdDbHandle & getNonForwardedHandle () 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)
 
OdRxClass * objectClass () const
 

Additional Inherited Members

- Static Public Attributes inherited from OdDbObjectId
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
 
- Protected Attributes inherited from OdDbObjectId
OdDbStub * m_Id
 

Detailed Description

This class is a specialization of OdDbObjectId indicating a soft pointer relationship.

Remarks
An OdDbSoftPointerId reference another object is used when neither object depends on the existance of the other.

Corresponding C++ library: TD_Db

<group OdDb_Classes>

Definition at line 500 of file DbObjectId.h.

Constructor & Destructor Documentation

◆ OdDbSoftPointerId() [1/3]

OdDbSoftPointerId::OdDbSoftPointerId ( )
inline

Definition at line 503 of file DbObjectId.h.

◆ OdDbSoftPointerId() [2/3]

OdDbSoftPointerId::OdDbSoftPointerId ( const OdDbObjectId &  objectId)
inline

Definition at line 505 of file DbObjectId.h.

◆ OdDbSoftPointerId() [3/3]

OdDbSoftPointerId::OdDbSoftPointerId ( OdDbStub *  objectId)
inline

DOM

Definition at line 509 of file DbObjectId.h.

Member Function Documentation

◆ operator!=() [1/2]

bool OdDbSoftPointerId::operator!= ( const OdDbObjectId &  objectId) const
inline

Definition at line 522 of file DbObjectId.h.

◆ operator!=() [2/2]

bool OdDbSoftPointerId::operator!= ( OdDbStub *  objectId) const
inline

DOM

Definition at line 526 of file DbObjectId.h.

◆ operator=() [1/3]

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

Definition at line 515 of file DbObjectId.h.

◆ operator=() [2/3]

OdDbSoftPointerId& OdDbSoftPointerId::operator= ( const OdDbSoftPointerId &  objectId)
inline

Definition at line 512 of file DbObjectId.h.

◆ operator=() [3/3]

OdDbSoftPointerId& OdDbSoftPointerId::operator= ( OdDbStub *  objectId)
inline

DOM

Definition at line 519 of file DbObjectId.h.

◆ operator==() [1/2]

bool OdDbSoftPointerId::operator== ( const OdDbObjectId &  objectId) const
inline

Definition at line 529 of file DbObjectId.h.

◆ operator==() [2/2]

bool OdDbSoftPointerId::operator== ( OdDbStub *  objectId) const
inline

DOM

Definition at line 532 of file DbObjectId.h.


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