DotNet Reference
.Net Reference
Domain.cs
Go to the documentation of this file.
27 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
46 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
54 public Domain(long value) : this(operations_research_utilPINVOKE.new_Domain__SWIG_1(value), true) {
57 public Domain(long left, long right) : this(operations_research_utilPINVOKE.new_Domain__SWIG_2(left, right), true) {
66 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_FromValues( values.Length, values ), true);
80 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_FromFlatIntervals( flat_intervals.Length, flat_intervals ), true);
85 global::System.IntPtr cPtr = operations_research_utilPINVOKE.Domain_FlattenedIntervals(swigCPtr);
132 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_IntersectionWith(swigCPtr, Domain.getCPtr(domain)), true);
133 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
138 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_UnionWith(swigCPtr, Domain.getCPtr(domain)), true);
139 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
144 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_AdditionWith(swigCPtr, Domain.getCPtr(domain)), true);
static global::System.IntPtr Domain_FromValues(int length1, long[] jarg1)
Definition: Domain.cs:17
Domain IntersectionWith(Domain domain)
Definition: Domain.cs:131
static bool Domain_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static Domain FromFlatIntervals(long[] flat_intervals)
Definition: Domain.cs:79
static Domain FromValues(long[] values)
Definition: Domain.cs:65
static long Domain_Min(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_Domain(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Domain_Complement(global::System.Runtime.InteropServices.HandleRef jarg1)
static Domain FromIntervals(long[][] intervals)
Definition: Domain.cs:70
static global::System.IntPtr Domain_IntersectionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Definition: operations_research_utilPINVOKE.cs:127
static long Domain_Max(global::System.Runtime.InteropServices.HandleRef jarg1)
static string Domain_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Pending
Definition: operations_research_utilPINVOKE.cs:133
static global::System.IntPtr Domain_Negation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Domain_AllValues()
static global::System.Exception Retrieve()
Definition: operations_research_utilPINVOKE.cs:152
static global::System.IntPtr Domain_FromIntervals(int len1_1, int[] len1_2, long[] jarg1)
static global::System.IntPtr Domain_FromFlatIntervals(int length1, long[] jarg1)
static long Domain_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Domain_IsEmpty(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: Domain.cs:11
static global::System.IntPtr Domain_AdditionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Domain_FlattenedIntervals(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: operations_research_utilPINVOKE.cs:13
static global::System.IntPtr Domain_UnionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)