14using System.Runtime.InteropServices;
17public class SoftOwner : global::System.IDisposable {
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);
53 MemoryManager mMan = MemoryManager.GetMemoryManager();
54 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
static HandleRef getCPtr(OdDbDwgFiler obj)
static HandleRef getCPtr(OdDbObjectId obj)
SoftOwner(IntPtr cPtr, bool cMemoryOwn)
static OdDbObjectId read(OdDbDwgFiler pFiler)
static void write(OdDbDwgFiler pFiler, OdDbObjectId id)
virtual void Dispose(bool disposing)
static HandleRef getCPtr(SoftOwner obj)
static global::System.Exception Retrieve()
static global::System.IntPtr SoftOwner_read(HandleRef jarg1)
static void SoftOwner_write(HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_SoftOwner(global::System.Runtime.InteropServices.HandleRef jarg1)