DotNet Reference
DotNet Reference
util/IntVectorVector.cs
Go to the documentation of this file.
17 public class IntVectorVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable<IntVector>
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<IntVector> global::System.Collections.Generic.IEnumerable<IntVector>.GetEnumerator() {
230 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
247 public IntVectorVector() : this(operations_research_utilPINVOKE.new_IntVectorVector__SWIG_0(), true) {
250 public IntVectorVector(IntVectorVector other) : this(operations_research_utilPINVOKE.new_IntVectorVector__SWIG_1(IntVectorVector.getCPtr(other)), true) {
251 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
254 public IntVectorVector(int capacity) : this(operations_research_utilPINVOKE.new_IntVectorVector__SWIG_2(capacity), true) {
255 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
259 IntVector ret = new IntVector(operations_research_utilPINVOKE.IntVectorVector_getitemcopy(swigCPtr, index), true);
260 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
265 IntVector ret = new IntVector(operations_research_utilPINVOKE.IntVectorVector_getitem(swigCPtr, index), false);
266 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
271 operations_research_utilPINVOKE.IntVectorVector_setitem(swigCPtr, index, IntVector.getCPtr(val));
272 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
276 operations_research_utilPINVOKE.IntVectorVector_AddRange(swigCPtr, IntVectorVector.getCPtr(values));
277 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
281 global::System.IntPtr cPtr = operations_research_utilPINVOKE.IntVectorVector_GetRange(swigCPtr, index, count);
282 IntVectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVectorVector(cPtr, true);
283 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
289 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
293 operations_research_utilPINVOKE.IntVectorVector_InsertRange(swigCPtr, index, IntVectorVector.getCPtr(values));
294 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
299 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
304 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
308 global::System.IntPtr cPtr = operations_research_utilPINVOKE.IntVectorVector_Repeat(IntVector.getCPtr(value), count);
309 IntVectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVectorVector(cPtr, true);
310 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
320 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
324 operations_research_utilPINVOKE.IntVectorVector_SetRange(swigCPtr, index, IntVectorVector.getCPtr(values));
IntVectorVectorEnumerator GetEnumerator()
Definition: util/IntVectorVector.cs:154
IntVectorVector(global::System.Collections.IEnumerable c)
Definition: util/IntVectorVector.cs:52
void RemoveRange(int index, int count)
Definition: util/IntVectorVector.cs:302
static void IntVectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void IntVectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void SetRange(int index, IntVectorVector values)
Definition: util/IntVectorVector.cs:323
void CopyTo(IntVector[] array, int arrayIndex)
Definition: util/IntVectorVector.cs:117
bool swigCMemOwn
Definition: util/IntVectorVector.cs:20
static void IntVectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void CopyTo(IntVector[] array)
Definition: util/IntVectorVector.cs:112
void InsertRange(int index, IntVectorVector values)
Definition: util/IntVectorVector.cs:292
static IntVectorVector Repeat(IntVector value, int count)
Definition: util/IntVectorVector.cs:307
static global::System.IntPtr IntVectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Reverse(int index, int count)
Definition: util/IntVectorVector.cs:318
IntVector Current
Definition: util/IntVectorVector.cs:179
IntVectorVector(IntVectorVector other)
Definition: util/IntVectorVector.cs:250
Definition: operations_research_utilPINVOKE.cs:127
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: util/IntVectorVector.cs:165
static bool Pending
Definition: operations_research_utilPINVOKE.cs:133
IntVectorVector()
Definition: util/IntVectorVector.cs:247
virtual void Dispose(bool disposing)
Definition: util/IntVectorVector.cs:40
static global::System.IntPtr IntVectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
IntVectorVector GetRange(int index, int count)
Definition: util/IntVectorVector.cs:280
static void IntVectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
bool IsFixedSize
Definition: util/IntVectorVector.cs:68
IntVectorVector(global::System.Collections.Generic.IEnumerable< IntVector > c)
Definition: util/IntVectorVector.cs:60
static void IntVectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr IntVectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.Exception Retrieve()
Definition: operations_research_utilPINVOKE.cs:152
void Dispose()
Definition: util/IntVectorVector.cs:218
void Insert(int index, IntVector x)
Definition: util/IntVectorVector.cs:287
static uint IntVectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
IntVector[] ToArray()
Definition: util/IntVectorVector.cs:140
static void IntVectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
void RemoveAt(int index)
Definition: util/IntVectorVector.cs:297
void AddRange(IntVectorVector values)
Definition: util/IntVectorVector.cs:275
static void IntVectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Reset()
Definition: util/IntVectorVector.cs:210
Definition: Domain.cs:11
static void IntVectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
IntVectorVector(int capacity)
Definition: util/IntVectorVector.cs:254
static void IntVectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
IntVectorVectorEnumerator(IntVectorVector collection)
Definition: util/IntVectorVector.cs:171
bool IsSynchronized
Definition: util/IntVectorVector.cs:106
bool MoveNext()
Definition: util/IntVectorVector.cs:198
void CopyTo(int index, IntVector[] array, int arrayIndex, int count)
Definition: util/IntVectorVector.cs:122
static void delete_IntVectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: operations_research_utilPINVOKE.cs:13
static void IntVectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)