DotNet Reference
DotNet 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;
40 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
47 public IntVarElement() : this(operations_research_constraint_solverPINVOKE.new_IntVarElement__SWIG_0(), true) {
50 public IntVarElement(IntVar var) : this(operations_research_constraint_solverPINVOKE.new_IntVarElement__SWIG_1(IntVar.getCPtr(var)), true) {
58 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.IntVarElement_Clone(swigCPtr);
59 IntVarElement ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVarElement(cPtr, false);
64 operations_research_constraint_solverPINVOKE.IntVarElement_Copy(swigCPtr, IntVarElement.getCPtr(element));
65 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
69 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:57
static void IntVarElement_SetMin(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
void SetMin(long m)
Definition: IntVarElement.cs:87
void Copy(IntVarElement element)
Definition: IntVarElement.cs:63
bool swigCMemOwn
Definition: AssignmentElement.cs:20
override void Dispose()
Definition: IntVarElement.cs:33
static bool Pending
void SetRange(long l, long u)
Definition: IntVarElement.cs:110
void SetValue(long v)
Definition: IntVarElement.cs:114
void SetMax(long m)
Definition: IntVarElement.cs:96
static void IntVarElement_SetMax(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
Definition: Assignment.cs:11
static long IntVarElement_Value(global::System.Runtime.InteropServices.HandleRef jarg1)
string ToString()
Definition: IntVarElement.cs:118
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)
IntVarElement(IntVar var)
Definition: IntVarElement.cs:50
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:53
IntVarElement()
Definition: IntVarElement.cs:47
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()