DotNet Reference
DotNet Reference
util/Int64Vector.cs
Go to the documentation of this file.
17 public class Int64Vector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IList<long>
28 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
146 global::System.Collections.Generic.IEnumerator<long> global::System.Collections.Generic.IEnumerable<long>.GetEnumerator() {
249 public Int64Vector(Int64Vector other) : this(operations_research_utilPINVOKE.new_Int64Vector__SWIG_1(Int64Vector.getCPtr(other)), true) {
250 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
253 public Int64Vector(int capacity) : this(operations_research_utilPINVOKE.new_Int64Vector__SWIG_2(capacity), true) {
254 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
259 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
265 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
271 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
276 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
280 global::System.IntPtr cPtr = operations_research_utilPINVOKE.Int64Vector_GetRange(swigCPtr, index, count);
282 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
288 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
292 operations_research_utilPINVOKE.Int64Vector_InsertRange(swigCPtr, index, Int64Vector.getCPtr(values));
293 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
298 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
303 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
309 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
319 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
323 operations_research_utilPINVOKE.Int64Vector_SetRange(swigCPtr, index, Int64Vector.getCPtr(values));
void InsertRange(int index, Int64Vector values)
Definition: util/Int64Vector.cs:291
void CopyTo(long[] array, int arrayIndex)
Definition: util/Int64Vector.cs:117
static void Int64Vector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
void AddRange(Int64Vector values)
Definition: util/Int64Vector.cs:274
Int64Vector(int capacity)
Definition: util/Int64Vector.cs:253
static void Int64Vector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
Int64VectorEnumerator(Int64Vector collection)
Definition: util/Int64Vector.cs:171
static int Int64Vector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void Int64Vector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static long Int64Vector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void Int64Vector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
int LastIndexOf(long value)
Definition: util/Int64Vector.cs:337
void CopyTo(int index, long[] array, int arrayIndex, int count)
Definition: util/Int64Vector.cs:122
static bool Int64Vector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: util/Int64Vector.cs:165
static bool Int64Vector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
Definition: operations_research_utilPINVOKE.cs:127
static void Int64Vector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Reverse(int index, int count)
Definition: util/Int64Vector.cs:317
long Current
Definition: util/Int64Vector.cs:179
static bool Pending
Definition: operations_research_utilPINVOKE.cs:133
static void Int64Vector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
Int64Vector(global::System.Collections.IEnumerable c)
Definition: util/Int64Vector.cs:52
static global::System.IntPtr Int64Vector_Repeat(long jarg1, int jarg2)
void Dispose()
Definition: util/Int64Vector.cs:218
Int64Vector(Int64Vector other)
Definition: util/Int64Vector.cs:249
bool MoveNext()
Definition: util/Int64Vector.cs:198
static void Int64Vector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.Exception Retrieve()
Definition: operations_research_utilPINVOKE.cs:152
static void Int64Vector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool Contains(long value)
Definition: util/Int64Vector.cs:327
virtual void Dispose(bool disposing)
Definition: util/Int64Vector.cs:40
static void Int64Vector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
void SetRange(int index, Int64Vector values)
Definition: util/Int64Vector.cs:322
bool IsSynchronized
Definition: util/Int64Vector.cs:106
Int64Vector GetRange(int index, int count)
Definition: util/Int64Vector.cs:279
void RemoveRange(int index, int count)
Definition: util/Int64Vector.cs:301
static global::System.IntPtr Int64Vector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void Reset()
Definition: util/Int64Vector.cs:210
static int Int64Vector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void delete_Int64Vector(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: Domain.cs:11
Int64VectorEnumerator GetEnumerator()
Definition: util/Int64Vector.cs:154
void Insert(int index, long x)
Definition: util/Int64Vector.cs:286
static void Int64Vector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: operations_research_utilPINVOKE.cs:13
static Int64Vector Repeat(long value, int count)
Definition: util/Int64Vector.cs:306
static uint Int64Vector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
Int64Vector(global::System.Collections.Generic.IEnumerable< long > c)
Definition: util/Int64Vector.cs:60