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, global::System.Collections.Generic.IList<SearchMonitor>
28 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SearchMonitorVector 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 SearchMonitorVector(global::System.Collections.Generic.IEnumerable<SearchMonitor> c) : this() {
147 global::System.Collections.Generic.IEnumerator<SearchMonitor> global::System.Collections.Generic.IEnumerable<SearchMonitor>.GetEnumerator() {
230 operations_research_constraint_solverPINVOKE.SearchMonitorVector_Add(swigCPtr, SearchMonitor.getCPtr(x));
247 public SearchMonitorVector() : this(operations_research_constraint_solverPINVOKE.new_SearchMonitorVector__SWIG_0(), true) {
250 public SearchMonitorVector(SearchMonitorVector other) : this(operations_research_constraint_solverPINVOKE.new_SearchMonitorVector__SWIG_1(SearchMonitorVector.getCPtr(other)), true) {
251 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
254 public SearchMonitorVector(int capacity) : this(operations_research_constraint_solverPINVOKE.new_SearchMonitorVector__SWIG_2(capacity), true) {
255 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
259 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SearchMonitorVector_getitemcopy(swigCPtr, index);
260 SearchMonitor ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchMonitor(cPtr, false);
261 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
266 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SearchMonitorVector_getitem(swigCPtr, index);
267 SearchMonitor ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchMonitor(cPtr, false);
268 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
273 operations_research_constraint_solverPINVOKE.SearchMonitorVector_setitem(swigCPtr, index, SearchMonitor.getCPtr(val));
274 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
278 operations_research_constraint_solverPINVOKE.SearchMonitorVector_AddRange(swigCPtr, SearchMonitorVector.getCPtr(values));
279 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
283 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SearchMonitorVector_GetRange(swigCPtr, index, count);
284 SearchMonitorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchMonitorVector(cPtr, true);
285 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
290 operations_research_constraint_solverPINVOKE.SearchMonitorVector_Insert(swigCPtr, index, SearchMonitor.getCPtr(x));
291 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
295 operations_research_constraint_solverPINVOKE.SearchMonitorVector_InsertRange(swigCPtr, index, SearchMonitorVector.getCPtr(values));
296 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
301 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
305 operations_research_constraint_solverPINVOKE.SearchMonitorVector_RemoveRange(swigCPtr, index, count);
306 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
310 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.SearchMonitorVector_Repeat(SearchMonitor.getCPtr(value), count);
311 SearchMonitorVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new SearchMonitorVector(cPtr, true);
312 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
321 operations_research_constraint_solverPINVOKE.SearchMonitorVector_Reverse__SWIG_1(swigCPtr, index, count);
322 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
326 operations_research_constraint_solverPINVOKE.SearchMonitorVector_SetRange(swigCPtr, index, SearchMonitorVector.getCPtr(values));
327 if (operations_research_constraint_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_constraint_solverPINVOKE.SWIGPendingException.Retrieve();
331 bool ret = operations_research_constraint_solverPINVOKE.SearchMonitorVector_Contains(swigCPtr, SearchMonitor.getCPtr(value));
336 int ret = operations_research_constraint_solverPINVOKE.SearchMonitorVector_IndexOf(swigCPtr, SearchMonitor.getCPtr(value));
341 int ret = operations_research_constraint_solverPINVOKE.SearchMonitorVector_LastIndexOf(swigCPtr, SearchMonitor.getCPtr(value));
346 bool ret = operations_research_constraint_solverPINVOKE.SearchMonitorVector_Remove(swigCPtr, SearchMonitor.getCPtr(value));
SearchMonitorVectorEnumerator(SearchMonitorVector collection)
Definition: SearchMonitorVector.cs:172
int IndexOf(SearchMonitor value)
Definition: SearchMonitorVector.cs:335
int Capacity
Definition: SearchMonitorVector.cs:90
static global::System.IntPtr SearchMonitorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
SearchMonitorVector(global::System.Collections.IEnumerable c)
Definition: SearchMonitorVector.cs:53
static void SearchMonitorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
SearchMonitorVector()
Definition: SearchMonitorVector.cs:247
void RemoveAt(int index)
Definition: SearchMonitorVector.cs:299
static void SearchMonitorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
SearchMonitorVector(global::System.Collections.Generic.IEnumerable< SearchMonitor > c)
Definition: SearchMonitorVector.cs:61
int LastIndexOf(SearchMonitor value)
Definition: SearchMonitorVector.cs:340
SearchMonitorVector GetRange(int index, int count)
Definition: SearchMonitorVector.cs:282
void Reverse()
Definition: SearchMonitorVector.cs:316
static bool Pending
void Dispose()
Definition: SearchMonitorVector.cs:219
bool IsSynchronized
Definition: SearchMonitorVector.cs:107
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:166
static void delete_SearchMonitorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(SearchMonitor[] array)
Definition: SearchMonitorVector.cs:113
void InsertRange(int index, SearchMonitorVector values)
Definition: SearchMonitorVector.cs:294
bool swigCMemOwn
Definition: SearchMonitorVector.cs:21
static SearchMonitorVector Repeat(SearchMonitor value, int count)
Definition: SearchMonitorVector.cs:309
static uint SearchMonitorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
void CopyTo(int index, SearchMonitor[] array, int arrayIndex, int count)
Definition: SearchMonitorVector.cs:123
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:229
void RemoveRange(int index, int count)
Definition: SearchMonitorVector.cs:304
SearchMonitor Current
Definition: SearchMonitorVector.cs:180
bool Remove(SearchMonitor value)
Definition: SearchMonitorVector.cs:345
void AddRange(SearchMonitorVector values)
Definition: SearchMonitorVector.cs:277
static global::System.IntPtr SearchMonitorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
SearchMonitorVectorEnumerator GetEnumerator()
Definition: SearchMonitorVector.cs:155
bool IsFixedSize
Definition: SearchMonitorVector.cs:69
SearchMonitor[] ToArray()
Definition: SearchMonitorVector.cs:141
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:199
void Insert(int index, SearchMonitor x)
Definition: SearchMonitorVector.cs:289
void CopyTo(SearchMonitor[] array, int arrayIndex)
Definition: SearchMonitorVector.cs:118
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:75
bool Contains(SearchMonitor value)
Definition: SearchMonitorVector.cs:330
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:325
static void SearchMonitorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
void Clear()
Definition: SearchMonitorVector.cs:225
static global::System.IntPtr SearchMonitorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void Dispose()
Definition: SearchMonitorVector.cs:36
virtual void Dispose(bool disposing)
Definition: SearchMonitorVector.cs:41
void Reset()
Definition: SearchMonitorVector.cs:211
SearchMonitorVector(SearchMonitorVector other)
Definition: SearchMonitorVector.cs:250
SearchMonitorVector(int capacity)
Definition: SearchMonitorVector.cs:254
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:320
int Count
Definition: SearchMonitorVector.cs:101
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)