DotNet Reference
DotNet Reference
algorithms/IntVectorVector.cs
Go to the documentation of this file.
13 public class IntVectorVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable<IntVector>
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<IntVector> global::System.Collections.Generic.IEnumerable<IntVector>.GetEnumerator() {
226 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
243 public IntVectorVector() : this(operations_research_algorithmsPINVOKE.new_IntVectorVector__SWIG_0(), true) {
246 public IntVectorVector(IntVectorVector other) : this(operations_research_algorithmsPINVOKE.new_IntVectorVector__SWIG_1(IntVectorVector.getCPtr(other)), true) {
247 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
250 public IntVectorVector(int capacity) : this(operations_research_algorithmsPINVOKE.new_IntVectorVector__SWIG_2(capacity), true) {
251 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
255 IntVector ret = new IntVector(operations_research_algorithmsPINVOKE.IntVectorVector_getitemcopy(swigCPtr, index), true);
256 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
261 IntVector ret = new IntVector(operations_research_algorithmsPINVOKE.IntVectorVector_getitem(swigCPtr, index), false);
262 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
267 operations_research_algorithmsPINVOKE.IntVectorVector_setitem(swigCPtr, index, IntVector.getCPtr(val));
268 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
272 operations_research_algorithmsPINVOKE.IntVectorVector_AddRange(swigCPtr, IntVectorVector.getCPtr(values));
273 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
277 global::System.IntPtr cPtr = operations_research_algorithmsPINVOKE.IntVectorVector_GetRange(swigCPtr, index, count);
278 IntVectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVectorVector(cPtr, true);
279 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
284 operations_research_algorithmsPINVOKE.IntVectorVector_Insert(swigCPtr, index, IntVector.getCPtr(x));
285 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
289 operations_research_algorithmsPINVOKE.IntVectorVector_InsertRange(swigCPtr, index, IntVectorVector.getCPtr(values));
290 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
295 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
300 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
304 global::System.IntPtr cPtr = operations_research_algorithmsPINVOKE.IntVectorVector_Repeat(IntVector.getCPtr(value), count);
305 IntVectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVectorVector(cPtr, true);
306 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
316 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
320 operations_research_algorithmsPINVOKE.IntVectorVector_SetRange(swigCPtr, index, IntVectorVector.getCPtr(values));
void Dispose()
Definition: algorithms/IntVectorVector.cs:214
static void IntVectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
IntVectorVectorEnumerator GetEnumerator()
Definition: algorithms/IntVectorVector.cs:150
IntVectorVector(global::System.Collections.IEnumerable c)
Definition: algorithms/IntVectorVector.cs:48
IntVectorVector(global::System.Collections.Generic.IEnumerable< IntVector > c)
Definition: algorithms/IntVectorVector.cs:56
bool IsReadOnly
Definition: algorithms/IntVectorVector.cs:70
IntVector[] ToArray()
Definition: algorithms/IntVectorVector.cs:136
static void IntVectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(int index, IntVector[] array, int arrayIndex, int count)
Definition: algorithms/IntVectorVector.cs:118
int Capacity
Definition: algorithms/IntVectorVector.cs:85
IntVectorVector GetRange(int index, int count)
Definition: algorithms/IntVectorVector.cs:276
void Reverse()
Definition: algorithms/IntVectorVector.cs:310
void Insert(int index, IntVector x)
Definition: algorithms/IntVectorVector.cs:283
static global::System.IntPtr IntVectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: algorithms/IntVectorVector.cs:161
static void IntVectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void Dispose()
Definition: algorithms/IntVectorVector.cs:31
IntVectorVector(IntVectorVector other)
Definition: algorithms/IntVectorVector.cs:246
void Clear()
Definition: algorithms/IntVectorVector.cs:220
void InsertRange(int index, IntVectorVector values)
Definition: algorithms/IntVectorVector.cs:288
static void IntVectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
bool IsFixedSize
Definition: algorithms/IntVectorVector.cs:64
static uint IntVectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static void IntVectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
Definition: operations_research_algorithmsPINVOKE.cs:13
static void IntVectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
IntVectorVector()
Definition: algorithms/IntVectorVector.cs:243
void RemoveAt(int index)
Definition: algorithms/IntVectorVector.cs:293
void CopyTo(IntVector[] array)
Definition: algorithms/IntVectorVector.cs:108
static bool Pending
Definition: operations_research_algorithmsPINVOKE.cs:133
void Reverse(int index, int count)
Definition: algorithms/IntVectorVector.cs:314
static void IntVectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool MoveNext()
Definition: algorithms/IntVectorVector.cs:194
IntVectorVector(int capacity)
Definition: algorithms/IntVectorVector.cs:250
static void delete_IntVectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
void Add(IntVector x)
Definition: algorithms/IntVectorVector.cs:224
int Count
Definition: algorithms/IntVectorVector.cs:96
void RemoveRange(int index, int count)
Definition: algorithms/IntVectorVector.cs:298
IntVector Current
Definition: algorithms/IntVectorVector.cs:175
static global::System.IntPtr IntVectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void IntVectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
bool swigCMemOwn
Definition: algorithms/IntVectorVector.cs:16
static IntVectorVector Repeat(IntVector value, int count)
Definition: algorithms/IntVectorVector.cs:303
void CopyTo(IntVector[] array, int arrayIndex)
Definition: algorithms/IntVectorVector.cs:113
static global::System.IntPtr IntVectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Reset()
Definition: algorithms/IntVectorVector.cs:206
static void IntVectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
IntVectorVectorEnumerator(IntVectorVector collection)
Definition: algorithms/IntVectorVector.cs:167
void AddRange(IntVectorVector values)
Definition: algorithms/IntVectorVector.cs:271
virtual void Dispose(bool disposing)
Definition: algorithms/IntVectorVector.cs:36
bool IsSynchronized
Definition: algorithms/IntVectorVector.cs:102
Definition: operations_research_algorithmsPINVOKE.cs:127
void SetRange(int index, IntVectorVector values)
Definition: algorithms/IntVectorVector.cs:319
static global::System.Exception Retrieve()
Definition: operations_research_algorithmsPINVOKE.cs:152
static void IntVectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)