DotNet Reference
DotNet Reference
sat/UtilInt64Vector.cs
Go to the documentation of this file.
17 public class UtilInt64Vector : global::System.IDisposable, global::System.Collections.IEnumerable
29 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
43 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
129 global::System.Collections.Generic.IEnumerator<long> global::System.Collections.Generic.IEnumerable<long>.GetEnumerator() {
229 public UtilInt64Vector() : this(operations_research_satPINVOKE.new_UtilInt64Vector__SWIG_0(), true) {
232 public UtilInt64Vector(UtilInt64Vector other) : this(operations_research_satPINVOKE.new_UtilInt64Vector__SWIG_1(UtilInt64Vector.getCPtr(other)), true) {
233 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
236 public UtilInt64Vector(int capacity) : this(operations_research_satPINVOKE.new_UtilInt64Vector__SWIG_2(capacity), true) {
237 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
242 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
248 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
254 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
258 operations_research_satPINVOKE.UtilInt64Vector_AddRange(swigCPtr, UtilInt64Vector.getCPtr(values));
259 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
263 global::System.IntPtr cPtr = operations_research_satPINVOKE.UtilInt64Vector_GetRange(swigCPtr, index, count);
264 UtilInt64Vector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UtilInt64Vector(cPtr, true);
265 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
271 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
275 operations_research_satPINVOKE.UtilInt64Vector_InsertRange(swigCPtr, index, UtilInt64Vector.getCPtr(values));
276 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
281 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
286 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
290 global::System.IntPtr cPtr = operations_research_satPINVOKE.UtilInt64Vector_Repeat(value, count);
291 UtilInt64Vector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UtilInt64Vector(cPtr, true);
292 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
302 if (operations_research_satPINVOKE.SWIGPendingException.Pending) throw operations_research_satPINVOKE.SWIGPendingException.Retrieve();
306 operations_research_satPINVOKE.UtilInt64Vector_SetRange(swigCPtr, index, UtilInt64Vector.getCPtr(values));
static global::System.Exception Retrieve()
Definition: operations_research_satPINVOKE.cs:151
UtilInt64VectorEnumerator(UtilInt64Vector collection)
Definition: sat/UtilInt64Vector.cs:154
UtilInt64Vector(global::System.Collections.ICollection c)
Definition: sat/UtilInt64Vector.cs:49
void RemoveRange(int index, int count)
Definition: sat/UtilInt64Vector.cs:284
int LastIndexOf(long value)
Definition: sat/UtilInt64Vector.cs:320
void Reset()
Definition: sat/UtilInt64Vector.cs:193
static void delete_UtilInt64Vector(global::System.Runtime.InteropServices.HandleRef jarg1)
void RemoveAt(int index)
Definition: sat/UtilInt64Vector.cs:279
static int UtilInt64Vector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static int UtilInt64Vector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static bool UtilInt64Vector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static bool Pending
Definition: operations_research_satPINVOKE.cs:132
UtilInt64VectorEnumerator GetEnumerator()
Definition: sat/UtilInt64Vector.cs:137
void Insert(int index, long x)
Definition: sat/UtilInt64Vector.cs:269
static long UtilInt64Vector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void UtilInt64Vector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
bool IsSynchronized
Definition: sat/UtilInt64Vector.cs:95
static uint UtilInt64Vector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
bool Remove(long value)
Definition: sat/UtilInt64Vector.cs:325
void Dispose()
Definition: sat/UtilInt64Vector.cs:201
UtilInt64Vector(int capacity)
Definition: sat/UtilInt64Vector.cs:236
void AddRange(UtilInt64Vector values)
Definition: sat/UtilInt64Vector.cs:257
long Current
Definition: sat/UtilInt64Vector.cs:162
static void UtilInt64Vector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
UtilInt64Vector GetRange(int index, int count)
Definition: sat/UtilInt64Vector.cs:262
UtilInt64Vector()
Definition: sat/UtilInt64Vector.cs:229
static void UtilInt64Vector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void UtilInt64Vector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void CopyTo(int index, long[] array, int arrayIndex, int count)
Definition: sat/UtilInt64Vector.cs:111
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: sat/UtilInt64Vector.cs:146
virtual void Dispose()
Definition: sat/UtilInt64Vector.cs:36
static global::System.IntPtr UtilInt64Vector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
Definition: operations_research_satPINVOKE.cs:127
UtilInt64Vector(UtilInt64Vector other)
Definition: sat/UtilInt64Vector.cs:232
static void UtilInt64Vector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void InsertRange(int index, UtilInt64Vector values)
Definition: sat/UtilInt64Vector.cs:274
static UtilInt64Vector Repeat(long value, int count)
Definition: sat/UtilInt64Vector.cs:289
bool MoveNext()
Definition: sat/UtilInt64Vector.cs:181
static void UtilInt64Vector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void UtilInt64Vector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void UtilInt64Vector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void Reverse(int index, int count)
Definition: sat/UtilInt64Vector.cs:300
static global::System.IntPtr UtilInt64Vector_Repeat(long jarg1, int jarg2)
static void UtilInt64Vector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void CopyTo(long[] array)
Definition: sat/UtilInt64Vector.cs:101
static void UtilInt64Vector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool UtilInt64Vector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
bool Contains(long value)
Definition: sat/UtilInt64Vector.cs:310
void SetRange(int index, UtilInt64Vector values)
Definition: sat/UtilInt64Vector.cs:305
int IndexOf(long value)
Definition: sat/UtilInt64Vector.cs:315
void CopyTo(long[] array, int arrayIndex)
Definition: sat/UtilInt64Vector.cs:106
Definition: CpModel.pb.cs:12