DotNet Reference
DotNet Reference
util/IntVector.cs
Go to the documentation of this file.
17 public class IntVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IList<int>
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<int> global::System.Collections.Generic.IEnumerable<int>.GetEnumerator() {
249 public IntVector(IntVector other) : this(operations_research_utilPINVOKE.new_IntVector__SWIG_1(IntVector.getCPtr(other)), true) {
250 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
253 public IntVector(int capacity) : this(operations_research_utilPINVOKE.new_IntVector__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.IntVector_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.IntVector_InsertRange(swigCPtr, index, IntVector.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();
void InsertRange(int index, IntVector values)
Definition: util/IntVector.cs:291
void Reset()
Definition: util/IntVector.cs:210
static void IntVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void IntVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void CopyTo(int index, int[] array, int arrayIndex, int count)
Definition: util/IntVector.cs:122
IntVector(global::System.Collections.IEnumerable c)
Definition: util/IntVector.cs:52
static global::System.IntPtr IntVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: util/IntVector.cs:165
virtual void Dispose(bool disposing)
Definition: util/IntVector.cs:40
IntVectorEnumerator(IntVector collection)
Definition: util/IntVector.cs:171
IntVector(global::System.Collections.Generic.IEnumerable< int > c)
Definition: util/IntVector.cs:60
void RemoveRange(int index, int count)
Definition: util/IntVector.cs:301
static bool IntVector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
Definition: operations_research_utilPINVOKE.cs:127
static void IntVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool Pending
Definition: operations_research_utilPINVOKE.cs:133
int LastIndexOf(int value)
Definition: util/IntVector.cs:337
static uint IntVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static IntVector Repeat(int value, int count)
Definition: util/IntVector.cs:306
static void IntVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static int IntVector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Reverse(int index, int count)
Definition: util/IntVector.cs:317
static global::System.Exception Retrieve()
Definition: operations_research_utilPINVOKE.cs:152
void AddRange(IntVector values)
Definition: util/IntVector.cs:274
static void delete_IntVector(global::System.Runtime.InteropServices.HandleRef jarg1)
static int IntVector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int IntVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void IntVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(int[] array, int arrayIndex)
Definition: util/IntVector.cs:117
static bool IntVector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
int Current
Definition: util/IntVector.cs:179
Definition: Domain.cs:11
static void IntVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr IntVector_Repeat(int jarg1, int jarg2)
static void IntVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void SetRange(int index, IntVector values)
Definition: util/IntVector.cs:322
static void IntVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
IntVectorEnumerator GetEnumerator()
Definition: util/IntVector.cs:154
void Dispose()
Definition: util/IntVector.cs:218
Definition: operations_research_utilPINVOKE.cs:13
static void IntVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
IntVector GetRange(int index, int count)
Definition: util/IntVector.cs:279
bool MoveNext()
Definition: util/IntVector.cs:198
static void IntVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)