DotNet Reference
DotNet Reference
constraint_solver/IntVectorVector.cs
Go to the documentation of this file.
18 public class IntVectorVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable<IntVector>
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);
147 global::System.Collections.Generic.IEnumerator<IntVector> global::System.Collections.Generic.IEnumerable<IntVector>.GetEnumerator() {
230 operations_research_constraint_solverPINVOKE.IntVectorVector_Add(swigCPtr, IntVector.getCPtr(x));
231 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
248 public IntVectorVector() : this(operations_research_constraint_solverPINVOKE.new_IntVectorVector__SWIG_0(), true) {
251 public IntVectorVector(IntVectorVector other) : this(operations_research_constraint_solverPINVOKE.new_IntVectorVector__SWIG_1(IntVectorVector.getCPtr(other)), true) {
252 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
255 public IntVectorVector(int capacity) : this(operations_research_constraint_solverPINVOKE.new_IntVectorVector__SWIG_2(capacity), true) {
256 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
260 IntVector ret = new IntVector(operations_research_constraint_solverPINVOKE.IntVectorVector_getitemcopy(swigCPtr, index), true);
261 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
266 IntVector ret = new IntVector(operations_research_constraint_solverPINVOKE.IntVectorVector_getitem(swigCPtr, index), false);
267 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
272 operations_research_constraint_solverPINVOKE.IntVectorVector_setitem(swigCPtr, index, IntVector.getCPtr(val));
273 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
277 operations_research_constraint_solverPINVOKE.IntVectorVector_AddRange(swigCPtr, IntVectorVector.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.IntVectorVector_GetRange(swigCPtr, index, count);
283 IntVectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVectorVector(cPtr, true);
284 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
289 operations_research_constraint_solverPINVOKE.IntVectorVector_Insert(swigCPtr, index, IntVector.getCPtr(x));
290 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
294 operations_research_constraint_solverPINVOKE.IntVectorVector_InsertRange(swigCPtr, index, IntVectorVector.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.IntVectorVector_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.IntVectorVector_Repeat(IntVector.getCPtr(value), count);
310 IntVectorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntVectorVector(cPtr, true);
311 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
320 operations_research_constraint_solverPINVOKE.IntVectorVector_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.IntVectorVector_SetRange(swigCPtr, index, IntVectorVector.getCPtr(values));
IntVectorVector GetRange(int index, int count)
Definition: constraint_solver/IntVectorVector.cs:281
void CopyTo(IntVector[] array, int arrayIndex)
Definition: constraint_solver/IntVectorVector.cs:118
void RemoveAt(int index)
Definition: constraint_solver/IntVectorVector.cs:298
void RemoveRange(int index, int count)
Definition: constraint_solver/IntVectorVector.cs:303
IntVectorVectorEnumerator(IntVectorVector collection)
Definition: constraint_solver/IntVectorVector.cs:172
void CopyTo(int index, IntVector[] array, int arrayIndex, int count)
Definition: constraint_solver/IntVectorVector.cs:123
static global::System.IntPtr IntVectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool Pending
void SetRange(int index, IntVectorVector values)
Definition: constraint_solver/IntVectorVector.cs:324
int Capacity
Definition: constraint_solver/IntVectorVector.cs:90
Definition: Assignment.cs:11
virtual void Dispose(bool disposing)
Definition: constraint_solver/IntVectorVector.cs:41
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: constraint_solver/IntVectorVector.cs:166
bool IsReadOnly
Definition: constraint_solver/IntVectorVector.cs:75
static void IntVectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(IntVector[] array)
Definition: constraint_solver/IntVectorVector.cs:113
static void IntVectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
IntVectorVectorEnumerator GetEnumerator()
Definition: constraint_solver/IntVectorVector.cs:155
static void IntVectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
IntVector[] ToArray()
Definition: constraint_solver/IntVectorVector.cs:141
void Insert(int index, IntVector x)
Definition: constraint_solver/IntVectorVector.cs:288
static void IntVectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
IntVectorVector(global::System.Collections.Generic.IEnumerable< IntVector > c)
Definition: constraint_solver/IntVectorVector.cs:61
void AddRange(IntVectorVector values)
Definition: constraint_solver/IntVectorVector.cs:276
static void delete_IntVectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
bool IsSynchronized
Definition: constraint_solver/IntVectorVector.cs:107
static void IntVectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr IntVectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void Dispose()
Definition: constraint_solver/IntVectorVector.cs:219
void InsertRange(int index, IntVectorVector values)
Definition: constraint_solver/IntVectorVector.cs:293
void Reverse()
Definition: constraint_solver/IntVectorVector.cs:315
IntVectorVector()
Definition: constraint_solver/IntVectorVector.cs:248
IntVectorVector(global::System.Collections.IEnumerable c)
Definition: constraint_solver/IntVectorVector.cs:53
bool swigCMemOwn
Definition: constraint_solver/IntVectorVector.cs:21
bool IsFixedSize
Definition: constraint_solver/IntVectorVector.cs:69
int Count
Definition: constraint_solver/IntVectorVector.cs:101
IntVector Current
Definition: constraint_solver/IntVectorVector.cs:180
static global::System.IntPtr IntVectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void IntVectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static IntVectorVector Repeat(IntVector value, int count)
Definition: constraint_solver/IntVectorVector.cs:308
void Reverse(int index, int count)
Definition: constraint_solver/IntVectorVector.cs:319
static void IntVectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void IntVectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void Add(IntVector x)
Definition: constraint_solver/IntVectorVector.cs:229
void Clear()
Definition: constraint_solver/IntVectorVector.cs:225
static global::System.Exception Retrieve()
void Reset()
Definition: constraint_solver/IntVectorVector.cs:211
bool MoveNext()
Definition: constraint_solver/IntVectorVector.cs:199
static uint IntVectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
void Dispose()
Definition: constraint_solver/IntVectorVector.cs:36
IntVectorVector(IntVectorVector other)
Definition: constraint_solver/IntVectorVector.cs:251
IntVectorVector(int capacity)
Definition: constraint_solver/IntVectorVector.cs:255
static void IntVectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void IntVectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)