DotNet Reference
.Net Reference
BooleanVar.cs
Go to the documentation of this file.
21 internal BooleanVar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.BooleanVar_SWIGUpcast(cPtr), cMemoryOwn) {
26 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
56 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
66 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
71 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
86 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
126 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.BooleanVar_IsEqual(swigCPtr, constant);
132 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.BooleanVar_IsDifferent(swigCPtr, constant);
138 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.BooleanVar_IsGreaterOrEqual(swigCPtr, constant);
144 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.BooleanVar_IsLessOrEqual(swigCPtr, constant);
static void BooleanVar_WhenBound(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
override IntVar IsGreaterOrEqual(long constant)
Definition: BooleanVar.cs:137
override void SetMax(long m)
Definition: BooleanVar.cs:64
override void WhenRange(Demon d)
Definition: BooleanVar.cs:97
static void BooleanVar_WhenDomain(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void BooleanVar_RemoveInterval(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static int BooleanVar_VarType(global::System.Runtime.InteropServices.HandleRef jarg1)
override string BaseName()
Definition: BooleanVar.cs:153
static long BooleanVar_Min(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr BooleanVar_IsLessOrEqual(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.BooleanVar_RestoreValue
static void BooleanVar_RestoreValue(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: Demon.cs:18
static ulong BooleanVar_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
override void WhenBound(Demon d)
Definition: BooleanVar.cs:93
override void RemoveValue(long v)
Definition: BooleanVar.cs:84
static bool Pending
static global::System.IntPtr BooleanVar_IsEqual(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
override void SetRange(long mi, long ma)
Definition: BooleanVar.cs:69
static global::System.IntPtr BooleanVar_IsGreaterOrEqual(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void delete_BooleanVar(global::System.Runtime.InteropServices.HandleRef jarg1)
static int BooleanVar_kUnboundBooleanVarValue_get()
override IntVar IsEqual(long constant)
Definition: BooleanVar.cs:125
override void WhenDomain(Demon d)
Definition: BooleanVar.cs:101
override void RemoveInterval(long l, long u)
Definition: BooleanVar.cs:89
static void BooleanVar_SetMin(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static long BooleanVar_Max(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr BooleanVar_SWIGUpcast(global::System.IntPtr jarg1)
static long BooleanVar_Value(global::System.Runtime.InteropServices.HandleRef jarg1)
override bool Contains(long v)
Definition: BooleanVar.cs:110
override IntVar IsDifferent(long constant)
Definition: BooleanVar.cs:131
static void BooleanVar_WhenRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int BooleanVar_RawValue(global::System.Runtime.InteropServices.HandleRef jarg1)
static void BooleanVar_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
override void Dispose(bool disposing)
Definition: BooleanVar.cs:29
static void BooleanVar_SetMax(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void BooleanVar_RemoveValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
override string ToString()
Definition: BooleanVar.cs:115
override int VarType()
Definition: BooleanVar.cs:120
override void SetMin(long m)
Definition: BooleanVar.cs:54
static bool BooleanVar_Bound(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr BooleanVar_IsDifferent(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static global::System.Exception Retrieve()
static bool BooleanVar_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static int kUnboundBooleanVarValue
Definition: BooleanVar.cs:42
virtual void RestoreValue()
Definition: BooleanVar.cs:149
static string BooleanVar_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static string BooleanVar_BaseName(global::System.Runtime.InteropServices.HandleRef jarg1)
override IntVar IsLessOrEqual(long constant)
Definition: BooleanVar.cs:143