DotNet Reference
DotNet Reference
SearchMonitorVector.cs
Go to the documentation of this file.
18 public partial class SearchMonitorVector : global::System.IDisposable, global::System.Collections.IEnumerable
29 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SearchMonitorVector 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<SearchMonitor> global::System.Collections.Generic.IEnumerable<SearchMonitor>.GetEnumerator() {
213 operations_research_constraint_solverPINVOKE.SearchMonitorVector_Add(swigCPtr, SearchMonitor.getCPtr(x));
230 public SearchMonitorVector() : this(operations_research_constraint_solverPINVOKE.new_SearchMonitorVector__SWIG_0(), true) {
233 public SearchMonitorVector(SearchMonitorVector other) : this(operations_research_constraint_solverPINVOKE.new_SearchMonitorVector__SWIG_1(SearchMonitorVector.getCPtr(other)), true) {
234 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
237 public SearchMonitorVector(int capacity) : this(operations_research_constraint_solverPINVOKE.new_SearchMonitorVector__SWIG_2(capacity), true) {
238 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
242 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SearchMonitorVector_getitemcopy(swigCPtr, index);
243 SearchMonitor ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchMonitor(cPtr, false);
244 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
249 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SearchMonitorVector_getitem(swigCPtr, index);
250 SearchMonitor ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchMonitor(cPtr, false);
251 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
256 operations_research_constraint_solverPINVOKE.SearchMonitorVector_setitem(swigCPtr, index, SearchMonitor.getCPtr(val));
257 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
261 operations_research_constraint_solverPINVOKE.SearchMonitorVector_AddRange(swigCPtr, SearchMonitorVector.getCPtr(values));
262 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
266 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SearchMonitorVector_GetRange(swigCPtr, index, count);
267 SearchMonitorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchMonitorVector(cPtr, true);
268 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
273 operations_research_constraint_solverPINVOKE.SearchMonitorVector_Insert(swigCPtr, index, SearchMonitor.getCPtr(x));
274 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
278 operations_research_constraint_solverPINVOKE.SearchMonitorVector_InsertRange(swigCPtr, index, SearchMonitorVector.getCPtr(values));
279 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
284 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
288 operations_research_constraint_solverPINVOKE.SearchMonitorVector_RemoveRange(swigCPtr, index, count);
289 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
293 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SearchMonitorVector_Repeat(SearchMonitor.getCPtr(value), count);
294 SearchMonitorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchMonitorVector(cPtr, true);
295 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
304 operations_research_constraint_solverPINVOKE.SearchMonitorVector_Reverse__SWIG_1(swigCPtr, index, count);
305 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
309 operations_research_constraint_solverPINVOKE.SearchMonitorVector_SetRange(swigCPtr, index, SearchMonitorVector.getCPtr(values));
310 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
314 bool ret = operations_research_constraint_solverPINVOKE.SearchMonitorVector_Contains(swigCPtr, SearchMonitor.getCPtr(value));
319 int ret = operations_research_constraint_solverPINVOKE.SearchMonitorVector_IndexOf(swigCPtr, SearchMonitor.getCPtr(value));
324 int ret = operations_research_constraint_solverPINVOKE.SearchMonitorVector_LastIndexOf(swigCPtr, SearchMonitor.getCPtr(value));
329 bool ret = operations_research_constraint_solverPINVOKE.SearchMonitorVector_Remove(swigCPtr, SearchMonitor.getCPtr(value));
SearchMonitorVectorEnumerator(SearchMonitorVector collection)
Definition: SearchMonitorVector.cs:155
int IndexOf(SearchMonitor value)
Definition: SearchMonitorVector.cs:318
int Capacity
Definition: SearchMonitorVector.cs:79
static global::System.IntPtr SearchMonitorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void SearchMonitorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
SearchMonitorVector()
Definition: SearchMonitorVector.cs:230
void RemoveAt(int index)
Definition: SearchMonitorVector.cs:282
static void SearchMonitorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
int LastIndexOf(SearchMonitor value)
Definition: SearchMonitorVector.cs:323
SearchMonitorVector GetRange(int index, int count)
Definition: SearchMonitorVector.cs:265
void Reverse()
Definition: SearchMonitorVector.cs:299
static bool Pending
void Dispose()
Definition: SearchMonitorVector.cs:202
bool IsSynchronized
Definition: SearchMonitorVector.cs:96
Definition: Assignment.cs:11
static bool SearchMonitorVector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: SearchMonitorVector.cs:147
static void delete_SearchMonitorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(SearchMonitor[] array)
Definition: SearchMonitorVector.cs:102
virtual void Dispose()
Definition: SearchMonitorVector.cs:37
void InsertRange(int index, SearchMonitorVector values)
Definition: SearchMonitorVector.cs:277
bool swigCMemOwn
Definition: SearchMonitorVector.cs:22
static SearchMonitorVector Repeat(SearchMonitor value, int count)
Definition: SearchMonitorVector.cs:292
static uint SearchMonitorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(int index, SearchMonitor[] array, int arrayIndex, int count)
Definition: SearchMonitorVector.cs:112
static int SearchMonitorVector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void SearchMonitorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void Add(SearchMonitor x)
Definition: SearchMonitorVector.cs:212
void RemoveRange(int index, int count)
Definition: SearchMonitorVector.cs:287
SearchMonitor Current
Definition: SearchMonitorVector.cs:163
SearchMonitorVector(global::System.Collections.ICollection c)
Definition: SearchMonitorVector.cs:50
bool Remove(SearchMonitor value)
Definition: SearchMonitorVector.cs:328
void AddRange(SearchMonitorVector values)
Definition: SearchMonitorVector.cs:260
static global::System.IntPtr SearchMonitorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
SearchMonitorVectorEnumerator GetEnumerator()
Definition: SearchMonitorVector.cs:138
bool IsFixedSize
Definition: SearchMonitorVector.cs:58
static void SearchMonitorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static bool SearchMonitorVector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool MoveNext()
Definition: SearchMonitorVector.cs:182
void Insert(int index, SearchMonitor x)
Definition: SearchMonitorVector.cs:272
void CopyTo(SearchMonitor[] array, int arrayIndex)
Definition: SearchMonitorVector.cs:107
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.SearchMonitorVector_Add
static void SearchMonitorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
bool IsReadOnly
Definition: SearchMonitorVector.cs:64
bool Contains(SearchMonitor value)
Definition: SearchMonitorVector.cs:313
static void SearchMonitorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void SetRange(int index, SearchMonitorVector values)
Definition: SearchMonitorVector.cs:308
static void SearchMonitorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void Clear()
Definition: SearchMonitorVector.cs:208
static global::System.IntPtr SearchMonitorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Reset()
Definition: SearchMonitorVector.cs:194
SearchMonitorVector(SearchMonitorVector other)
Definition: SearchMonitorVector.cs:233
SearchMonitorVector(int capacity)
Definition: SearchMonitorVector.cs:237
static void SearchMonitorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.Exception Retrieve()
static int SearchMonitorVector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
void Reverse(int index, int count)
Definition: SearchMonitorVector.cs:303
int Count
Definition: SearchMonitorVector.cs:90
static void SearchMonitorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void SearchMonitorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)