DotNet Reference
DotNet Reference
KInt64VectorVector.cs
Go to the documentation of this file.
13 public class KInt64VectorVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable<KInt64Vector>
23 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KInt64VectorVector obj) {
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);
56 public KInt64VectorVector(global::System.Collections.Generic.IEnumerable<KInt64Vector> c) : this() {
142 global::System.Collections.Generic.IEnumerator<KInt64Vector> global::System.Collections.Generic.IEnumerable<KInt64Vector>.GetEnumerator() {
225 operations_research_algorithmsPINVOKE.KInt64VectorVector_Add(swigCPtr, KInt64Vector.getCPtr(x));
226 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
243 public KInt64VectorVector() : this(operations_research_algorithmsPINVOKE.new_KInt64VectorVector__SWIG_0(), true) {
246 public KInt64VectorVector(KInt64VectorVector other) : this(operations_research_algorithmsPINVOKE.new_KInt64VectorVector__SWIG_1(KInt64VectorVector.getCPtr(other)), true) {
247 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
250 public KInt64VectorVector(int capacity) : this(operations_research_algorithmsPINVOKE.new_KInt64VectorVector__SWIG_2(capacity), true) {
251 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
255 KInt64Vector ret = new KInt64Vector(operations_research_algorithmsPINVOKE.KInt64VectorVector_getitemcopy(swigCPtr, index), true);
256 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
261 KInt64Vector ret = new KInt64Vector(operations_research_algorithmsPINVOKE.KInt64VectorVector_getitem(swigCPtr, index), false);
262 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
267 operations_research_algorithmsPINVOKE.KInt64VectorVector_setitem(swigCPtr, index, KInt64Vector.getCPtr(val));
268 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
272 operations_research_algorithmsPINVOKE.KInt64VectorVector_AddRange(swigCPtr, KInt64VectorVector.getCPtr(values));
273 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
277 global::System.IntPtr cPtr = operations_research_algorithmsPINVOKE.KInt64VectorVector_GetRange(swigCPtr, index, count);
278 KInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new KInt64VectorVector(cPtr, true);
279 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
284 operations_research_algorithmsPINVOKE.KInt64VectorVector_Insert(swigCPtr, index, KInt64Vector.getCPtr(x));
285 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
289 operations_research_algorithmsPINVOKE.KInt64VectorVector_InsertRange(swigCPtr, index, KInt64VectorVector.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.KInt64VectorVector_Repeat(KInt64Vector.getCPtr(value), count);
305 KInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new KInt64VectorVector(cPtr, true);
306 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
315 operations_research_algorithmsPINVOKE.KInt64VectorVector_Reverse__SWIG_1(swigCPtr, index, count);
316 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
320 operations_research_algorithmsPINVOKE.KInt64VectorVector_SetRange(swigCPtr, index, KInt64VectorVector.getCPtr(values));
void CopyTo(int index, KInt64Vector[] array, int arrayIndex, int count)
Definition: KInt64VectorVector.cs:118
static void delete_KInt64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
bool IsReadOnly
Definition: KInt64VectorVector.cs:70
void SetRange(int index, KInt64VectorVector values)
Definition: KInt64VectorVector.cs:319
static global::System.IntPtr KInt64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
bool MoveNext()
Definition: KInt64VectorVector.cs:194
static void KInt64VectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void KInt64VectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static void KInt64VectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void AddRange(KInt64VectorVector values)
Definition: KInt64VectorVector.cs:271
static global::System.IntPtr KInt64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Dispose()
Definition: KInt64VectorVector.cs:214
int Capacity
Definition: KInt64VectorVector.cs:85
bool IsFixedSize
Definition: KInt64VectorVector.cs:64
void Reverse(int index, int count)
Definition: KInt64VectorVector.cs:314
Definition: operations_research_algorithmsPINVOKE.cs:13
void Insert(int index, KInt64Vector x)
Definition: KInt64VectorVector.cs:283
KInt64VectorVector(global::System.Collections.Generic.IEnumerable< KInt64Vector > c)
Definition: KInt64VectorVector.cs:56
static void KInt64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static bool Pending
Definition: operations_research_algorithmsPINVOKE.cs:133
Definition: KInt64Vector.cs:11
KInt64Vector Current
Definition: KInt64VectorVector.cs:175
static global::System.IntPtr KInt64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void InsertRange(int index, KInt64VectorVector values)
Definition: KInt64VectorVector.cs:288
KInt64VectorVector(KInt64VectorVector other)
Definition: KInt64VectorVector.cs:246
static void KInt64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void Reverse()
Definition: KInt64VectorVector.cs:310
static void KInt64VectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void KInt64VectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
KInt64VectorVector(int capacity)
Definition: KInt64VectorVector.cs:250
void RemoveRange(int index, int count)
Definition: KInt64VectorVector.cs:298
bool IsSynchronized
Definition: KInt64VectorVector.cs:102
void RemoveAt(int index)
Definition: KInt64VectorVector.cs:293
KInt64VectorVector()
Definition: KInt64VectorVector.cs:243
static void KInt64VectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static KInt64VectorVector Repeat(KInt64Vector value, int count)
Definition: KInt64VectorVector.cs:303
KInt64VectorVectorEnumerator(KInt64VectorVector collection)
Definition: KInt64VectorVector.cs:167
KInt64Vector[] ToArray()
Definition: KInt64VectorVector.cs:136
void CopyTo(KInt64Vector[] array, int arrayIndex)
Definition: KInt64VectorVector.cs:113
KInt64VectorVector GetRange(int index, int count)
Definition: KInt64VectorVector.cs:276
static uint KInt64VectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
KInt64VectorVectorEnumerator GetEnumerator()
Definition: KInt64VectorVector.cs:150
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: KInt64VectorVector.cs:159
KInt64VectorVector(global::System.Collections.IEnumerable c)
Definition: KInt64VectorVector.cs:48
bool swigCMemOwn
Definition: KInt64VectorVector.cs:16
Definition: operations_research_algorithmsPINVOKE.cs:127
virtual void Dispose(bool disposing)
Definition: KInt64VectorVector.cs:36
void Add(KInt64Vector x)
Definition: KInt64VectorVector.cs:224
static global::System.Exception Retrieve()
Definition: operations_research_algorithmsPINVOKE.cs:152
void Dispose()
Definition: KInt64VectorVector.cs:31
static void KInt64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void CopyTo(KInt64Vector[] array)
Definition: KInt64VectorVector.cs:108
void Reset()
Definition: KInt64VectorVector.cs:206
static void KInt64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)