DotNet Reference
DotNet Reference
algorithms/Int64VectorVector.cs
Go to the documentation of this file.
13 public class Int64VectorVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable<Int64Vector>
23 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Int64VectorVector 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 Int64VectorVector(global::System.Collections.Generic.IEnumerable<Int64Vector> c) : this() {
142 global::System.Collections.Generic.IEnumerator<Int64Vector> global::System.Collections.Generic.IEnumerable<Int64Vector>.GetEnumerator() {
226 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
243 public Int64VectorVector() : this(operations_research_algorithmsPINVOKE.new_Int64VectorVector__SWIG_0(), true) {
246 public Int64VectorVector(Int64VectorVector other) : this(operations_research_algorithmsPINVOKE.new_Int64VectorVector__SWIG_1(Int64VectorVector.getCPtr(other)), true) {
247 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
250 public Int64VectorVector(int capacity) : this(operations_research_algorithmsPINVOKE.new_Int64VectorVector__SWIG_2(capacity), true) {
251 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
255 Int64Vector ret = new Int64Vector(operations_research_algorithmsPINVOKE.Int64VectorVector_getitemcopy(swigCPtr, index), true);
256 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
261 Int64Vector ret = new Int64Vector(operations_research_algorithmsPINVOKE.Int64VectorVector_getitem(swigCPtr, index), false);
262 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
267 operations_research_algorithmsPINVOKE.Int64VectorVector_setitem(swigCPtr, index, Int64Vector.getCPtr(val));
268 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
272 operations_research_algorithmsPINVOKE.Int64VectorVector_AddRange(swigCPtr, Int64VectorVector.getCPtr(values));
273 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
277 global::System.IntPtr cPtr = operations_research_algorithmsPINVOKE.Int64VectorVector_GetRange(swigCPtr, index, count);
278 Int64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new Int64VectorVector(cPtr, true);
279 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
284 operations_research_algorithmsPINVOKE.Int64VectorVector_Insert(swigCPtr, index, Int64Vector.getCPtr(x));
285 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
289 operations_research_algorithmsPINVOKE.Int64VectorVector_InsertRange(swigCPtr, index, Int64VectorVector.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.Int64VectorVector_Repeat(Int64Vector.getCPtr(value), count);
305 Int64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new Int64VectorVector(cPtr, true);
306 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
315 operations_research_algorithmsPINVOKE.Int64VectorVector_Reverse__SWIG_1(swigCPtr, index, count);
316 if (operations_research_algorithmsPINVOKE.SWIGPendingException.Pending) throw operations_research_algorithmsPINVOKE.SWIGPendingException.Retrieve();
320 operations_research_algorithmsPINVOKE.Int64VectorVector_SetRange(swigCPtr, index, Int64VectorVector.getCPtr(values));
static Int64VectorVector Repeat(Int64Vector value, int count)
Definition: algorithms/Int64VectorVector.cs:303
void Dispose()
Definition: algorithms/Int64VectorVector.cs:31
void SetRange(int index, Int64VectorVector values)
Definition: algorithms/Int64VectorVector.cs:319
Int64VectorVector(global::System.Collections.IEnumerable c)
Definition: algorithms/Int64VectorVector.cs:48
Int64VectorVector(Int64VectorVector other)
Definition: algorithms/Int64VectorVector.cs:246
virtual void Dispose(bool disposing)
Definition: algorithms/Int64VectorVector.cs:36
static global::System.IntPtr Int64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
int Capacity
Definition: algorithms/Int64VectorVector.cs:85
void Dispose()
Definition: algorithms/Int64VectorVector.cs:214
bool swigCMemOwn
Definition: algorithms/Int64VectorVector.cs:16
void RemoveAt(int index)
Definition: algorithms/Int64VectorVector.cs:293
Int64VectorVector()
Definition: algorithms/Int64VectorVector.cs:243
Int64VectorVector(global::System.Collections.Generic.IEnumerable< Int64Vector > c)
Definition: algorithms/Int64VectorVector.cs:56
void CopyTo(int index, Int64Vector[] array, int arrayIndex, int count)
Definition: algorithms/Int64VectorVector.cs:118
Definition: operations_research_algorithmsPINVOKE.cs:13
static void Int64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void Reverse()
Definition: algorithms/Int64VectorVector.cs:310
int Count
Definition: algorithms/Int64VectorVector.cs:96
bool IsFixedSize
Definition: algorithms/Int64VectorVector.cs:64
static void Int64VectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(Int64Vector[] array)
Definition: algorithms/Int64VectorVector.cs:108
Int64VectorVectorEnumerator(Int64VectorVector collection)
Definition: algorithms/Int64VectorVector.cs:167
static void Int64VectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
bool IsReadOnly
Definition: algorithms/Int64VectorVector.cs:70
static bool Pending
Definition: operations_research_algorithmsPINVOKE.cs:133
static void Int64VectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void Add(Int64Vector x)
Definition: algorithms/Int64VectorVector.cs:224
static void Int64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Int64Vector[] ToArray()
Definition: algorithms/Int64VectorVector.cs:136
void AddRange(Int64VectorVector values)
Definition: algorithms/Int64VectorVector.cs:271
void InsertRange(int index, Int64VectorVector values)
Definition: algorithms/Int64VectorVector.cs:288
void RemoveRange(int index, int count)
Definition: algorithms/Int64VectorVector.cs:298
static void Int64VectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
Int64Vector Current
Definition: algorithms/Int64VectorVector.cs:175
static void Int64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Int64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
Int64VectorVector(int capacity)
Definition: algorithms/Int64VectorVector.cs:250
static void Int64VectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void Reset()
Definition: algorithms/Int64VectorVector.cs:206
void CopyTo(Int64Vector[] array, int arrayIndex)
Definition: algorithms/Int64VectorVector.cs:113
void Reverse(int index, int count)
Definition: algorithms/Int64VectorVector.cs:314
Int64VectorVectorEnumerator GetEnumerator()
Definition: algorithms/Int64VectorVector.cs:150
bool IsSynchronized
Definition: algorithms/Int64VectorVector.cs:102
void Clear()
Definition: algorithms/Int64VectorVector.cs:220
static void Int64VectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: algorithms/Int64VectorVector.cs:161
bool MoveNext()
Definition: algorithms/Int64VectorVector.cs:194
Int64VectorVector GetRange(int index, int count)
Definition: algorithms/Int64VectorVector.cs:276
static global::System.IntPtr Int64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
Definition: operations_research_algorithmsPINVOKE.cs:127
static void Int64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void Insert(int index, Int64Vector x)
Definition: algorithms/Int64VectorVector.cs:283
static uint Int64VectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.Exception Retrieve()
Definition: operations_research_algorithmsPINVOKE.cs:152
static void delete_Int64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)