14using System.Runtime.InteropServices;
18 private Object locker =
new Object();
19 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
22 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
30 protected override void Dispose(
bool disposing) {
32 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
37 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
39 base.Dispose(disposing);
44 : this(
TD_DbPINVOKE.new_OdApLongTransactionReactor(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
46 MemoryTransaction mTr = MemoryManager.GetMemoryManager().GetCurrentTransaction();
52 SwigDirectorConnect();
56 MemoryManager mMan = MemoryManager.GetMemoryManager();
57 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
97 MemoryManager mMan = MemoryManager.GetMemoryManager();
98 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
147 private void SwigDirectorConnect() {
148 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
150 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
152 if (SwigDerivedClassHasMethod(
"beginCheckOut", swigMethodTypes2))
154 if (SwigDerivedClassHasMethod(
"endCheckOut", swigMethodTypes3))
156 if (SwigDerivedClassHasMethod(
"beginCheckIn", swigMethodTypes4))
158 if (SwigDerivedClassHasMethod(
"endCheckIn", swigMethodTypes5))
160 if (SwigDerivedClassHasMethod(
"abortLongTransaction", swigMethodTypes6))
165 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
166 global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, global::System.Reflection.BindingFlags.Public | global::System.Reflection.BindingFlags.NonPublic | global::System.Reflection.BindingFlags.Instance,
null, methodTypes,
null);
168 return hasDerivedMethod;
171 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
180 private IntPtr SwigDirectorMethodisA() {
187 private void SwigDirectorMethodbeginCheckOut(IntPtr arg0, global::System.IntPtr originList) {
189 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
190,
new OdDbObjectIdArray(originList,
false));
193 private void SwigDirectorMethodendCheckOut(IntPtr arg0) {
195 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
199 private void SwigDirectorMethodbeginCheckIn(IntPtr arg0) {
201 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
205 private void SwigDirectorMethodendCheckIn(IntPtr arg0) {
207 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
211 private void SwigDirectorMethodabortLongTransaction(IntPtr arg0) {
213 (OdDbLongTransaction)
Teigha.
Core.Helpers.odrxCreateObjectInternalUniversal(typeof(OdDbLongTransaction),arg0,
false)
233 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
234 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
235 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(OdDbLongTransaction), typeof(OdDbObjectIdArray) };
236 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(OdDbLongTransaction) };
237 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { typeof(OdDbLongTransaction) };
238 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(OdDbLongTransaction) };
239 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(OdDbLongTransaction) };
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
OdApLongTransactionReactor(IntPtr cPtr, bool cMemoryOwn)
virtual void abortLongTransaction(OdDbLongTransaction arg0)
OdApLongTransactionReactor()
static new OdRxClass desc()
delegate void SwigDelegateOdApLongTransactionReactor_4(IntPtr arg0)
static OdApLongTransactionReactor cast(OdRxObject pObj)
static OdApLongTransactionReactor createObject()
virtual void endCheckOut(OdDbLongTransaction arg0)
delegate void SwigDelegateOdApLongTransactionReactor_5(IntPtr arg0)
static string getRealClassName(IntPtr ptr)
override OdRxObject queryX(OdRxClass protocolClass)
static HandleRef getCPtr(OdApLongTransactionReactor obj)
override void Dispose(bool disposing)
virtual void beginCheckOut(OdDbLongTransaction arg0, OdDbObjectIdArray originList)
virtual void beginCheckIn(OdDbLongTransaction arg0)
delegate IntPtr SwigDelegateOdApLongTransactionReactor_1()
delegate void SwigDelegateOdApLongTransactionReactor_3(IntPtr arg0)
virtual void endCheckIn(OdDbLongTransaction arg0)
delegate void SwigDelegateOdApLongTransactionReactor_6(IntPtr arg0)
delegate void SwigDelegateOdApLongTransactionReactor_2(IntPtr arg0, global::System.IntPtr originList)
delegate IntPtr SwigDelegateOdApLongTransactionReactor_0(IntPtr protocolClass)
static HandleRef getCPtr(OdDbLongTransaction obj)
static HandleRef getCPtr(OdDbObjectIdArray obj)
static global::System.Exception Retrieve()
static IntPtr OdApLongTransactionReactor_queryXSwigExplicitOdApLongTransactionReactor(HandleRef jarg1, HandleRef jarg2)
static void OdApLongTransactionReactor_endCheckInSwigExplicitOdApLongTransactionReactor(HandleRef jarg1, HandleRef jarg2)
static void delete_OdApLongTransactionReactor(HandleRef jarg1)
static void OdApLongTransactionReactor_beginCheckInSwigExplicitOdApLongTransactionReactor(HandleRef jarg1, HandleRef jarg2)
static void OdApLongTransactionReactor_beginCheckOutSwigExplicitOdApLongTransactionReactor(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdApLongTransactionReactor_createObject()
static IntPtr OdApLongTransactionReactor_isA(HandleRef jarg1)
static IntPtr OdApLongTransactionReactor_isASwigExplicitOdApLongTransactionReactor(HandleRef jarg1)
static void OdApLongTransactionReactor_endCheckOut(HandleRef jarg1, HandleRef jarg2)
static void OdApLongTransactionReactor_abortLongTransactionSwigExplicitOdApLongTransactionReactor(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdApLongTransactionReactor_queryX(HandleRef jarg1, HandleRef jarg2)
static string OdApLongTransactionReactor_getRealClassName(IntPtr jarg1)
static void OdApLongTransactionReactor_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_0 delegate0, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_1 delegate1, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_2 delegate2, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_3 delegate3, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_4 delegate4, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_5 delegate5, OdApLongTransactionReactor.SwigDelegateOdApLongTransactionReactor_6 delegate6)
static void OdApLongTransactionReactor_beginCheckOut(HandleRef jarg1, HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static IntPtr OdApLongTransactionReactor_desc()
static IntPtr OdApLongTransactionReactor_cast(HandleRef jarg1)
static void OdApLongTransactionReactor_beginCheckIn(HandleRef jarg1, HandleRef jarg2)
static void OdApLongTransactionReactor_endCheckIn(HandleRef jarg1, HandleRef jarg2)
static void OdApLongTransactionReactor_abortLongTransaction(HandleRef jarg1, HandleRef jarg2)
static void OdApLongTransactionReactor_endCheckOutSwigExplicitOdApLongTransactionReactor(HandleRef jarg1, HandleRef jarg2)