15 using System.Collections;
16 using System.Collections.Generic;
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
22 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
this, cPtr);
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(
Decision obj) {
26 return (obj ==
null) ?
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero) : obj.swigCPtr;
29 protected override void Dispose(
bool disposing) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
38 base.Dispose(disposing);
43 SwigDirectorConnect();
63 private void SwigDirectorConnect() {
64 if (SwigDerivedClassHasMethod(
"ToString", swigMethodTypes0))
66 if (SwigDerivedClassHasMethod(
"ApplyWrapper", swigMethodTypes1))
68 if (SwigDerivedClassHasMethod(
"RefuteWrapper", swigMethodTypes2))
70 if (SwigDerivedClassHasMethod(
"Accept", swigMethodTypes3))
75 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
76 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);
77 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
Decision));
78 return hasDerivedMethod;
81 private string SwigDirectorMethodToString() {
85 private void SwigDirectorMethodApplyWrapper(global::System.IntPtr s) {
86 ApplyWrapper((s == global::System.IntPtr.Zero) ?
null :
new Solver(s,
false));
89 private void SwigDirectorMethodRefuteWrapper(global::System.IntPtr s) {
90 RefuteWrapper((s == global::System.IntPtr.Zero) ?
null :
new Solver(s,
false));
93 private void SwigDirectorMethodAccept(global::System.IntPtr visitor) {
94 Accept((visitor == global::System.IntPtr.Zero) ?
null :
new DecisionVisitor(visitor,
false));
107 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { };
108 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { typeof(Solver) };
109 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { typeof(Solver) };
110 private static global::System.Type[] swigMethodTypes3 =
new global::System.Type[] { typeof(DecisionVisitor) };