14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
21 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
24 swigCPtr =
new HandleRef(
this, cPtr);
26 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
28 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
37 global::System.GC.SuppressFinalize(
this);
40 protected virtual void Dispose(
bool disposing) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
47 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
52 public override bool Equals(
object obj)
67 public OdDbObjectId() : this(
TD_DbPINVOKE.new_OdDbObjectId__SWIG_0(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null) {
68 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
77 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
131 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new OdDbStub(cPtr,
false);
194 IntPtr saved_pObj = tmp_pObj;
201if(tmp_pObj == IntPtr.Zero) pObj =
null;
202 if(tmp_pObj != IntPtr.Zero && tmp_pObj != saved_pObj)
204 MemoryTransaction mTrans_pObj = MemoryManager.GetMemoryManager().GetCurrentTransaction();
205 if(mTrans_pObj !=
null)
215 IntPtr saved_pObj = tmp_pObj;
222if(tmp_pObj == IntPtr.Zero) pObj =
null;
223 if(tmp_pObj != IntPtr.Zero && tmp_pObj != saved_pObj)
225 MemoryTransaction mTrans_pObj = MemoryManager.GetMemoryManager().GetCurrentTransaction();
226 if(mTrans_pObj !=
null)
236 IntPtr saved_pObj = tmp_pObj;
243if(tmp_pObj == IntPtr.Zero) pObj =
null;
244 if(tmp_pObj != IntPtr.Zero && tmp_pObj != saved_pObj)
246 MemoryTransaction mTrans_pObj = MemoryManager.GetMemoryManager().GetCurrentTransaction();
247 if(mTrans_pObj !=
null)
256 MemoryManager mMan = MemoryManager.GetMemoryManager();
257 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
276 MemoryManager mMan = MemoryManager.GetMemoryManager();
277 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
296 MemoryManager mMan = MemoryManager.GetMemoryManager();
297 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
316 MemoryManager mMan = MemoryManager.GetMemoryManager();
317 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
336 MemoryManager mMan = MemoryManager.GetMemoryManager();
337 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
356 MemoryManager mMan = MemoryManager.GetMemoryManager();
357 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
static HandleRef getCPtr(OdDbStub obj)
static HandleRef getCPtr(OdDbObject obj)
bool isEffectivelyErased()
virtual void Dispose(bool disposing)
OdDbObjectId Assign(OdDbObjectId objectId)
OdDbObject safeOpenObject()
OdDbStub AsOdDbStubPointer()
OdDbObject safeOpenObject(OpenMode openMode, bool openErasedOne)
override bool Equals(object obj)
OdDbObject openObject(OpenMode openMode, bool openErasedOne)
OdDbObject openObject(OpenMode openMode)
void convertToRedirectedId()
OdDbObjectId AssignOdDbStub(OdDbStub objectId)
OdResult openObject(ref OdDbObject pObj, OpenMode openMode, bool openErasedOne)
OdResult openObject(ref OdDbObject pObj, OpenMode openMode)
OdDbDatabase originalDatabase()
OdDbObjectId(IntPtr cPtr, bool cMemoryOwn)
bool IsNotEqual(OdDbObjectId objectId)
static OdDbObjectId kNull
void bindObject(OdDbObject pObj)
static HandleRef getCPtr(OdDbObjectId obj)
OdDbObject safeOpenObject(OpenMode openMode)
OdDbObjectId(OdDbStub objectId)
OdDbHandle getNonForwardedHandle()
bool IsEqual(OdDbObjectId objectId)
OdResult openObject(ref OdDbObject pObj)
override int GetHashCode()
static global::System.Exception Retrieve()
static IntPtr OdDbObjectId_openObject__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3)
static IntPtr OdDbObjectId_database(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbObjectId_bindObject(global::System.Runtime.InteropServices.HandleRef jarg1, HandleRef jarg2)
static bool OdDbObjectId_isValid(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbObjectId_isEffectivelyErased(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDbObjectId_safeOpenObject__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDbObjectId_safeOpenObject__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3)
static bool OdDbObjectId_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDbObjectId_isNull(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDbObjectId_safeOpenObject__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdDbObjectId_AssignOdDbStub(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int OdDbObjectId_openObject__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2, int jarg3, bool jarg4)
static int OdDbObjectId_openObject__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2, int jarg3)
static global::System.IntPtr OdDbObjectId_getHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbObjectId_kNull_get()
static void OdDbObjectId_setNull(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbObjectId_objectLeftOnDisk(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbObjectId___deref__(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDbObjectId_openObject__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2)
static global::System.IntPtr OdDbObjectId_AsOdDbStubPointer(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDbObjectId(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDbObjectId_openObject__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbObjectId_getNonForwardedHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDbObjectId_isErased(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDbObjectId_convertToRedirectedId(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDbObjectId_originalDatabase(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDbObjectId_openObject__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static IntPtr OdDbObjectId_objectClass(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDbObjectId_Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDbObjectId_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)