DotNet Reference
DotNet Reference
CpInt64VectorVector.cs
Go to the documentation of this file.
18 public partial class CpInt64VectorVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable<CpInt64Vector>
28 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CpInt64VectorVector obj) {
29 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
48 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
61 public CpInt64VectorVector(global::System.Collections.Generic.IEnumerable<CpInt64Vector> c) : this() {
147 global::System.Collections.Generic.IEnumerator<CpInt64Vector> global::System.Collections.Generic.IEnumerable<CpInt64Vector>.GetEnumerator() {
230 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Add(swigCPtr, CpInt64Vector.getCPtr(x));
231 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
248 public CpInt64VectorVector() : this(operations_research_constraint_solverPINVOKE.new_CpInt64VectorVector__SWIG_0(), true) {
251 public CpInt64VectorVector(CpInt64VectorVector other) : this(operations_research_constraint_solverPINVOKE.new_CpInt64VectorVector__SWIG_1(CpInt64VectorVector.getCPtr(other)), true) {
252 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
255 public CpInt64VectorVector(int capacity) : this(operations_research_constraint_solverPINVOKE.new_CpInt64VectorVector__SWIG_2(capacity), true) {
256 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
260 CpInt64Vector ret = new CpInt64Vector(operations_research_constraint_solverPINVOKE.CpInt64VectorVector_getitemcopy(swigCPtr, index), true);
261 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
266 CpInt64Vector ret = new CpInt64Vector(operations_research_constraint_solverPINVOKE.CpInt64VectorVector_getitem(swigCPtr, index), false);
267 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
272 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_setitem(swigCPtr, index, CpInt64Vector.getCPtr(val));
273 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
277 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_AddRange(swigCPtr, CpInt64VectorVector.getCPtr(values));
278 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
282 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.CpInt64VectorVector_GetRange(swigCPtr, index, count);
283 CpInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new CpInt64VectorVector(cPtr, true);
284 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
289 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Insert(swigCPtr, index, CpInt64Vector.getCPtr(x));
290 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
294 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_InsertRange(swigCPtr, index, CpInt64VectorVector.getCPtr(values));
295 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
300 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
304 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_RemoveRange(swigCPtr, index, count);
305 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
309 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Repeat(CpInt64Vector.getCPtr(value), count);
310 CpInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new CpInt64VectorVector(cPtr, true);
311 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
320 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Reverse__SWIG_1(swigCPtr, index, count);
321 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
325 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_SetRange(swigCPtr, index, CpInt64VectorVector.getCPtr(values));
void Clear()
Definition: CpInt64VectorVector.cs:225
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: CpInt64VectorVector.cs:164
CpInt64Vector[] ToArray()
Definition: CpInt64VectorVector.cs:141
void RemoveAt(int index)
Definition: CpInt64VectorVector.cs:298
static void CpInt64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CpInt64VectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr CpInt64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
CpInt64VectorVector GetRange(int index, int count)
Definition: CpInt64VectorVector.cs:281
static global::System.IntPtr CpInt64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void CopyTo(CpInt64Vector[] array, int arrayIndex)
Definition: CpInt64VectorVector.cs:118
void Dispose()
Definition: CpInt64VectorVector.cs:36
void CopyTo(CpInt64Vector[] array)
Definition: CpInt64VectorVector.cs:113
static bool Pending
bool IsSynchronized
Definition: CpInt64VectorVector.cs:107
CpInt64VectorVectorEnumerator GetEnumerator()
Definition: CpInt64VectorVector.cs:155
Definition: Assignment.cs:11
bool MoveNext()
Definition: CpInt64VectorVector.cs:199
void SetRange(int index, CpInt64VectorVector values)
Definition: CpInt64VectorVector.cs:324
static CpInt64VectorVector Repeat(CpInt64Vector value, int count)
Definition: CpInt64VectorVector.cs:308
bool IsFixedSize
Definition: CpInt64VectorVector.cs:69
int Capacity
Definition: CpInt64VectorVector.cs:90
void CopyTo(int index, CpInt64Vector[] array, int arrayIndex, int count)
Definition: CpInt64VectorVector.cs:123
void RemoveRange(int index, int count)
Definition: CpInt64VectorVector.cs:303
bool swigCMemOwn
Definition: CpInt64VectorVector.cs:21
static global::System.IntPtr CpInt64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
int Count
Definition: CpInt64VectorVector.cs:101
static void delete_CpInt64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Add
static void CpInt64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void CpInt64VectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static uint CpInt64VectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
CpInt64VectorVector(CpInt64VectorVector other)
Definition: CpInt64VectorVector.cs:251
CpInt64VectorVector(int capacity)
Definition: CpInt64VectorVector.cs:255
void Reset()
Definition: CpInt64VectorVector.cs:211
CpInt64VectorVector()
Definition: CpInt64VectorVector.cs:248
void Dispose()
Definition: CpInt64VectorVector.cs:219
void Reverse(int index, int count)
Definition: CpInt64VectorVector.cs:319
void Add(CpInt64Vector x)
Definition: CpInt64VectorVector.cs:229
CpInt64VectorVector(global::System.Collections.IEnumerable c)
Definition: CpInt64VectorVector.cs:53
CpInt64VectorVectorEnumerator(CpInt64VectorVector collection)
Definition: CpInt64VectorVector.cs:172
void InsertRange(int index, CpInt64VectorVector values)
Definition: CpInt64VectorVector.cs:293
static void CpInt64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void Insert(int index, CpInt64Vector x)
Definition: CpInt64VectorVector.cs:288
void AddRange(CpInt64VectorVector values)
Definition: CpInt64VectorVector.cs:276
static void CpInt64VectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CpInt64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void CpInt64VectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.Exception Retrieve()
CpInt64VectorVector(global::System.Collections.Generic.IEnumerable< CpInt64Vector > c)
Definition: CpInt64VectorVector.cs:61
static void CpInt64VectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void CpInt64VectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
bool IsReadOnly
Definition: CpInt64VectorVector.cs:75
virtual void Dispose(bool disposing)
Definition: CpInt64VectorVector.cs:41
CpInt64Vector Current
Definition: CpInt64VectorVector.cs:180
void Reverse()
Definition: CpInt64VectorVector.cs:315