DotNet Reference
DotNet Reference
util/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;
41 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
50 public Domain(long value) : this(operations_research_utilPINVOKE.new_Domain__SWIG_1(value), true) {
53 public Domain(long left, long right) : this(operations_research_utilPINVOKE.new_Domain__SWIG_2(left, right), true) {
62 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_FromValues( values.Length, values ), true);
76 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_FromFlatIntervals( flat_intervals.Length, flat_intervals ), true);
81 global::System.IntPtr cPtr = operations_research_utilPINVOKE.Domain_FlattenedIntervals(swigCPtr);
128 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_IntersectionWith(swigCPtr, Domain.getCPtr(domain)), true);
129 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
134 Domain ret = new Domain(operations_research_utilPINVOKE.Domain_UnionWith(swigCPtr, Domain.getCPtr(domain)), true);
135 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
140 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: util/Domain.cs:17
Domain IntersectionWith(Domain domain)
Definition: util/Domain.cs:127
static bool Domain_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static Domain FromFlatIntervals(long[] flat_intervals)
Definition: util/Domain.cs:75
static Domain FromValues(long[] values)
Definition: util/Domain.cs:61
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)
Domain AdditionWith(Domain domain)
Definition: util/Domain.cs:139
static Domain FromIntervals(long[][] intervals)
Definition: util/Domain.cs:66
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:132
static global::System.IntPtr Domain_Negation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Domain_AllValues()
long[] FlattenedIntervals()
Definition: util/Domain.cs:80
static global::System.Exception Retrieve()
Definition: operations_research_utilPINVOKE.cs:151
void CopyTo(long[] array)
Definition: util/UtilInt64Vector.cs:101
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: util/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)