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();
53 DelegateHolder.OnHoldSwigDirectorDelegates(
this);
57 MemoryManager mMan = MemoryManager.GetMemoryManager();
58 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
98 MemoryManager mMan = MemoryManager.GetMemoryManager();
99 MemoryTransaction mTrans = mMan.GetCurrentTransaction();
137 private void SwigDirectorConnect() {
138 if (SwigDerivedClassHasMethod(
"queryX", swigMethodTypes0))
140 if (SwigDerivedClassHasMethod(
"isA", swigMethodTypes1))
142 if (SwigDerivedClassHasMethod(
"copyFrom", swigMethodTypes2))
144 if (SwigDerivedClassHasMethod(
"userIO", swigMethodTypes3))
146 if (SwigDerivedClassHasMethod(
"funcIO", swigMethodTypes4))
148 if (SwigDerivedClassHasMethod(
"baseDatabase", swigMethodTypes5))
150 if (SwigDerivedClassHasMethod(
"setArbitraryData", swigMethodTypes6))
152 if (SwigDerivedClassHasMethod(
"arbitraryData", swigMethodTypes7))
154 if (SwigDerivedClassHasMethod(
"reset", swigMethodTypes8))
156 if (SwigDerivedClassHasMethod(
"baseIO", swigMethodTypes9))
158 if (SwigDerivedClassHasMethod(
"cloneObject", swigMethodTypes10))
160 if (SwigDerivedClassHasMethod(
"cloneObject", swigMethodTypes11))
162 if (SwigDerivedClassHasMethod(
"cloneObject", swigMethodTypes12))
164 TG_DbPINVOKE.
OdDgCommandContext_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4, swigDelegate5, swigDelegate6, swigDelegate7, swigDelegate8, swigDelegate9, swigDelegate10, swigDelegate11, swigDelegate12);
167 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
168 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);
169 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
OdDgCommandContext));
170 return hasDerivedMethod;
173 private IntPtr SwigDirectorMethodqueryX(IntPtr protocolClass) {
182 private IntPtr SwigDirectorMethodisA() {
189 private void SwigDirectorMethodcopyFrom(IntPtr pSource) {
195 private IntPtr SwigDirectorMethoduserIO() {
202 private IntPtr SwigDirectorMethodfuncIO() {
209 private IntPtr SwigDirectorMethodbaseDatabase() {
216 private void SwigDirectorMethodsetArbitraryData([MarshalAs(UnmanagedType.LPWStr)]
String szPathName, IntPtr pDataObj) {
222 private IntPtr SwigDirectorMethodarbitraryData([MarshalAs(UnmanagedType.LPWStr)]
String szPathName) {
226 private void SwigDirectorMethodreset(IntPtr arg0, IntPtr arg1) {
234 private IntPtr SwigDirectorMethodbaseIO() {
241 private IntPtr SwigDirectorMethodcloneObject__SWIG_0(IntPtr arg0, IntPtr arg1) {
249 private IntPtr SwigDirectorMethodcloneObject__SWIG_1(IntPtr arg0) {
255 private IntPtr SwigDirectorMethodcloneObject__SWIG_2() {
287 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { typeof(
OdRxClass) };
288 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { };
289 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(
OdRxObject) };
290 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { };
291 private static global::System.Type[] swigMethodTypes4 =
new global::System.Type[] { };
292 private static global::System.Type[] swigMethodTypes5 =
new global::System.Type[] { };
293 private static global::System.Type[] swigMethodTypes6 =
new global::System.Type[] { typeof(
String), typeof(
OdRxObject) };
294 private static global::System.Type[] swigMethodTypes7 =
new global::System.Type[] { typeof(
String) };
295 private static global::System.Type[] swigMethodTypes8 =
new global::System.Type[] { typeof(
OdEdBaseIO), typeof(
OdRxObject) };
296 private static global::System.Type[] swigMethodTypes9 =
new global::System.Type[] { };
297 private static global::System.Type[] swigMethodTypes10 =
new global::System.Type[] { typeof(
OdEdBaseIO), typeof(
OdRxObject) };
298 private static global::System.Type[] swigMethodTypes11 =
new global::System.Type[] { typeof(
OdEdBaseIO) };
299 private static global::System.Type[] swigMethodTypes12 =
new global::System.Type[] { };
virtual void reset(OdEdBaseIO arg0, OdRxObject arg1)
virtual void setArbitraryData(String szPathName, OdRxObject pDataObj)
delegate IntPtr SwigDelegateOdDgCommandContext_0(IntPtr protocolClass)
delegate void SwigDelegateOdDgCommandContext_8(IntPtr arg0, IntPtr arg1)
delegate IntPtr SwigDelegateOdDgCommandContext_7([MarshalAs(UnmanagedType.LPWStr)]String szPathName)
delegate void SwigDelegateOdDgCommandContext_6([MarshalAs(UnmanagedType.LPWStr)]String szPathName, IntPtr pDataObj)
delegate IntPtr SwigDelegateOdDgCommandContext_10(IntPtr arg0, IntPtr arg1)
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, OdDgCommandContext.SwigDelegateOdDgCommandContext_12 delegate12)