DotNet Reference
DotNet Reference
UtilInt64VectorVector.cs
Go to the documentation of this file.
17 public class UtilInt64VectorVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable<UtilInt64Vector>
27 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UtilInt64VectorVector obj) {
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);
60 public UtilInt64VectorVector(global::System.Collections.Generic.IEnumerable<UtilInt64Vector> c) : this() {
146 global::System.Collections.Generic.IEnumerator<UtilInt64Vector> global::System.Collections.Generic.IEnumerable<UtilInt64Vector>.GetEnumerator() {
229 operations_research_utilPINVOKE.UtilInt64VectorVector_Add(swigCPtr, UtilInt64Vector.getCPtr(x));
230 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
247 public UtilInt64VectorVector() : this(operations_research_utilPINVOKE.new_UtilInt64VectorVector__SWIG_0(), true) {
250 public UtilInt64VectorVector(UtilInt64VectorVector other) : this(operations_research_utilPINVOKE.new_UtilInt64VectorVector__SWIG_1(UtilInt64VectorVector.getCPtr(other)), true) {
251 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
254 public UtilInt64VectorVector(int capacity) : this(operations_research_utilPINVOKE.new_UtilInt64VectorVector__SWIG_2(capacity), true) {
255 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
259 UtilInt64Vector ret = new UtilInt64Vector(operations_research_utilPINVOKE.UtilInt64VectorVector_getitemcopy(swigCPtr, index), true);
260 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
265 UtilInt64Vector ret = new UtilInt64Vector(operations_research_utilPINVOKE.UtilInt64VectorVector_getitem(swigCPtr, index), false);
266 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
271 operations_research_utilPINVOKE.UtilInt64VectorVector_setitem(swigCPtr, index, UtilInt64Vector.getCPtr(val));
272 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
276 operations_research_utilPINVOKE.UtilInt64VectorVector_AddRange(swigCPtr, UtilInt64VectorVector.getCPtr(values));
277 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
281 global::System.IntPtr cPtr = operations_research_utilPINVOKE.UtilInt64VectorVector_GetRange(swigCPtr, index, count);
282 UtilInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UtilInt64VectorVector(cPtr, true);
283 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
288 operations_research_utilPINVOKE.UtilInt64VectorVector_Insert(swigCPtr, index, UtilInt64Vector.getCPtr(x));
289 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
293 operations_research_utilPINVOKE.UtilInt64VectorVector_InsertRange(swigCPtr, index, UtilInt64VectorVector.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.UtilInt64VectorVector_Repeat(UtilInt64Vector.getCPtr(value), count);
309 UtilInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UtilInt64VectorVector(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.UtilInt64VectorVector_SetRange(swigCPtr, index, UtilInt64VectorVector.getCPtr(values));
UtilInt64VectorVector(UtilInt64VectorVector other)
Definition: UtilInt64VectorVector.cs:250
static uint UtilInt64VectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static void UtilInt64VectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
virtual void Dispose(bool disposing)
Definition: UtilInt64VectorVector.cs:40
bool IsFixedSize
Definition: UtilInt64VectorVector.cs:68
UtilInt64VectorVectorEnumerator(UtilInt64VectorVector collection)
Definition: UtilInt64VectorVector.cs:171
UtilInt64VectorVector GetRange(int index, int count)
Definition: UtilInt64VectorVector.cs:280
void Add(UtilInt64Vector x)
Definition: UtilInt64VectorVector.cs:228
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: UtilInt64VectorVector.cs:163
void Dispose()
Definition: UtilInt64VectorVector.cs:35
static void UtilInt64VectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
UtilInt64Vector[] ToArray()
Definition: UtilInt64VectorVector.cs:140
void Reverse(int index, int count)
Definition: UtilInt64VectorVector.cs:318
static global::System.IntPtr UtilInt64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
int Capacity
Definition: UtilInt64VectorVector.cs:89
static void UtilInt64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
UtilInt64VectorVector(global::System.Collections.Generic.IEnumerable< UtilInt64Vector > c)
Definition: UtilInt64VectorVector.cs:60
Definition: operations_research_utilPINVOKE.cs:127
void CopyTo(UtilInt64Vector[] array)
Definition: UtilInt64VectorVector.cs:112
static void UtilInt64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void InsertRange(int index, UtilInt64VectorVector values)
Definition: UtilInt64VectorVector.cs:292
static void UtilInt64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Insert(int index, UtilInt64Vector x)
Definition: UtilInt64VectorVector.cs:287
static global::System.IntPtr UtilInt64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool Pending
Definition: operations_research_utilPINVOKE.cs:133
UtilInt64Vector Current
Definition: UtilInt64VectorVector.cs:179
static void UtilInt64VectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
UtilInt64VectorVector(global::System.Collections.IEnumerable c)
Definition: UtilInt64VectorVector.cs:52
static global::System.IntPtr UtilInt64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
bool swigCMemOwn
Definition: UtilInt64VectorVector.cs:20
bool IsSynchronized
Definition: UtilInt64VectorVector.cs:106
UtilInt64VectorVector(int capacity)
Definition: UtilInt64VectorVector.cs:254
void CopyTo(UtilInt64Vector[] array, int arrayIndex)
Definition: UtilInt64VectorVector.cs:117
static global::System.Exception Retrieve()
Definition: operations_research_utilPINVOKE.cs:152
static UtilInt64VectorVector Repeat(UtilInt64Vector value, int count)
Definition: UtilInt64VectorVector.cs:307
void Reset()
Definition: UtilInt64VectorVector.cs:210
bool IsReadOnly
Definition: UtilInt64VectorVector.cs:74
void CopyTo(int index, UtilInt64Vector[] array, int arrayIndex, int count)
Definition: UtilInt64VectorVector.cs:122
void RemoveRange(int index, int count)
Definition: UtilInt64VectorVector.cs:302
static void UtilInt64VectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void SetRange(int index, UtilInt64VectorVector values)
Definition: UtilInt64VectorVector.cs:323
static void delete_UtilInt64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
void RemoveAt(int index)
Definition: UtilInt64VectorVector.cs:297
UtilInt64VectorVector()
Definition: UtilInt64VectorVector.cs:247
UtilInt64VectorVectorEnumerator GetEnumerator()
Definition: UtilInt64VectorVector.cs:154
static void UtilInt64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Definition: Domain.cs:11
static void UtilInt64VectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
void Reverse()
Definition: UtilInt64VectorVector.cs:314
static void UtilInt64VectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
bool MoveNext()
Definition: UtilInt64VectorVector.cs:198
Definition: operations_research_utilPINVOKE.cs:13
void AddRange(UtilInt64VectorVector values)
Definition: UtilInt64VectorVector.cs:275