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(
TG_DbPINVOKE.new_OdDgCommandContext(), 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();
136 private void SwigDirectorConnect() {
137 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
139 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
141 if (SwigDerivedClassHasMethod(
"userIO", swigMethodTypes2))
143 if (SwigDerivedClassHasMethod(
"funcIO", swigMethodTypes3))
145 if (SwigDerivedClassHasMethod(
"baseDatabase", swigMethodTypes4))
147 if (SwigDerivedClassHasMethod(
"setArbitraryData", swigMethodTypes5))
149 if (SwigDerivedClassHasMethod(
"arbitraryData", swigMethodTypes6))
151 if (SwigDerivedClassHasMethod(
"reset", swigMethodTypes7))
153 if (SwigDerivedClassHasMethod(
"baseIO", swigMethodTypes8))
155 if (SwigDerivedClassHasMethod(
"cloneObject", swigMethodTypes9))
157 if (SwigDerivedClassHasMethod(
"cloneObject", swigMethodTypes10))
159 if (SwigDerivedClassHasMethod(
"cloneObject", swigMethodTypes11))
161 TG_DbPINVOKE.
OdDgCommandContext_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11);
164 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
165 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);
166 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDgCommandContext));
167 return hasDerivedMethod;
170 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
179 private IntPtr SwigDirectorMethodisA() {
186 private IntPtr SwigDirectorMethoduserIO() {
193 private IntPtr SwigDirectorMethodfuncIO() {
200 private IntPtr SwigDirectorMethodbaseDatabase() {
207 private void SwigDirectorMethodsetArbitraryData([MarshalAs(UnmanagedType.LPWStr)]
String szPathName, IntPtr pDataObj) {
213 private IntPtr SwigDirectorMethodarbitraryData([MarshalAs(UnmanagedType.LPWStr)]
String szPathName) {
217 private void SwigDirectorMethodreset(IntPtr arg0, IntPtr arg1) {
225 private IntPtr SwigDirectorMethodbaseIO() {
232 private IntPtr SwigDirectorMethodcloneObject__SWIG_0(IntPtr arg0, IntPtr arg1) {
240 private IntPtr SwigDirectorMethodcloneObject__SWIG_1(IntPtr arg0) {
246 private IntPtr SwigDirectorMethodcloneObject__SWIG_2() {
276 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
277 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
278 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { };
279 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
280 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
281 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { typeof(
String), typeof(
OdRxObject) };
282 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(
String) };
283 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(
OdEdBaseIO), typeof(
OdRxObject) };
284 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { };
285 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { typeof(
OdEdBaseIO), typeof(
OdRxObject) };
286 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(
OdEdBaseIO) };
287 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { };
static HandleRef getCPtr(OdEdBaseIO obj)
static HandleRef getCPtr(OdEdCommandContext obj)
virtual OdEdFunctionIO funcIO()
virtual void reset(OdEdBaseIO arg0, OdRxObject arg1)
virtual OdEdBaseIO baseIO()
virtual OdRxObject arbitraryData(String szPathName)
virtual OdRxObject baseDatabase()
virtual void setArbitraryData(String szPathName, OdRxObject pDataObj)
virtual OdEdUserIO userIO()
virtual OdEdCommandContext cloneObject()
static HandleRef getCPtr(OdEdFunctionIO obj)
static HandleRef getCPtr(OdEdUserIO obj)
static HandleRef getCPtr(OdRxClass obj)
static HandleRef getCPtr(OdRxObject obj)
delegate void SwigDelegateOdDgCommandContext_5([MarshalAs(UnmanagedType.LPWStr)]String szPathName, IntPtr pDataObj)
static string getRealClassName(IntPtr ptr)
delegate IntPtr SwigDelegateOdDgCommandContext_1()
delegate IntPtr SwigDelegateOdDgCommandContext_0(IntPtr protocolClass)
static new OdRxClass desc()
delegate IntPtr SwigDelegateOdDgCommandContext_9(IntPtr arg0, IntPtr arg1)
delegate IntPtr SwigDelegateOdDgCommandContext_10(IntPtr arg0)
delegate IntPtr SwigDelegateOdDgCommandContext_2()
static new OdDgCommandContext createObject()
static OdDgCommandContext cast(OdRxObject pObj)
delegate IntPtr SwigDelegateOdDgCommandContext_3()
delegate void SwigDelegateOdDgCommandContext_7(IntPtr arg0, IntPtr arg1)
override void Dispose(bool disposing)
delegate IntPtr SwigDelegateOdDgCommandContext_11()
delegate IntPtr SwigDelegateOdDgCommandContext_8()
delegate IntPtr SwigDelegateOdDgCommandContext_6([MarshalAs(UnmanagedType.LPWStr)]String szPathName)
delegate IntPtr SwigDelegateOdDgCommandContext_4()
override OdRxObject queryX(OdRxClass protocolClass)
static HandleRef getCPtr(OdDgCommandContext obj)
OdDgCommandContext(IntPtr cPtr, bool cMemoryOwn)
static global::System.Exception Retrieve()
static IntPtr OdDgCommandContext_database(HandleRef jarg1)
static IntPtr OdDgCommandContext_queryX(HandleRef jarg1, HandleRef jarg2)
static IntPtr OdDgCommandContext_queryXSwigExplicitOdDgCommandContext(HandleRef jarg1, HandleRef jarg2)
static void OdDgCommandContext_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OdDgCommandContext.SwigDelegateOdDgCommandContext_0 delegate0, OdDgCommandContext.SwigDelegateOdDgCommandContext_1 delegate1, OdDgCommandContext.SwigDelegateOdDgCommandContext_2 delegate2, OdDgCommandContext.SwigDelegateOdDgCommandContext_3 delegate3, OdDgCommandContext.SwigDelegateOdDgCommandContext_4 delegate4, OdDgCommandContext.SwigDelegateOdDgCommandContext_5 delegate5, OdDgCommandContext.SwigDelegateOdDgCommandContext_6 delegate6, OdDgCommandContext.SwigDelegateOdDgCommandContext_7 delegate7, OdDgCommandContext.SwigDelegateOdDgCommandContext_8 delegate8, OdDgCommandContext.SwigDelegateOdDgCommandContext_9 delegate9, OdDgCommandContext.SwigDelegateOdDgCommandContext_10 delegate10, OdDgCommandContext.SwigDelegateOdDgCommandContext_11 delegate11)
static IntPtr OdDgCommandContext_dbUserIO(HandleRef jarg1)
static IntPtr OdDgCommandContext_cast(HandleRef jarg1)
static IntPtr OdDgCommandContext_isA(HandleRef jarg1)
static IntPtr OdDgCommandContext_createObject()
static void delete_OdDgCommandContext(HandleRef jarg1)
static IntPtr OdDgCommandContext_isASwigExplicitOdDgCommandContext(HandleRef jarg1)
static string OdDgCommandContext_getRealClassName(IntPtr jarg1)
static IntPtr OdDgCommandContext_desc()