DotNet Reference
DotNet Reference
KInt64VectorVector.cs
Go to the documentation of this file.
13 public class KInt64VectorVector : global::System.IDisposable, global::System.Collections.IEnumerable
24 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(KInt64VectorVector obj) {
25 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
39 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
125 global::System.Collections.Generic.IEnumerator<KInt64Vector> global::System.Collections.Generic.IEnumerable<KInt64Vector>.GetEnumerator() {
208 operations_research_algorithmsPINVOKE.KInt64VectorVector_Add(swigCPtr, KInt64Vector.getCPtr(x));
209 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
226 public KInt64VectorVector() : this(operations_research_algorithmsPINVOKE.new_KInt64VectorVector__SWIG_0(), true) {
229 public KInt64VectorVector(KInt64VectorVector other) : this(operations_research_algorithmsPINVOKE.new_KInt64VectorVector__SWIG_1(KInt64VectorVector.getCPtr(other)), true) {
230 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
233 public KInt64VectorVector(int capacity) : this(operations_research_algorithmsPINVOKE.new_KInt64VectorVector__SWIG_2(capacity), true) {
234 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
238 KInt64Vector ret = new KInt64Vector(operations_research_algorithmsPINVOKE.KInt64VectorVector_getitemcopy(swigCPtr, index), true);
239 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
244 KInt64Vector ret = new KInt64Vector(operations_research_algorithmsPINVOKE.KInt64VectorVector_getitem(swigCPtr, index), false);
245 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
250 operations_research_algorithmsPINVOKE.KInt64VectorVector_setitem(swigCPtr, index, KInt64Vector.getCPtr(val));
251 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
255 operations_research_algorithmsPINVOKE.KInt64VectorVector_AddRange(swigCPtr, KInt64VectorVector.getCPtr(values));
256 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
260 global::System.IntPtr cPtr = operations_research_algorithmsPINVOKE.KInt64VectorVector_GetRange(swigCPtr, index, count);
261 KInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new KInt64VectorVector(cPtr, true);
262 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
267 operations_research_algorithmsPINVOKE.KInt64VectorVector_Insert(swigCPtr, index, KInt64Vector.getCPtr(x));
268 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
272 operations_research_algorithmsPINVOKE.KInt64VectorVector_InsertRange(swigCPtr, index, KInt64VectorVector.getCPtr(values));
273 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
278 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
283 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
287 global::System.IntPtr cPtr = operations_research_algorithmsPINVOKE.KInt64VectorVector_Repeat(KInt64Vector.getCPtr(value), count);
288 KInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new KInt64VectorVector(cPtr, true);
289 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
298 operations_research_algorithmsPINVOKE.KInt64VectorVector_Reverse__SWIG_1(swigCPtr, index, count);
299 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
303 operations_research_algorithmsPINVOKE.KInt64VectorVector_SetRange(swigCPtr, index, KInt64VectorVector.getCPtr(values));
void CopyTo(int index, KInt64Vector[] array, int arrayIndex, int count)
Definition: KInt64VectorVector.cs:107
static void delete_KInt64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
bool IsReadOnly
Definition: KInt64VectorVector.cs:59
void SetRange(int index, KInt64VectorVector values)
Definition: KInt64VectorVector.cs:302
static global::System.IntPtr KInt64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
KInt64VectorVector(global::System.Collections.ICollection c)
Definition: KInt64VectorVector.cs:45
bool MoveNext()
Definition: KInt64VectorVector.cs:177
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:254
static global::System.IntPtr KInt64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Dispose()
Definition: KInt64VectorVector.cs:197
int Capacity
Definition: KInt64VectorVector.cs:74
bool IsFixedSize
Definition: KInt64VectorVector.cs:53
void Reverse(int index, int count)
Definition: KInt64VectorVector.cs:297
Definition: operations_research_algorithmsPINVOKE.cs:13
void Insert(int index, KInt64Vector x)
Definition: KInt64VectorVector.cs:266
static void KInt64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static bool Pending
Definition: operations_research_algorithmsPINVOKE.cs:132
Definition: KInt64Vector.cs:11
KInt64Vector Current
Definition: KInt64VectorVector.cs:158
static global::System.IntPtr KInt64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void InsertRange(int index, KInt64VectorVector values)
Definition: KInt64VectorVector.cs:271
KInt64VectorVector(KInt64VectorVector other)
Definition: KInt64VectorVector.cs:229
static void KInt64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void Reverse()
Definition: KInt64VectorVector.cs:293
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:233
void RemoveRange(int index, int count)
Definition: KInt64VectorVector.cs:281
bool IsSynchronized
Definition: KInt64VectorVector.cs:91
void RemoveAt(int index)
Definition: KInt64VectorVector.cs:276
KInt64VectorVector()
Definition: KInt64VectorVector.cs:226
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:286
KInt64VectorVectorEnumerator(KInt64VectorVector collection)
Definition: KInt64VectorVector.cs:150
void CopyTo(KInt64Vector[] array, int arrayIndex)
Definition: KInt64VectorVector.cs:102
KInt64VectorVector GetRange(int index, int count)
Definition: KInt64VectorVector.cs:259
static uint KInt64VectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
KInt64VectorVectorEnumerator GetEnumerator()
Definition: KInt64VectorVector.cs:133
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: KInt64VectorVector.cs:142
bool swigCMemOwn
Definition: KInt64VectorVector.cs:17
Definition: operations_research_algorithmsPINVOKE.cs:127
void Add(KInt64Vector x)
Definition: KInt64VectorVector.cs:207
static global::System.Exception Retrieve()
Definition: operations_research_algorithmsPINVOKE.cs:151
static void KInt64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void CopyTo(KInt64Vector[] array)
Definition: KInt64VectorVector.cs:97
virtual void Dispose()
Definition: KInt64VectorVector.cs:32
void Reset()
Definition: KInt64VectorVector.cs:189
static void KInt64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)