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
29 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CpInt64VectorVector obj) {
30 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
44 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
130 global::System.Collections.Generic.IEnumerator<CpInt64Vector> global::System.Collections.Generic.IEnumerable<CpInt64Vector>.GetEnumerator() {
213 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Add(swigCPtr, CpInt64Vector.getCPtr(x));
214 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
231 public CpInt64VectorVector() : this(operations_research_constraint_solverPINVOKE.new_CpInt64VectorVector__SWIG_0(), true) {
234 public CpInt64VectorVector(CpInt64VectorVector other) : this(operations_research_constraint_solverPINVOKE.new_CpInt64VectorVector__SWIG_1(CpInt64VectorVector.getCPtr(other)), true) {
235 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
238 public CpInt64VectorVector(int capacity) : this(operations_research_constraint_solverPINVOKE.new_CpInt64VectorVector__SWIG_2(capacity), true) {
239 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
243 CpInt64Vector ret = new CpInt64Vector(operations_research_constraint_solverPINVOKE.CpInt64VectorVector_getitemcopy(swigCPtr, index), true);
244 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
249 CpInt64Vector ret = new CpInt64Vector(operations_research_constraint_solverPINVOKE.CpInt64VectorVector_getitem(swigCPtr, index), false);
250 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
255 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_setitem(swigCPtr, index, CpInt64Vector.getCPtr(val));
256 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
260 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_AddRange(swigCPtr, CpInt64VectorVector.getCPtr(values));
261 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
265 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.CpInt64VectorVector_GetRange(swigCPtr, index, count);
266 CpInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new CpInt64VectorVector(cPtr, true);
267 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
272 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Insert(swigCPtr, index, CpInt64Vector.getCPtr(x));
273 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
277 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_InsertRange(swigCPtr, index, CpInt64VectorVector.getCPtr(values));
278 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
283 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
287 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_RemoveRange(swigCPtr, index, count);
288 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
292 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Repeat(CpInt64Vector.getCPtr(value), count);
293 CpInt64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new CpInt64VectorVector(cPtr, true);
294 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
303 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_Reverse__SWIG_1(swigCPtr, index, count);
304 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
308 operations_research_constraint_solverPINVOKE.CpInt64VectorVector_SetRange(swigCPtr, index, CpInt64VectorVector.getCPtr(values));
void Clear()
Definition: CpInt64VectorVector.cs:208
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: CpInt64VectorVector.cs:147
void RemoveAt(int index)
Definition: CpInt64VectorVector.cs:281
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:264
static global::System.IntPtr CpInt64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
CpInt64VectorVector(global::System.Collections.ICollection c)
Definition: CpInt64VectorVector.cs:50
void CopyTo(CpInt64Vector[] array, int arrayIndex)
Definition: CpInt64VectorVector.cs:107
void CopyTo(CpInt64Vector[] array)
Definition: CpInt64VectorVector.cs:102
static bool Pending
bool IsSynchronized
Definition: CpInt64VectorVector.cs:96
CpInt64VectorVectorEnumerator GetEnumerator()
Definition: CpInt64VectorVector.cs:138
Definition: Assignment.cs:11
bool MoveNext()
Definition: CpInt64VectorVector.cs:182
void SetRange(int index, CpInt64VectorVector values)
Definition: CpInt64VectorVector.cs:307
static CpInt64VectorVector Repeat(CpInt64Vector value, int count)
Definition: CpInt64VectorVector.cs:291
bool IsFixedSize
Definition: CpInt64VectorVector.cs:58
int Capacity
Definition: CpInt64VectorVector.cs:79
void CopyTo(int index, CpInt64Vector[] array, int arrayIndex, int count)
Definition: CpInt64VectorVector.cs:112
void RemoveRange(int index, int count)
Definition: CpInt64VectorVector.cs:286
bool swigCMemOwn
Definition: CpInt64VectorVector.cs:22
static global::System.IntPtr CpInt64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
int Count
Definition: CpInt64VectorVector.cs:90
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:234
CpInt64VectorVector(int capacity)
Definition: CpInt64VectorVector.cs:238
void Reset()
Definition: CpInt64VectorVector.cs:194
CpInt64VectorVector()
Definition: CpInt64VectorVector.cs:231
void Dispose()
Definition: CpInt64VectorVector.cs:202
void Reverse(int index, int count)
Definition: CpInt64VectorVector.cs:302
void Add(CpInt64Vector x)
Definition: CpInt64VectorVector.cs:212
virtual void Dispose()
Definition: CpInt64VectorVector.cs:37
CpInt64VectorVectorEnumerator(CpInt64VectorVector collection)
Definition: CpInt64VectorVector.cs:155
void InsertRange(int index, CpInt64VectorVector values)
Definition: CpInt64VectorVector.cs:276
static void CpInt64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
void Insert(int index, CpInt64Vector x)
Definition: CpInt64VectorVector.cs:271
void AddRange(CpInt64VectorVector values)
Definition: CpInt64VectorVector.cs:259
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()
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:64
CpInt64Vector Current
Definition: CpInt64VectorVector.cs:163
void Reverse()
Definition: CpInt64VectorVector.cs:298