DotNet Reference

.Net Reference

PropagationBaseObject.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
12
13using System;
14using System.Runtime.InteropServices;
15using System.Collections;
16using System.Collections.Generic;
17
18public partial class PropagationBaseObject : BaseObject {
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20
21 internal PropagationBaseObject(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.PropagationBaseObject_SWIGUpcast(cPtr), cMemoryOwn) {
22 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23 }
24
25 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PropagationBaseObject obj) {
26 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
27 }
28
29 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public PropagationBaseObject(Solver s) : this(operations_research_constraint_solverPINVOKE.new_PropagationBaseObject(Solver.getCPtr(s)), true) {
43 }
44
45 public override string ToString() {
47 return ret;
48 }
49
50 public Solver solver() {
52 Solver ret = (cPtr == global::System.IntPtr.Zero) ? null : new Solver(cPtr, false);
53 return ret;
54 }
55
56 public void FreezeQueue() {
58 }
59
60 public void UnfreezeQueue() {
62 }
63
64 public void EnqueueDelayedDemon(Demon d) {
66 }
67
68 public void EnqueueVar(Demon d) {
70 }
71
72 public void ResetActionOnFail() {
74 }
75
78 }
79
80 public virtual string Name() {
82 return ret;
83 }
84
85 public void SetName(string name) {
88 }
89
90 public bool HasName() {
92 return ret;
93 }
94
95 public virtual string BaseName() {
97 return ret;
98 }
99
100}
101
102}
static void PropagationBaseObject_SetName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2)
static void PropagationBaseObject_UnfreezeQueue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropagationBaseObject_ResetActionOnFail(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool PropagationBaseObject_HasName(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_PropagationBaseObject(global::System.Runtime.InteropServices.HandleRef jarg1)
static string PropagationBaseObject_BaseName(global::System.Runtime.InteropServices.HandleRef jarg1)
static string PropagationBaseObject_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropagationBaseObject_EnqueueVar(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string PropagationBaseObject_Name(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropagationBaseObject_FreezeQueue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void PropagationBaseObject_EnqueueDelayedDemon(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr PropagationBaseObject_solver(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr PropagationBaseObject_SWIGUpcast(global::System.IntPtr jarg1)
static void PropagationBaseObject_SetVariableToCleanOnFail(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)