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;
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();
68 private void SwigDirectorConnect() {
69 if (SwigDerivedClassHasMethod(
"ToString", swigMethodTypes0))
71 if (SwigDerivedClassHasMethod(
"RunWrapper", swigMethodTypes1))
73 if (SwigDerivedClassHasMethod(
"Priority", swigMethodTypes2))
78 private bool SwigDerivedClassHasMethod(
string methodName, global::System.Type[] methodTypes) {
79 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);
80 bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(
Demon));
81 return hasDerivedMethod;
84 private string SwigDirectorMethodToString() {
88 private void SwigDirectorMethodRunWrapper(global::System.IntPtr s) {
89 RunWrapper((s == global::System.IntPtr.Zero) ?
null :
new Solver(s,
false));
92 private int SwigDirectorMethodPriority() {
104 private static global::System.Type[] swigMethodTypes0 =
new global::System.Type[] { };
105 private static global::System.Type[] swigMethodTypes1 =
new global::System.Type[] { typeof(Solver) };
106 private static global::System.Type[] swigMethodTypes2 =
new global::System.Type[] { };