DotNet Reference
DotNet Reference
constraint_solver/Int64VectorVector.cs
Go to the documentation of this file.
18 public class Int64VectorVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable<Int64Vector>
28 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Int64VectorVector 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 Int64VectorVector(global::System.Collections.Generic.IEnumerable<Int64Vector> c) : this() {
147 global::System.Collections.Generic.IEnumerator<Int64Vector> global::System.Collections.Generic.IEnumerable<Int64Vector>.GetEnumerator() {
230 operations_research_constraint_solverPINVOKE.Int64VectorVector_Add(swigCPtr, Int64Vector.getCPtr(x));
231 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
248 public Int64VectorVector() : this(operations_research_constraint_solverPINVOKE.new_Int64VectorVector__SWIG_0(), true) {
251 public Int64VectorVector(Int64VectorVector other) : this(operations_research_constraint_solverPINVOKE.new_Int64VectorVector__SWIG_1(Int64VectorVector.getCPtr(other)), true) {
252 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
255 public Int64VectorVector(int capacity) : this(operations_research_constraint_solverPINVOKE.new_Int64VectorVector__SWIG_2(capacity), true) {
256 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
260 Int64Vector ret = new Int64Vector(operations_research_constraint_solverPINVOKE.Int64VectorVector_getitemcopy(swigCPtr, index), true);
261 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
266 Int64Vector ret = new Int64Vector(operations_research_constraint_solverPINVOKE.Int64VectorVector_getitem(swigCPtr, index), false);
267 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
272 operations_research_constraint_solverPINVOKE.Int64VectorVector_setitem(swigCPtr, index, Int64Vector.getCPtr(val));
273 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
277 operations_research_constraint_solverPINVOKE.Int64VectorVector_AddRange(swigCPtr, Int64VectorVector.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.Int64VectorVector_GetRange(swigCPtr, index, count);
283 Int64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new Int64VectorVector(cPtr, true);
284 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
289 operations_research_constraint_solverPINVOKE.Int64VectorVector_Insert(swigCPtr, index, Int64Vector.getCPtr(x));
290 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
294 operations_research_constraint_solverPINVOKE.Int64VectorVector_InsertRange(swigCPtr, index, Int64VectorVector.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.Int64VectorVector_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.Int64VectorVector_Repeat(Int64Vector.getCPtr(value), count);
310 Int64VectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new Int64VectorVector(cPtr, true);
311 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
320 operations_research_constraint_solverPINVOKE.Int64VectorVector_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.Int64VectorVector_SetRange(swigCPtr, index, Int64VectorVector.getCPtr(values));
int Capacity
Definition: constraint_solver/Int64VectorVector.cs:90
bool IsReadOnly
Definition: constraint_solver/Int64VectorVector.cs:75
Int64VectorVector GetRange(int index, int count)
Definition: constraint_solver/Int64VectorVector.cs:281
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: constraint_solver/Int64VectorVector.cs:166
Int64VectorVector(Int64VectorVector other)
Definition: constraint_solver/Int64VectorVector.cs:251
static uint Int64VectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
Int64VectorVectorEnumerator GetEnumerator()
Definition: constraint_solver/Int64VectorVector.cs:155
int Count
Definition: constraint_solver/Int64VectorVector.cs:101
void Dispose()
Definition: constraint_solver/Int64VectorVector.cs:36
static void Int64VectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.Int64VectorVector_Clear
static void Int64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
Int64Vector Current
Definition: constraint_solver/Int64VectorVector.cs:180
static global::System.IntPtr Int64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
Int64VectorVector(global::System.Collections.Generic.IEnumerable< Int64Vector > c)
Definition: constraint_solver/Int64VectorVector.cs:61
void Reverse()
Definition: constraint_solver/Int64VectorVector.cs:315
static bool Pending
Int64VectorVectorEnumerator(Int64VectorVector collection)
Definition: constraint_solver/Int64VectorVector.cs:172
Definition: Assignment.cs:11
void Reverse(int index, int count)
Definition: constraint_solver/Int64VectorVector.cs:319
static void Int64VectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
Int64VectorVector(global::System.Collections.IEnumerable c)
Definition: constraint_solver/Int64VectorVector.cs:53
void Add(Int64Vector x)
Definition: constraint_solver/Int64VectorVector.cs:229
static void Int64VectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
Int64Vector[] ToArray()
Definition: constraint_solver/Int64VectorVector.cs:141
static void Int64VectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static Int64VectorVector Repeat(Int64Vector value, int count)
Definition: constraint_solver/Int64VectorVector.cs:308
static void delete_Int64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
void Clear()
Definition: constraint_solver/Int64VectorVector.cs:225
static void Int64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void Int64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Dispose()
Definition: constraint_solver/Int64VectorVector.cs:219
void RemoveRange(int index, int count)
Definition: constraint_solver/Int64VectorVector.cs:303
Definition: constraint_solver/Int64VectorVector.cs:19
void CopyTo(Int64Vector[] array, int arrayIndex)
Definition: constraint_solver/Int64VectorVector.cs:118
void CopyTo(int index, Int64Vector[] array, int arrayIndex, int count)
Definition: constraint_solver/Int64VectorVector.cs:123
void InsertRange(int index, Int64VectorVector values)
Definition: constraint_solver/Int64VectorVector.cs:293
bool MoveNext()
Definition: constraint_solver/Int64VectorVector.cs:199
void RemoveAt(int index)
Definition: constraint_solver/Int64VectorVector.cs:298
void CopyTo(Int64Vector[] array)
Definition: constraint_solver/Int64VectorVector.cs:113
static void Int64VectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
bool IsSynchronized
Definition: constraint_solver/Int64VectorVector.cs:107
Int64VectorVector(int capacity)
Definition: constraint_solver/Int64VectorVector.cs:255
static void Int64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Reset()
Definition: constraint_solver/Int64VectorVector.cs:211
void SetRange(int index, Int64VectorVector values)
Definition: constraint_solver/Int64VectorVector.cs:324
bool IsFixedSize
Definition: constraint_solver/Int64VectorVector.cs:69
virtual void Dispose(bool disposing)
Definition: constraint_solver/Int64VectorVector.cs:41
static global::System.IntPtr Int64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
Int64VectorVector()
Definition: constraint_solver/Int64VectorVector.cs:248
static global::System.Exception Retrieve()
static global::System.IntPtr Int64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Insert(int index, Int64Vector x)
Definition: constraint_solver/Int64VectorVector.cs:288
static void Int64VectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void AddRange(Int64VectorVector values)
Definition: constraint_solver/Int64VectorVector.cs:276
bool swigCMemOwn
Definition: constraint_solver/Int64VectorVector.cs:21