CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
25 #ifndef _ODDBOBJECTID_INCLUDED_
26 #define _ODDBOBJECTID_INCLUDED_
113 OdDbStub* objectId) : m_Id (objectId) { }
123 bool isNull ()
const {
return m_Id == 0; }
136 #if defined(_MSC_VER) && (_MSC_VER > 1800)
144 OdDbStub* objectId) { m_Id = objectId;
return *
this; }
164 bool operator ! ()
const {
return isNull(); }
171 inline operator OdDbStub* ()
const {
return (OdDbStub*)m_Id; }
178 inline OdDbStubExt* operator -> ()
const {
return (OdDbStubExt*)m_Id; }
269 bool openErasedOne =
false)
const;
292 bool openErasedOne =
false)
const;
324 bool openErasedOne =
false)
const;
337 friend class OdDbStub;
374 OdDbStub* objectId) { m_Id = objectId;
return *
this; }
423 OdDbStub* objectId) { m_Id = objectId;
return *
this; }
473 OdDbStub* objectId) { m_Id = objectId;
return *
this; }
520 OdDbStub* objectId) { m_Id = (OdDbStub*)objectId;
return *
this; }
539 #endif //_ODDBOBJECTID_INCLUDED_
bool operator<=(const OdString &s1, const OdString &s2)
OdDbObjectId & operator=(OdDbStub *objectId)
OdDbObjectPtr openObject(OdDb::OpenMode openMode=OdDb::kForRead, bool openErasedOne=false) const
OdDbDatabase * originalDatabase() const
OdDbHardOwnershipId(OdDbStub *objectId)
OdDbSoftOwnershipId(const OdDbObjectId &objectId)
OdSmartPtr< OdDbObject > OdDbObjectPtr
bool operator!=(const OdDbObjectId &objectId) const
OdDbObjectPtr safeOpenObject(OdDb::OpenMode openMode=OdDb::kForRead, bool openErasedOne=false) const
bool DAI_EXPORT operator!=(const OdDAI::OdSelect &left, const OdDAI::OdSelect &right)
bool isEffectivelyErased() const
bool operator>(const OdString &s1, const OdString &s2)
static TOOLKIT_EXPORT_STATIC const OdDbObjectId kNull
bool operator>=(const OdString &s1, const OdString &s2)
#define TOOLKIT_EXPORT_STATIC
OdDbHardOwnershipId(const OdDbObjectId &objectId)
void bindObject(OdDbObject *pObj)
OdDbDatabase * database() const
OdDbSoftOwnershipId(OdDbStub *objectId)
void convertToRedirectedId()
bool operator<(const OdString &s1, const OdString &s2)
OdDbObjectId(OdDbStub *objectId)
OdDbSoftPointerId(const OdDbObjectId &objectId)
const OdDbHandle & getNonForwardedHandle() const
OdResult openObject(OdDbObjectPtr &pObj, OdDb::OpenMode openMode=OdDb::kForRead, bool openErasedOne=false) const
bool operator==(const OdDbObjectId &objectId) const
OdDbSoftPointerId(OdDbStub *objectId)
bool DAI_EXPORT operator==(const OdFileDescriptionAuto &left, const OdFileDescriptionAuto &right)
OdDbHardPointerId(OdDbStub *objectId)
const OdDbHandle & getHandle() const
OdRxClass * objectClass() const
bool objectLeftOnDisk() const
OdDbHardPointerId(const OdDbObjectId &objectId)