Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research_utilPINVOKE.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (https://www.swig.org).
5// Version 4.3.0
6//
7// Do not make changes to this file unless you know what you are doing - modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
11namespace Google.OrTools.Util {
12
14
15 protected class SWIGExceptionHelper {
16
17 public delegate void ExceptionDelegate(string message);
18 public delegate void ExceptionArgumentDelegate(string message, string paramName);
20 static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException);
21 static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException);
22 static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException);
23 static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException);
24 static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException);
25 static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException);
26 static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException);
27 static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException);
28 static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException);
29 static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException);
30 static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException);
31
32 static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException);
33 static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException);
34 static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException);
35
36 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="SWIGRegisterExceptionCallbacks_operations_research_util")]
38 ExceptionDelegate applicationDelegate,
39 ExceptionDelegate arithmeticDelegate,
40 ExceptionDelegate divideByZeroDelegate,
41 ExceptionDelegate indexOutOfRangeDelegate,
42 ExceptionDelegate invalidCastDelegate,
43 ExceptionDelegate invalidOperationDelegate,
44 ExceptionDelegate ioDelegate,
45 ExceptionDelegate nullReferenceDelegate,
46 ExceptionDelegate outOfMemoryDelegate,
47 ExceptionDelegate overflowDelegate,
48 ExceptionDelegate systemExceptionDelegate);
49
50 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_operations_research_util")]
52 ExceptionArgumentDelegate argumentDelegate,
53 ExceptionArgumentDelegate argumentNullDelegate,
54 ExceptionArgumentDelegate argumentOutOfRangeDelegate);
55
56 static void SetPendingApplicationException(string message) {
57 SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve()));
58 }
59 static void SetPendingArithmeticException(string message) {
60 SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve()));
61 }
62 static void SetPendingDivideByZeroException(string message) {
63 SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve()));
64 }
65 static void SetPendingIndexOutOfRangeException(string message) {
66 SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve()));
67 }
68 static void SetPendingInvalidCastException(string message) {
69 SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve()));
70 }
71 static void SetPendingInvalidOperationException(string message) {
72 SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve()));
73 }
74 static void SetPendingIOException(string message) {
75 SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve()));
76 }
77 static void SetPendingNullReferenceException(string message) {
78 SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve()));
79 }
80 static void SetPendingOutOfMemoryException(string message) {
81 SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve()));
82 }
83 static void SetPendingOverflowException(string message) {
84 SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve()));
85 }
86 static void SetPendingSystemException(string message) {
87 SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve()));
88 }
89
90 static void SetPendingArgumentException(string message, string paramName) {
91 SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve()));
92 }
93 static void SetPendingArgumentNullException(string message, string paramName) {
94 global::System.Exception e = SWIGPendingException.Retrieve();
95 if (e != null) message = message + " Inner Exception: " + e.Message;
96 SWIGPendingException.Set(new global::System.ArgumentNullException(paramName, message));
97 }
98 static void SetPendingArgumentOutOfRangeException(string message, string paramName) {
99 global::System.Exception e = SWIGPendingException.Retrieve();
100 if (e != null) message = message + " Inner Exception: " + e.Message;
101 SWIGPendingException.Set(new global::System.ArgumentOutOfRangeException(paramName, message));
102 }
103
104 static SWIGExceptionHelper() {
106 applicationDelegate,
107 arithmeticDelegate,
108 divideByZeroDelegate,
109 indexOutOfRangeDelegate,
110 invalidCastDelegate,
111 invalidOperationDelegate,
112 ioDelegate,
113 nullReferenceDelegate,
114 outOfMemoryDelegate,
115 overflowDelegate,
116 systemDelegate);
117
119 argumentDelegate,
120 argumentNullDelegate,
121 argumentOutOfRangeDelegate);
122 }
123 }
124
126
127 public class SWIGPendingException {
128 [global::System.ThreadStatic]
129 private static global::System.Exception pendingException = null;
130 private static int numExceptionsPending = 0;
131 private static global::System.Object exceptionsLock = null;
132
133 public static bool Pending {
134 get {
135 bool pending = false;
136 if (numExceptionsPending > 0)
137 if (pendingException != null)
138 pending = true;
139 return pending;
140 }
141 }
142
143 public static void Set(global::System.Exception e) {
144 if (pendingException != null)
145 throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
146 pendingException = e;
147 lock(exceptionsLock) {
148 numExceptionsPending++;
149 }
150 }
151
152 public static global::System.Exception Retrieve() {
153 global::System.Exception e = null;
154 if (numExceptionsPending > 0) {
155 if (pendingException != null) {
156 e = pendingException;
157 pendingException = null;
158 lock(exceptionsLock) {
159 numExceptionsPending--;
160 }
161 }
162 }
163 return e;
164 }
165
166 static SWIGPendingException() {
167 exceptionsLock = new global::System.Object();
168 }
169 }
170
171
172 protected class SWIGStringHelper {
173
174 public delegate string SWIGStringDelegate(string message);
175 static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString);
177 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="SWIGRegisterStringCallback_operations_research_util")]
178 public static extern void SWIGRegisterStringCallback_operations_research_util(SWIGStringDelegate stringDelegate);
179
180 static string CreateString(string cString) {
181 return cString;
182 }
183
184 static SWIGStringHelper() {
186 }
187 }
188
189 static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper();
190
192 public class SWIGStringWithLengthHelper {
193
194 [global::System.Runtime.InteropServices.DllImport("operations_research_util", EntryPoint="SWIG_csharp_string_to_c")]
195 private static extern global::System.IntPtr SWIG_csharp_string_to_c0(int size, int len, [global::System.Runtime.InteropServices.In,global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr, SizeParamIndex=0)] string str);
196
197 [global::System.Runtime.InteropServices.DllImport("operations_research_util", EntryPoint="SWIG_csharp_string_size")]
198 private static extern int SWIG_csharp_string_size(global::System.IntPtr str);
199
200 [global::System.Runtime.InteropServices.DllImport("operations_research_util", EntryPoint="SWIG_csharp_string_str")]
201 private static extern global::System.IntPtr SWIG_csharp_string_str(global::System.IntPtr str);
202
203 public static global::System.IntPtr SWIG_csharp_string_to_c(string str) {
204 if (str == null)
205 return global::System.IntPtr.Zero;
206 global::System.Text.Encoding utf8 = global::System.Text.Encoding.UTF8;
207 return SWIG_csharp_string_to_c0(utf8.GetByteCount(str), str.Length, str);
208 }
209
210 public static string SWIG_c_to_csharp_string(global::System.IntPtr str) {
211 int size = SWIG_csharp_string_size(str);
212 if (size > 0) {
213 global::System.IntPtr s = SWIG_csharp_string_str(str);
214 byte[] b = new byte[size];
215 global::System.Runtime.InteropServices.Marshal.Copy(s, b, 0, size);
216 global::System.Text.Encoding utf8 = global::System.Text.Encoding.UTF8;
217 return utf8.GetString(b);
218 }
219 return null;
220 }
221 }
222
223
224 static operations_research_utilPINVOKE() {
225 }
226
227
228 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Int64Vector__SWIG_0___")]
229 public static extern global::System.IntPtr new_Int64Vector__SWIG_0();
230
231 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Int64Vector__SWIG_1___")]
232 public static extern global::System.IntPtr new_Int64Vector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);
233
234 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_Clear___")]
235 public static extern void Int64Vector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
236
237 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_Add___")]
238 public static extern void Int64Vector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
239
240 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_size___")]
241 public static extern uint Int64Vector_size(global::System.Runtime.InteropServices.HandleRef jarg1);
242
243 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_empty___")]
244 public static extern bool Int64Vector_empty(global::System.Runtime.InteropServices.HandleRef jarg1);
245
246 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_capacity___")]
247 public static extern uint Int64Vector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1);
248
249 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_reserve___")]
250 public static extern void Int64Vector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
251
252 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Int64Vector__SWIG_2___")]
253 public static extern global::System.IntPtr new_Int64Vector__SWIG_2(int jarg1);
254
255 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_getitemcopy___")]
256 public static extern long Int64Vector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
257
258 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_getitem___")]
259 public static extern long Int64Vector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
260
261 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_setitem___")]
262 public static extern void Int64Vector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3);
263
264 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_AddRange___")]
265 public static extern void Int64Vector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
266
267 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_GetRange___")]
268 public static extern global::System.IntPtr Int64Vector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
269
270 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_Insert___")]
271 public static extern void Int64Vector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3);
272
273 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_InsertRange___")]
274 public static extern void Int64Vector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
275
276 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_RemoveAt___")]
277 public static extern void Int64Vector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
278
279 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_RemoveRange___")]
280 public static extern void Int64Vector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
281
282 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_Repeat___")]
283 public static extern global::System.IntPtr Int64Vector_Repeat(long jarg1, int jarg2);
284
285 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_Reverse__SWIG_0___")]
286 public static extern void Int64Vector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1);
287
288 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_Reverse__SWIG_1___")]
289 public static extern void Int64Vector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
290
291 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_SetRange___")]
292 public static extern void Int64Vector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
293
294 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_Contains___")]
295 public static extern bool Int64Vector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
296
297 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_IndexOf___")]
298 public static extern int Int64Vector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
299
300 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_LastIndexOf___")]
301 public static extern int Int64Vector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
302
303 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64Vector_Remove___")]
304 public static extern bool Int64Vector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
305
306 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_delete_Int64Vector___")]
307 public static extern void delete_Int64Vector(global::System.Runtime.InteropServices.HandleRef jarg1);
308
309 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Int64VectorVector__SWIG_0___")]
310 public static extern global::System.IntPtr new_Int64VectorVector__SWIG_0();
311
312 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Int64VectorVector__SWIG_1___")]
313 public static extern global::System.IntPtr new_Int64VectorVector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1);
314
315 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_Clear___")]
316 public static extern void Int64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1);
317
318 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_Add___")]
319 public static extern void Int64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
320
321 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_size___")]
322 public static extern uint Int64VectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1);
323
324 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_empty___")]
325 public static extern bool Int64VectorVector_empty(global::System.Runtime.InteropServices.HandleRef jarg1);
326
327 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_capacity___")]
328 public static extern uint Int64VectorVector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1);
329
330 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_reserve___")]
331 public static extern void Int64VectorVector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
332
333 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Int64VectorVector__SWIG_2___")]
334 public static extern global::System.IntPtr new_Int64VectorVector__SWIG_2(int jarg1);
335
336 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_getitemcopy___")]
337 public static extern global::System.IntPtr Int64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
338
339 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_getitem___")]
340 public static extern global::System.IntPtr Int64VectorVector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
341
342 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_setitem___")]
343 public static extern void Int64VectorVector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
344
345 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_AddRange___")]
346 public static extern void Int64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
347
348 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_GetRange___")]
349 public static extern global::System.IntPtr Int64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
350
351 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_Insert___")]
352 public static extern void Int64VectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
353
354 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_InsertRange___")]
355 public static extern void Int64VectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
356
357 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_RemoveAt___")]
358 public static extern void Int64VectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
359
360 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_RemoveRange___")]
361 public static extern void Int64VectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
362
363 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_Repeat___")]
364 public static extern global::System.IntPtr Int64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
365
366 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_Reverse__SWIG_0___")]
367 public static extern void Int64VectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1);
368
369 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_Reverse__SWIG_1___")]
370 public static extern void Int64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3);
371
372 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Int64VectorVector_SetRange___")]
373 public static extern void Int64VectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3);
374
375 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_delete_Int64VectorVector___")]
376 public static extern void delete_Int64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1);
377
378 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Domain__SWIG_0___")]
379 public static extern global::System.IntPtr new_Domain__SWIG_0();
380
381 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Domain__SWIG_1___")]
382 public static extern global::System.IntPtr new_Domain__SWIG_1(long jarg1);
383
384 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_new_Domain__SWIG_2___")]
385 public static extern global::System.IntPtr new_Domain__SWIG_2(long jarg1, long jarg2);
386
387 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_AllValues___")]
388 public static extern global::System.IntPtr Domain_AllValues();
389
390 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_FromValues___")]
391 public static extern global::System.IntPtr Domain_FromValues( int length1, long[] jarg1);
392
393 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_FromIntervals___")]
394 public static extern global::System.IntPtr Domain_FromIntervals(
395 int len1_1, int[] len1_2, long[]
396 jarg1);
397
398 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_FromFlatIntervals___")]
399 public static extern global::System.IntPtr Domain_FromFlatIntervals( int length1, long[] jarg1);
400
401 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_FlattenedIntervals___")]
402 public static extern global::System.IntPtr Domain_FlattenedIntervals(global::System.Runtime.InteropServices.HandleRef jarg1);
403
404 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_IsEmpty___")]
405 public static extern bool Domain_IsEmpty(global::System.Runtime.InteropServices.HandleRef jarg1);
406
407 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_Size___")]
408 public static extern long Domain_Size(global::System.Runtime.InteropServices.HandleRef jarg1);
409
410 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_Min___")]
411 public static extern long Domain_Min(global::System.Runtime.InteropServices.HandleRef jarg1);
412
413 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_Max___")]
414 public static extern long Domain_Max(global::System.Runtime.InteropServices.HandleRef jarg1);
415
416 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_Contains___")]
417 public static extern bool Domain_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2);
418
419 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_Complement___")]
420 public static extern global::System.IntPtr Domain_Complement(global::System.Runtime.InteropServices.HandleRef jarg1);
421
422 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_Negation___")]
423 public static extern global::System.IntPtr Domain_Negation(global::System.Runtime.InteropServices.HandleRef jarg1);
424
425 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_IntersectionWith___")]
426 public static extern global::System.IntPtr Domain_IntersectionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
427
428 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_UnionWith___")]
429 public static extern global::System.IntPtr Domain_UnionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
430
431 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_AdditionWith___")]
432 public static extern global::System.IntPtr Domain_AdditionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
433
434 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_Domain_ToString___")]
435 public static extern string Domain_ToString(global::System.Runtime.InteropServices.HandleRef jarg1);
436
437 [global::System.Runtime.InteropServices.DllImport("google-ortools-native", EntryPoint="CSharp_GooglefOrToolsfUtil_delete_Domain___")]
438 public static extern void delete_Domain(global::System.Runtime.InteropServices.HandleRef jarg1);
439}
441}
static void SWIGRegisterExceptionCallbacksArgument_operations_research_util(ExceptionArgumentDelegate argumentDelegate, ExceptionArgumentDelegate argumentNullDelegate, ExceptionArgumentDelegate argumentOutOfRangeDelegate)
static void SWIGRegisterExceptionCallbacks_operations_research_util(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
delegate void ExceptionArgumentDelegate(string message, string paramName)
static void SWIGRegisterStringCallback_operations_research_util(SWIGStringDelegate stringDelegate)
static uint Int64VectorVector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Int64VectorVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long Domain_Size(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Int64Vector_empty(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr new_Int64Vector__SWIG_2(int jarg1)
static void Int64VectorVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr Domain_FromValues(int length1, long[] jarg1)
static void delete_Int64Vector(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64VectorVector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static global::System.IntPtr Int64Vector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void Int64VectorVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void Int64Vector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static uint Int64VectorVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static int Int64Vector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void Int64VectorVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Int64Vector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64VectorVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static long Domain_Max(global::System.Runtime.InteropServices.HandleRef jarg1)
static long Int64Vector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr new_Int64VectorVector__SWIG_2(int jarg1)
static void Int64Vector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
static global::System.IntPtr Domain_AdditionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static string Domain_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64Vector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void delete_Domain(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64VectorVector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static void Int64Vector_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2)
static void Int64Vector_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3)
static global::System.IntPtr Domain_Negation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Int64VectorVector_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static long Int64Vector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr Domain_FromIntervals(int len1_1, int[] len1_2, long[] jarg1)
static void Int64VectorVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Domain_UnionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static global::System.IntPtr Int64VectorVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static uint Int64Vector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Domain_IntersectionWith(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Int64Vector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int Int64Vector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void Int64Vector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr Int64VectorVector_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr Domain_Complement(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Int64VectorVector_empty(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64VectorVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static bool Domain_IsEmpty(global::System.Runtime.InteropServices.HandleRef jarg1)
static void Int64VectorVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr new_Int64VectorVector__SWIG_0()
static global::System.IntPtr Domain_FromFlatIntervals(int length1, long[] jarg1)
static global::System.IntPtr new_Domain__SWIG_2(long jarg1, long jarg2)
static void Int64Vector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void Int64Vector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static void Int64VectorVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr Domain_AllValues()
static void Int64Vector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_Int64VectorVector(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr Int64Vector_Repeat(long jarg1, int jarg2)
static global::System.IntPtr Domain_FlattenedIntervals(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr new_Domain__SWIG_0()
static long Domain_Min(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr new_Int64Vector__SWIG_0()
static bool Int64Vector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static uint Int64Vector_capacity(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr new_Int64VectorVector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr new_Domain__SWIG_1(long jarg1)
static void Int64VectorVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static bool Domain_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void Int64VectorVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool Int64Vector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2)
static void Int64Vector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static global::System.IntPtr new_Int64Vector__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1)