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(
Demon obj) {
26 return (obj ==
null) ?
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero) : obj.swigCPtr;
35 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
40 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
42 global::System.GC.SuppressFinalize(
this);
48 SwigDirectorConnect();
73 private void SwigDirectorConnect() {
74 if (SwigDerivedClassHasMethod(
"ToString", swigMethodTypes0))
76 if (SwigDerivedClassHasMethod(
"RunWrapper", swigMethodTypes1))
78 if (SwigDerivedClassHasMethod(
"Priority", swigMethodTypes2))
83 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
84 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);
85 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
Demon));
86 return hasDerivedMethod;
89 private string SwigDirectorToString() {
93 private void SwigDirectorRunWrapper(global::System.IntPtr s) {
94 RunWrapper((s == global::System.IntPtr.Zero) ?
null :
new Solver(s,
false));
97 private int SwigDirectorPriority() {
109 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { };
110 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { typeof(Solver) };
111 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { };