24 #ifndef _DAI_OBJECT_ID_H_
25 #define _DAI_OBJECT_ID_H_
38 class EntityInstanceWrapper;
171 inline operator OdDbStub*()
const {
return m_Id; }
179 return reinterpret_cast<OdDbStub*
>(m_Id);
225 bool openErasedOne =
false)
const;
236 OdDbStub*
id()
const;
237 friend class OdDbStub;
OdDAI::EntityInstancePtr get() const
OdDAIObjectId & operator=(const OdDAIObjectId &objectId)
OdDAIObjectId(OdDbStub *objectId)
OdDAI::EntityInstancePtr openObject(OdDAI::OpenMode openMode=OdDAI::kForRead, bool openErasedOne=false) const
OdDbBaseDatabase * model() const
bool operator<(const OdDAIObjectId &objectId) const
static DAI_EXPORT_STATIC const OdDAIObjectId kNull
OdDbStub * operator->() const
static DAI_EXPORT_STATIC const handle_type kNullHandle
const OdDbHandle & getHandle() const
bool operator!=(const OdDAIObjectId &objectId) const
bool operator>(const OdDAIObjectId &objectId) const
bool operator==(const OdDAIObjectId &objectId) const
bool operator>=(const OdDAIObjectId &objectId) const
bool operator<=(const OdDAIObjectId &objectId) const
OdDAIObjectId & operator=(OdDbStub *objectId)
#define DAI_EXPORT_STATIC
OdRxObject OdDbBaseDatabase
OdArray< OdDAIObjectId > OdDAIObjectIds
OdSmartPtr< EntityInstanceWrapper > EntityInstanceWrapperPtr