DotNet Reference
DotNet Reference
KInt64Vector.cs
Go to the documentation of this file.
13 public class KInt64Vector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IList<long>
24 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);
142 global::System.Collections.Generic.IEnumerator<long> global::System.Collections.Generic.IEnumerable<long>.GetEnumerator() {
242 public KInt64Vector() : this(operations_research_algorithmsPINVOKE.new_KInt64Vector__SWIG_0(), true) {
245 public KInt64Vector(KInt64Vector other) : this(operations_research_algorithmsPINVOKE.new_KInt64Vector__SWIG_1(KInt64Vector.getCPtr(other)), true) {
246 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
249 public KInt64Vector(int capacity) : this(operations_research_algorithmsPINVOKE.new_KInt64Vector__SWIG_2(capacity), true) {
250 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
255 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
261 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
267 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
271 operations_research_algorithmsPINVOKE.KInt64Vector_AddRange(swigCPtr, KInt64Vector.getCPtr(values));
272 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
276 global::System.IntPtr cPtr = operations_research_algorithmsPINVOKE.KInt64Vector_GetRange(swigCPtr, index, count);
278 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
284 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
288 operations_research_algorithmsPINVOKE.KInt64Vector_InsertRange(swigCPtr, index, KInt64Vector.getCPtr(values));
289 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
294 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
299 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
303 global::System.IntPtr cPtr = operations_research_algorithmsPINVOKE.KInt64Vector_Repeat(value, count);
305 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
315 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
319 operations_research_algorithmsPINVOKE.KInt64Vector_SetRange(swigCPtr, index, KInt64Vector.getCPtr(values));
KInt64VectorEnumerator GetEnumerator()
Definition: KInt64Vector.cs:150
void Reset()
Definition: KInt64Vector.cs:206
KInt64Vector(global::System.Collections.IEnumerable c)
Definition: KInt64Vector.cs:48
static void KInt64Vector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: KInt64Vector.cs:159
void SetRange(int index, KInt64Vector values)
Definition: KInt64Vector.cs:318
static void KInt64Vector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static long KInt64Vector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
KInt64Vector(int capacity)
Definition: KInt64Vector.cs:249
static int KInt64Vector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
void RemoveRange(int index, int count)
Definition: KInt64Vector.cs:297
void RemoveAt(int index)
Definition: KInt64Vector.cs:292
int LastIndexOf(long value)
Definition: KInt64Vector.cs:333
void InsertRange(int index, KInt64Vector values)
Definition: KInt64Vector.cs:287
void CopyTo(long[] array, int arrayIndex)
Definition: KInt64Vector.cs:113
int IndexOf(long value)
Definition: KInt64Vector.cs:328
static bool KInt64Vector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
void AddRange(KInt64Vector values)
Definition: KInt64Vector.cs:270
static void KInt64Vector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
KInt64VectorEnumerator(KInt64Vector collection)
Definition: KInt64Vector.cs:167
Definition: operations_research_algorithmsPINVOKE.cs:13
static global::System.IntPtr KInt64Vector_Repeat(long jarg1, int jarg2)
KInt64Vector(KInt64Vector other)
Definition: KInt64Vector.cs:245
static global::System.IntPtr KInt64Vector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
bool Contains(long value)
Definition: KInt64Vector.cs:323
static void KInt64Vector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void CopyTo(int index, long[] array, int arrayIndex, int count)
Definition: KInt64Vector.cs:118
static bool Pending
Definition: operations_research_algorithmsPINVOKE.cs:133
Definition: KInt64Vector.cs:11
void Insert(int index, long x)
Definition: KInt64Vector.cs:282
bool IsSynchronized
Definition: KInt64Vector.cs:102
static void KInt64Vector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
static void KInt64Vector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
bool MoveNext()
Definition: KInt64Vector.cs:194
static void KInt64Vector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void KInt64Vector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
virtual void Dispose(bool disposing)
Definition: KInt64Vector.cs:36
KInt64Vector(global::System.Collections.Generic.IEnumerable< long > c)
Definition: KInt64Vector.cs:56
void CopyTo(long[] array)
Definition: KInt64Vector.cs:108
static KInt64Vector Repeat(long value, int count)
Definition: KInt64Vector.cs:302
static void delete_KInt64Vector(global::System.Runtime.InteropServices.HandleRef jarg1)
KInt64Vector GetRange(int index, int count)
Definition: KInt64Vector.cs:275
static uint KInt64Vector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static void KInt64Vector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static int KInt64Vector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void KInt64Vector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: operations_research_algorithmsPINVOKE.cs:127
static bool KInt64Vector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
void Dispose()
Definition: KInt64Vector.cs:214
static global::System.Exception Retrieve()
Definition: operations_research_algorithmsPINVOKE.cs:152
void Reverse(int index, int count)
Definition: KInt64Vector.cs:313
long Current
Definition: KInt64Vector.cs:175