DotNet Reference
DotNet Reference
util/UtilInt64VectorVector.cs
Go to the documentation of this file.
17 public class UtilInt64VectorVector : global::System.IDisposable, global::System.Collections.IEnumerable
28 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UtilInt64VectorVector obj) {
29 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);
129 global::System.Collections.Generic.IEnumerator<UtilInt64Vector> global::System.Collections.Generic.IEnumerable<UtilInt64Vector>.GetEnumerator() {
212 operations_research_utilPINVOKE.UtilInt64VectorVector_Add(swigCPtr, UtilInt64Vector.getCPtr(x));
213 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
230 public UtilInt64VectorVector() : this(operations_research_utilPINVOKE.new_UtilInt64VectorVector__SWIG_0(), true) {
233 public UtilInt64VectorVector(UtilInt64VectorVector other) : this(operations_research_utilPINVOKE.new_UtilInt64VectorVector__SWIG_1(UtilInt64VectorVector.getCPtr(other)), true) {
234 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
237 public UtilInt64VectorVector(int capacity) : this(operations_research_utilPINVOKE.new_UtilInt64VectorVector__SWIG_2(capacity), true) {
238 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
242 UtilInt64Vector ret = new UtilInt64Vector(operations_research_utilPINVOKE.UtilInt64VectorVector_getitemcopy(swigCPtr, index), true);
243 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
248 UtilInt64Vector ret = new UtilInt64Vector(operations_research_utilPINVOKE.UtilInt64VectorVector_getitem(swigCPtr, index), false);
249 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
254 operations_research_utilPINVOKE.UtilInt64VectorVector_setitem(swigCPtr, index, UtilInt64Vector.getCPtr(val));
255 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
259 operations_research_utilPINVOKE.UtilInt64VectorVector_AddRange(swigCPtr, UtilInt64VectorVector.getCPtr(values));
260 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
264 global::System.IntPtr cPtr = operations_research_utilPINVOKE.UtilInt64VectorVector_GetRange(swigCPtr, index, count);
265 UtilInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UtilInt64VectorVector(cPtr, true);
266 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
271 operations_research_utilPINVOKE.UtilInt64VectorVector_Insert(swigCPtr, index, UtilInt64Vector.getCPtr(x));
272 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
276 operations_research_utilPINVOKE.UtilInt64VectorVector_InsertRange(swigCPtr, index, UtilInt64VectorVector.getCPtr(values));
277 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
282 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
287 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
291 global::System.IntPtr cPtr = operations_research_utilPINVOKE.UtilInt64VectorVector_Repeat(UtilInt64Vector.getCPtr(value), count);
292 UtilInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new UtilInt64VectorVector(cPtr, true);
293 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
303 if (operations_research_utilPINVOKE.SWIGPendingException.Pending) throw operations_research_utilPINVOKE.SWIGPendingException.Retrieve();
307 operations_research_utilPINVOKE.UtilInt64VectorVector_SetRange(swigCPtr, index, UtilInt64VectorVector.getCPtr(values));
UtilInt64VectorVector(UtilInt64VectorVector other)
Definition: util/UtilInt64VectorVector.cs:233
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)
bool IsFixedSize
Definition: util/UtilInt64VectorVector.cs:57
UtilInt64VectorVectorEnumerator(UtilInt64VectorVector collection)
Definition: util/UtilInt64VectorVector.cs:154
UtilInt64VectorVector GetRange(int index, int count)
Definition: util/UtilInt64VectorVector.cs:263
void Add(UtilInt64Vector x)
Definition: util/UtilInt64VectorVector.cs:211
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: util/UtilInt64VectorVector.cs:146
static void UtilInt64VectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void Reverse(int index, int count)
Definition: util/UtilInt64VectorVector.cs:301
static global::System.IntPtr UtilInt64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
UtilInt64VectorVector(global::System.Collections.ICollection c)
Definition: util/UtilInt64VectorVector.cs:49
int Capacity
Definition: util/UtilInt64VectorVector.cs:78
static void UtilInt64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: operations_research_utilPINVOKE.cs:127
void CopyTo(UtilInt64Vector[] array)
Definition: util/UtilInt64VectorVector.cs:101
static void UtilInt64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void InsertRange(int index, UtilInt64VectorVector values)
Definition: util/UtilInt64VectorVector.cs:275
static void UtilInt64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Insert(int index, UtilInt64Vector x)
Definition: util/UtilInt64VectorVector.cs:270
static global::System.IntPtr UtilInt64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool Pending
Definition: operations_research_utilPINVOKE.cs:132
UtilInt64Vector Current
Definition: util/UtilInt64VectorVector.cs:162
static void UtilInt64VectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr UtilInt64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
bool swigCMemOwn
Definition: util/UtilInt64VectorVector.cs:21
bool IsSynchronized
Definition: util/UtilInt64VectorVector.cs:95
void Clear()
Definition: util/UtilInt64VectorVector.cs:207
UtilInt64VectorVector(int capacity)
Definition: util/UtilInt64VectorVector.cs:237
void CopyTo(UtilInt64Vector[] array, int arrayIndex)
Definition: util/UtilInt64VectorVector.cs:106
static global::System.Exception Retrieve()
Definition: operations_research_utilPINVOKE.cs:151
static UtilInt64VectorVector Repeat(UtilInt64Vector value, int count)
Definition: util/UtilInt64VectorVector.cs:290
void Reset()
Definition: util/UtilInt64VectorVector.cs:193
bool IsReadOnly
Definition: util/UtilInt64VectorVector.cs:63
void CopyTo(int index, UtilInt64Vector[] array, int arrayIndex, int count)
Definition: util/UtilInt64VectorVector.cs:111
void RemoveRange(int index, int count)
Definition: util/UtilInt64VectorVector.cs:285
static void UtilInt64VectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void SetRange(int index, UtilInt64VectorVector values)
Definition: util/UtilInt64VectorVector.cs:306
static void delete_UtilInt64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
void RemoveAt(int index)
Definition: util/UtilInt64VectorVector.cs:280
UtilInt64VectorVector()
Definition: util/UtilInt64VectorVector.cs:230
UtilInt64VectorVectorEnumerator GetEnumerator()
Definition: util/UtilInt64VectorVector.cs:137
static void UtilInt64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
int Count
Definition: util/UtilInt64VectorVector.cs:89
Definition: util/Domain.cs:11
static void UtilInt64VectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
void Reverse()
Definition: util/UtilInt64VectorVector.cs:297
static void UtilInt64VectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
virtual void Dispose()
Definition: util/UtilInt64VectorVector.cs:36
bool MoveNext()
Definition: util/UtilInt64VectorVector.cs:181
Definition: operations_research_utilPINVOKE.cs:13
void AddRange(UtilInt64VectorVector values)
Definition: util/UtilInt64VectorVector.cs:258