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)
128 OdDbStub ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new OdDbStub(cPtr,
false);
135 OdDgStub ret = (cPtr == global::System.IntPtr.Zero) ?
null :
new OdDgStub(cPtr,
false);
179 IntPtr saved_pObj = tmp_pObj;
186if(tmp_pObj == IntPtr.Zero) pObj =
null;
187 if(tmp_pObj != IntPtr.Zero && tmp_pObj != saved_pObj)
189 MemoryTransaction mTrans_pObj = MemoryManager.GetMemoryManager().GetCurrentTransaction();
190 if(mTrans_pObj !=
null)
200 IntPtr saved_pObj = tmp_pObj;
207if(tmp_pObj == IntPtr.Zero) pObj =
null;
208 if(tmp_pObj != IntPtr.Zero && tmp_pObj != saved_pObj)
210 MemoryTransaction mTrans_pObj = MemoryManager.GetMemoryManager().GetCurrentTransaction();
211 if(mTrans_pObj !=
null)
221 IntPtr saved_pObj = tmp_pObj;
228if(tmp_pObj == IntPtr.Zero) pObj =
null;
229 if(tmp_pObj != IntPtr.Zero && tmp_pObj != saved_pObj)
231 MemoryTransaction mTrans_pObj = MemoryManager.GetMemoryManager().GetCurrentTransaction();
232 if(mTrans_pObj !=
null)
241 MemoryManager mMan = MemoryManager.GetMemoryManager();
242 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
261 MemoryManager mMan = MemoryManager.GetMemoryManager();
262 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
281 MemoryManager mMan = MemoryManager.GetMemoryManager();
282 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
301 MemoryManager mMan = MemoryManager.GetMemoryManager();
302 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
321 MemoryManager mMan = MemoryManager.GetMemoryManager();
322 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
341 MemoryManager mMan = MemoryManager.GetMemoryManager();
342 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
static HandleRef getCPtr(OdDbStub obj)
static HandleRef getCPtr(OdDgElement obj)
bool IsEqual(OdDgElementId objectId)
OdDbHandle getNonForwardedHandle()
OdDgElementId(OdDbStub objectId)
OdResult openObject(ref OdDgElement pObj, OpenMode openMode)
OdDgElementId Assign(OdDgElementId objectId)
OdDgDatabase originalDatabase()
virtual void Dispose(bool disposing)
static OdDgElementId kNull
OdResult openObject(ref OdDgElement pObj)
OdDgElementId(IntPtr cPtr, bool cMemoryOwn)
OdDgElementId Assign(OdDbStub objectId)
OdDgElement safeOpenObject(OpenMode openMode, bool openErasedOne)
override bool Equals(object obj)
OdDgElement safeOpenObject()
bool IsNotEqual(OdDgElementId objectId)
void convertToRedirectedId()
OdDgElement safeOpenObject(OpenMode openMode)
OdDgElement openObject(OpenMode openMode)
OdDgElement openObject(OpenMode openMode, bool openErasedOne)
static HandleRef getCPtr(OdDgElementId obj)
override int GetHashCode()
OdResult openObject(ref OdDgElement pObj, OpenMode openMode, bool openErasedOne)
OdDbStub AsOdDbStubPointer()
static global::System.Exception Retrieve()
static bool OdDgElementId_isValid(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDgElementId_safeOpenObject__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int OdDgElementId_openObject__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2)
static global::System.IntPtr OdDgElementId_Assign__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgElementId_database(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgElementId_setNull(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgElementId_Assign__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgElementId_openObject__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3)
static int OdDgElementId_openObject__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2, int jarg3, bool jarg4)
static IntPtr OdDgElementId_safeOpenObject__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, bool jarg3)
static bool OdDgElementId_isNull(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_OdDgElementId(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDgElementId_openObject__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr OdDgElementId_AsOdDbStubPointer(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgElementId___deref__(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDgElementId_openObject__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1)
static void OdDgElementId_convertToRedirectedId(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgElementId_getNonForwardedHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntPtr OdDgElementId_originalDatabase(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr OdDgElementId_getHandle(global::System.Runtime.InteropServices.HandleRef jarg1)
static int OdDgElementId_openObject__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2, int jarg3)
static global::System.IntPtr OdDgElementId_kNull_get()
static bool OdDgElementId_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static IntPtr OdDgElementId_safeOpenObject__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool OdDgElementId_IsNotEqual(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool OdDgElementId_isErased(global::System.Runtime.InteropServices.HandleRef jarg1)