DotNet Reference
DotNet Reference
linear_solver/Int64Vector.cs
Go to the documentation of this file.
13 public class Int64Vector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IList<long>
24 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);
142 global::System.Collections.Generic.IEnumerator<long> global::System.Collections.Generic.IEnumerable<long>.GetEnumerator() {
242 public Int64Vector() : this(operations_research_linear_solverPINVOKE.new_Int64Vector__SWIG_0(), true) {
245 public Int64Vector(Int64Vector other) : this(operations_research_linear_solverPINVOKE.new_Int64Vector__SWIG_1(Int64Vector.getCPtr(other)), true) {
246 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
249 public Int64Vector(int capacity) : this(operations_research_linear_solverPINVOKE.new_Int64Vector__SWIG_2(capacity), true) {
250 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
255 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
261 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
267 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
271 operations_research_linear_solverPINVOKE.Int64Vector_AddRange(swigCPtr, Int64Vector.getCPtr(values));
272 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
276 global::System.IntPtr cPtr = operations_research_linear_solverPINVOKE.Int64Vector_GetRange(swigCPtr, index, count);
278 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
284 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
288 operations_research_linear_solverPINVOKE.Int64Vector_InsertRange(swigCPtr, index, Int64Vector.getCPtr(values));
289 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
294 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
299 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
303 global::System.IntPtr cPtr = operations_research_linear_solverPINVOKE.Int64Vector_Repeat(value, count);
305 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
315 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
319 operations_research_linear_solverPINVOKE.Int64Vector_SetRange(swigCPtr, index, Int64Vector.getCPtr(values));
void CopyTo(int index, long[] array, int arrayIndex, int count)
Definition: linear_solver/Int64Vector.cs:118
Int64VectorEnumerator(Int64Vector collection)
Definition: linear_solver/Int64Vector.cs:167
void CopyTo(long[] array, int arrayIndex)
Definition: linear_solver/Int64Vector.cs:113
int LastIndexOf(long value)
Definition: linear_solver/Int64Vector.cs:333
void CopyTo(long[] array)
Definition: linear_solver/Int64Vector.cs:108
void Add(long x)
Definition: linear_solver/Int64Vector.cs:224
bool MoveNext()
Definition: linear_solver/Int64Vector.cs:194
void Insert(int index, long x)
Definition: linear_solver/Int64Vector.cs:282
Int64Vector(global::System.Collections.Generic.IEnumerable< long > c)
Definition: linear_solver/Int64Vector.cs:56
Int64Vector GetRange(int index, int count)
Definition: linear_solver/Int64Vector.cs:275
void RemoveAt(int index)
Definition: linear_solver/Int64Vector.cs:292
void Dispose()
Definition: linear_solver/Int64Vector.cs:31
static void Int64Vector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void Int64Vector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void Dispose()
Definition: linear_solver/Int64Vector.cs:214
bool IsReadOnly
Definition: linear_solver/Int64Vector.cs:70
static global::System.IntPtr Int64Vector_Repeat(long jarg1, int jarg2)
void SetRange(int index, Int64Vector values)
Definition: linear_solver/Int64Vector.cs:318
static bool Pending
Definition: operations_research_linear_solverPINVOKE.cs:133
static void Int64Vector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static long Int64Vector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static Int64Vector Repeat(long value, int count)
Definition: linear_solver/Int64Vector.cs:302
int IndexOf(long value)
Definition: linear_solver/Int64Vector.cs:328
static bool Int64Vector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
Definition: operations_research_linear_solverPINVOKE.cs:13
void Reverse(int index, int count)
Definition: linear_solver/Int64Vector.cs:313
static void Int64Vector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
void Reset()
Definition: linear_solver/Int64Vector.cs:206
bool Contains(long value)
Definition: linear_solver/Int64Vector.cs:323
static void Int64Vector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void Int64Vector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void Int64Vector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool Int64Vector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
void Reverse()
Definition: linear_solver/Int64Vector.cs:309
static void Int64Vector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static uint Int64Vector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Vector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
long[] ToArray()
Definition: linear_solver/Int64Vector.cs:136
void RemoveRange(int index, int count)
Definition: linear_solver/Int64Vector.cs:297
static void Int64Vector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
Definition: operations_research_linear_solverPINVOKE.cs:127
void AddRange(Int64Vector values)
Definition: linear_solver/Int64Vector.cs:270
static void delete_Int64Vector(global::System.Runtime.InteropServices.HandleRef jarg1)
bool IsFixedSize
Definition: linear_solver/Int64Vector.cs:64
long Current
Definition: linear_solver/Int64Vector.cs:175
Int64VectorEnumerator GetEnumerator()
Definition: linear_solver/Int64Vector.cs:150
bool swigCMemOwn
Definition: linear_solver/Int64Vector.cs:16
Int64Vector(int capacity)
Definition: linear_solver/Int64Vector.cs:249
bool Remove(long value)
Definition: linear_solver/Int64Vector.cs:338
virtual void Dispose(bool disposing)
Definition: linear_solver/Int64Vector.cs:36
static global::System.IntPtr Int64Vector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.Exception Retrieve()
Definition: operations_research_linear_solverPINVOKE.cs:152
void Clear()
Definition: linear_solver/Int64Vector.cs:220
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: linear_solver/Int64Vector.cs:161
bool IsSynchronized
Definition: linear_solver/Int64Vector.cs:102
static int Int64Vector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
int Capacity
Definition: linear_solver/Int64Vector.cs:85
static int Int64Vector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
Int64Vector(global::System.Collections.IEnumerable c)
Definition: linear_solver/Int64Vector.cs:48
Int64Vector()
Definition: linear_solver/Int64Vector.cs:242
void InsertRange(int index, Int64Vector values)
Definition: linear_solver/Int64Vector.cs:287
Int64Vector(Int64Vector other)
Definition: linear_solver/Int64Vector.cs:245