DotNet Reference
.Net Reference
IntVarElement.cs
Go to the documentation of this file.
21 internal IntVarElement(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.IntVarElement_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);
42 public IntVarElement() : this(operations_research_constraint_solverPINVOKE.new_IntVarElement__SWIG_0(), true) {
45 public IntVarElement(IntVar var) : this(operations_research_constraint_solverPINVOKE.new_IntVarElement__SWIG_1(IntVar.getCPtr(var)), true) {
53 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVarElement_Clone(swigCPtr);
54 IntVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVarElement(cPtr, false);
59 operations_research_constraint_solverPINVOKE.IntVarElement_Copy(swigCPtr, IntVarElement.getCPtr(element));
60 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
64 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVarElement_Var(swigCPtr);
static bool IntVarElement_Bound(global::System.Runtime.InteropServices.HandleRef jarg1)
static long IntVarElement_Max(global::System.Runtime.InteropServices.HandleRef jarg1)
IntVarElement Clone()
Definition: IntVarElement.cs:52
static void IntVarElement_SetMin(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
void SetMin(long m)
Definition: IntVarElement.cs:82
void Copy(IntVarElement element)
Definition: IntVarElement.cs:58
bool swigCMemOwn
Definition: AssignmentElement.cs:20
static bool Pending
void SetRange(long l, long u)
Definition: IntVarElement.cs:105
void SetValue(long v)
Definition: IntVarElement.cs:109
void SetMax(long m)
Definition: IntVarElement.cs:91
static void IntVarElement_SetMax(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static long IntVarElement_Value(global::System.Runtime.InteropServices.HandleRef jarg1)
string ToString()
Definition: IntVarElement.cs:113
static void IntVarElement_Store(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntVarElement_Copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string IntVarElement_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntVarElement_Restore(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_IntVarElement(global::System.Runtime.InteropServices.HandleRef jarg1)
override void Dispose(bool disposing)
Definition: IntVarElement.cs:29
IntVarElement(IntVar var)
Definition: IntVarElement.cs:45
static void IntVarElement_Reset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static long IntVarElement_Min(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr IntVarElement_Var(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntVarElement_SetValue(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
void Reset(IntVar var)
Definition: IntVarElement.cs:48
IntVarElement()
Definition: IntVarElement.cs:42
static global::System.IntPtr IntVarElement_SWIGUpcast(global::System.IntPtr jarg1)
static global::System.IntPtr IntVarElement_Clone(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntVarElement_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3)
static global::System.Exception Retrieve()