OR-Tools  9.1
init_java_wrap.cc
Go to the documentation of this file.
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 4.0.2
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11
12#ifndef SWIGJAVA
13#define SWIGJAVA
14#endif
15
16
17
18#ifdef __cplusplus
19/* SwigValueWrapper is described in swig.swg */
20template<typename T> class SwigValueWrapper {
21 struct SwigMovePointer {
22 T *ptr;
23 SwigMovePointer(T *p) : ptr(p) { }
24 ~SwigMovePointer() { delete ptr; }
25 SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
26 } pointer;
27 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
28 SwigValueWrapper(const SwigValueWrapper<T>& rhs);
29public:
30 SwigValueWrapper() : pointer(0) { }
31 SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
32 operator T&() const { return *pointer.ptr; }
33 T *operator&() { return pointer.ptr; }
34};
35
36template <typename T> T SwigValueInit() {
37 return T();
38}
39#endif
40
41/* -----------------------------------------------------------------------------
42 * This section contains generic SWIG labels for method/variable
43 * declarations/attributes, and other compiler dependent labels.
44 * ----------------------------------------------------------------------------- */
45
46/* template workaround for compilers that cannot correctly implement the C++ standard */
47#ifndef SWIGTEMPLATEDISAMBIGUATOR
48# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
49# define SWIGTEMPLATEDISAMBIGUATOR template
50# elif defined(__HP_aCC)
51/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
52/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
53# define SWIGTEMPLATEDISAMBIGUATOR template
54# else
55# define SWIGTEMPLATEDISAMBIGUATOR
56# endif
57#endif
58
59/* inline attribute */
60#ifndef SWIGINLINE
61# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
62# define SWIGINLINE inline
63# else
64# define SWIGINLINE
65# endif
66#endif
67
68/* attribute recognised by some compilers to avoid 'unused' warnings */
69#ifndef SWIGUNUSED
70# if defined(__GNUC__)
71# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
72# define SWIGUNUSED __attribute__ ((__unused__))
73# else
74# define SWIGUNUSED
75# endif
76# elif defined(__ICC)
77# define SWIGUNUSED __attribute__ ((__unused__))
78# else
79# define SWIGUNUSED
80# endif
81#endif
82
83#ifndef SWIG_MSC_UNSUPPRESS_4505
84# if defined(_MSC_VER)
85# pragma warning(disable : 4505) /* unreferenced local function has been removed */
86# endif
87#endif
88
89#ifndef SWIGUNUSEDPARM
90# ifdef __cplusplus
91# define SWIGUNUSEDPARM(p)
92# else
93# define SWIGUNUSEDPARM(p) p SWIGUNUSED
94# endif
95#endif
96
97/* internal SWIG method */
98#ifndef SWIGINTERN
99# define SWIGINTERN static SWIGUNUSED
100#endif
101
102/* internal inline SWIG method */
103#ifndef SWIGINTERNINLINE
104# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
105#endif
106
107/* exporting methods */
108#if defined(__GNUC__)
109# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
110# ifndef GCC_HASCLASSVISIBILITY
111# define GCC_HASCLASSVISIBILITY
112# endif
113# endif
114#endif
115
116#ifndef SWIGEXPORT
117# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
118# if defined(STATIC_LINKED)
119# define SWIGEXPORT
120# else
121# define SWIGEXPORT __declspec(dllexport)
122# endif
123# else
124# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
125# define SWIGEXPORT __attribute__ ((visibility("default")))
126# else
127# define SWIGEXPORT
128# endif
129# endif
130#endif
131
132/* calling conventions for Windows */
133#ifndef SWIGSTDCALL
134# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
135# define SWIGSTDCALL __stdcall
136# else
137# define SWIGSTDCALL
138# endif
139#endif
140
141/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
142#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
143# define _CRT_SECURE_NO_DEPRECATE
144#endif
145
146/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
147#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
148# define _SCL_SECURE_NO_DEPRECATE
149#endif
150
151/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
152#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
153# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
154#endif
155
156/* Intel's compiler complains if a variable which was never initialised is
157 * cast to void, which is a common idiom which we use to indicate that we
158 * are aware a variable isn't used. So we just silence that warning.
159 * See: https://github.com/swig/swig/issues/192 for more discussion.
160 */
161#ifdef __INTEL_COMPILER
162# pragma warning disable 592
163#endif
164
165
166/* Fix for jlong on some versions of gcc on Windows */
167#if defined(__GNUC__) && !defined(__INTEL_COMPILER)
168 typedef long long __int64;
169#endif
170
171/* Fix for jlong on 64-bit x86 Solaris */
172#if defined(__x86_64)
173# ifdef _LP64
174# undef _LP64
175# endif
176#endif
177
178#include <jni.h>
179#include <stdlib.h>
180#include <string.h>
181
182
183/* Support for throwing Java exceptions */
184typedef enum {
196
197typedef struct {
199 const char *java_exception;
201
202
203static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg) {
204 jclass excep;
205 static const SWIG_JavaExceptions_t java_exceptions[] = {
206 { SWIG_JavaOutOfMemoryError, "java/lang/OutOfMemoryError" },
207 { SWIG_JavaIOException, "java/io/IOException" },
208 { SWIG_JavaRuntimeException, "java/lang/RuntimeException" },
209 { SWIG_JavaIndexOutOfBoundsException, "java/lang/IndexOutOfBoundsException" },
210 { SWIG_JavaArithmeticException, "java/lang/ArithmeticException" },
211 { SWIG_JavaIllegalArgumentException, "java/lang/IllegalArgumentException" },
212 { SWIG_JavaNullPointerException, "java/lang/NullPointerException" },
213 { SWIG_JavaDirectorPureVirtual, "java/lang/RuntimeException" },
214 { SWIG_JavaUnknownError, "java/lang/UnknownError" },
215 { SWIG_JavaIllegalStateException, "java/lang/IllegalStateException" },
216 { (SWIG_JavaExceptionCodes)0, "java/lang/UnknownError" }
217 };
218 const SWIG_JavaExceptions_t *except_ptr = java_exceptions;
219
220 while (except_ptr->code != code && except_ptr->code)
221 except_ptr++;
222
223 jenv->ExceptionClear();
224 excep = jenv->FindClass(except_ptr->java_exception);
225 if (excep)
226 jenv->ThrowNew(excep, msg);
227}
228
229
230/* Contract support */
231
232#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
233
234
235#include <cstdint>
236#include <string>
237#include <vector>
238
240
241
242#include <stdint.h> // Use the C99 official header
243
244
245#define SWIGWORDSIZE64
246#ifndef LONG_MAX
247#include <limits.h>
248#endif
249#if (__WORDSIZE == 32) || (LONG_MAX == INT_MAX)
250# error "SWIG wrapped code invalid in 32 bit architecture, regenerate code using -DSWIGWORDSIZE32"
251#endif
252
253
254#include <string>
255
256
257#include "ortools/init/init.h"
258
259
260#ifdef __cplusplus
261extern "C" {
262#endif
263
264SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1logtostderr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
266 bool arg2 ;
267
268 (void)jenv;
269 (void)jcls;
270 (void)jarg1_;
271 arg1 = *(operations_research::CppFlags **)&jarg1;
272 arg2 = jarg2 ? true : false;
273 if (arg1) (arg1)->logtostderr = arg2;
274}
275
276
277SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1logtostderr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
278 jboolean jresult = 0 ;
280 bool result;
281
282 (void)jenv;
283 (void)jcls;
284 (void)jarg1_;
285 arg1 = *(operations_research::CppFlags **)&jarg1;
286 result = (bool) ((arg1)->logtostderr);
287 jresult = (jboolean)result;
288 return jresult;
289}
290
291
292SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
294 bool arg2 ;
295
296 (void)jenv;
297 (void)jcls;
298 (void)jarg1_;
299 arg1 = *(operations_research::CppFlags **)&jarg1;
300 arg2 = jarg2 ? true : false;
301 if (arg1) (arg1)->log_prefix = arg2;
302}
303
304
305SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
306 jboolean jresult = 0 ;
308 bool result;
309
310 (void)jenv;
311 (void)jcls;
312 (void)jarg1_;
313 arg1 = *(operations_research::CppFlags **)&jarg1;
314 result = (bool) ((arg1)->log_prefix);
315 jresult = (jboolean)result;
316 return jresult;
317}
318
319
320SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2) {
322 std::string *arg2 = 0 ;
323
324 (void)jenv;
325 (void)jcls;
326 (void)jarg1_;
327 arg1 = *(operations_research::CppFlags **)&jarg1;
328 if(!jarg2) {
330 return ;
331 }
332 const char *arg2_pstr = (const char *)jenv->GetStringUTFChars(jarg2, 0);
333 if (!arg2_pstr) return ;
334 std::string arg2_str(arg2_pstr);
335 arg2 = &arg2_str;
336 jenv->ReleaseStringUTFChars(jarg2, arg2_pstr);
337 if (arg1) (arg1)->cp_model_dump_prefix = *arg2;
338}
339
340
341SWIGEXPORT jstring JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
342 jstring jresult = 0 ;
344 std::string *result = 0 ;
345
346 (void)jenv;
347 (void)jcls;
348 (void)jarg1_;
349 arg1 = *(operations_research::CppFlags **)&jarg1;
350 result = (std::string *) & ((arg1)->cp_model_dump_prefix);
351 jresult = jenv->NewStringUTF(result->c_str());
352 return jresult;
353}
354
355
356SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1models_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
358 bool arg2 ;
359
360 (void)jenv;
361 (void)jcls;
362 (void)jarg1_;
363 arg1 = *(operations_research::CppFlags **)&jarg1;
364 arg2 = jarg2 ? true : false;
365 if (arg1) (arg1)->cp_model_dump_models = arg2;
366}
367
368
369SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1models_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
370 jboolean jresult = 0 ;
372 bool result;
373
374 (void)jenv;
375 (void)jcls;
376 (void)jarg1_;
377 arg1 = *(operations_research::CppFlags **)&jarg1;
378 result = (bool) ((arg1)->cp_model_dump_models);
379 jresult = (jboolean)result;
380 return jresult;
381}
382
383
384SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1lns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
386 bool arg2 ;
387
388 (void)jenv;
389 (void)jcls;
390 (void)jarg1_;
391 arg1 = *(operations_research::CppFlags **)&jarg1;
392 arg2 = jarg2 ? true : false;
393 if (arg1) (arg1)->cp_model_dump_lns = arg2;
394}
395
396
397SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1lns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
398 jboolean jresult = 0 ;
400 bool result;
401
402 (void)jenv;
403 (void)jcls;
404 (void)jarg1_;
405 arg1 = *(operations_research::CppFlags **)&jarg1;
406 result = (bool) ((arg1)->cp_model_dump_lns);
407 jresult = (jboolean)result;
408 return jresult;
409}
410
411
412SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1response_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2) {
414 bool arg2 ;
415
416 (void)jenv;
417 (void)jcls;
418 (void)jarg1_;
419 arg1 = *(operations_research::CppFlags **)&jarg1;
420 arg2 = jarg2 ? true : false;
421 if (arg1) (arg1)->cp_model_dump_response = arg2;
422}
423
424
425SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1response_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
426 jboolean jresult = 0 ;
428 bool result;
429
430 (void)jenv;
431 (void)jcls;
432 (void)jarg1_;
433 arg1 = *(operations_research::CppFlags **)&jarg1;
434 result = (bool) ((arg1)->cp_model_dump_response);
435 jresult = (jboolean)result;
436 return jresult;
437}
438
439
440SWIGEXPORT jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1CppFlags(JNIEnv *jenv, jclass jcls) {
441 jlong jresult = 0 ;
443
444 (void)jenv;
445 (void)jcls;
447 *(operations_research::CppFlags **)&jresult = result;
448 return jresult;
449}
450
451
452SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1CppFlags(JNIEnv *jenv, jclass jcls, jlong jarg1) {
454
455 (void)jenv;
456 (void)jcls;
457 arg1 = *(operations_research::CppFlags **)&jarg1;
458 delete arg1;
459}
460
461
462SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1initLogging(JNIEnv *jenv, jclass jcls, jstring jarg1) {
463 std::string *arg1 = 0 ;
464
465 (void)jenv;
466 (void)jcls;
467 if(!jarg1) {
469 return ;
470 }
471 const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0);
472 if (!arg1_pstr) return ;
473 std::string arg1_str(arg1_pstr);
474 arg1 = &arg1_str;
475 jenv->ReleaseStringUTFChars(jarg1, arg1_pstr);
476 operations_research::CppBridge::InitLogging((std::string const &)*arg1);
477}
478
479
481 (void)jenv;
482 (void)jcls;
484}
485
486
487SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1setFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_) {
489
490 (void)jenv;
491 (void)jcls;
492 (void)jarg1_;
493 arg1 = *(operations_research::CppFlags **)&jarg1;
494 if (!arg1) {
495 SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "operations_research::CppFlags const & reference is null");
496 return ;
497 }
499}
500
501
502SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1logGurobiSharedLibrary(JNIEnv *jenv, jclass jcls, jstring jarg1) {
503 jboolean jresult = 0 ;
504 std::string *arg1 = 0 ;
505 bool result;
506
507 (void)jenv;
508 (void)jcls;
509 if(!jarg1) {
511 return 0;
512 }
513 const char *arg1_pstr = (const char *)jenv->GetStringUTFChars(jarg1, 0);
514 if (!arg1_pstr) return 0;
515 std::string arg1_str(arg1_pstr);
516 arg1 = &arg1_str;
517 jenv->ReleaseStringUTFChars(jarg1, arg1_pstr);
518 result = (bool)operations_research::CppBridge::LoadGurobiSharedLibrary((std::string const &)*arg1);
519 jresult = (jboolean)result;
520 return jresult;
521}
522
523
524SWIGEXPORT jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1CppBridge(JNIEnv *jenv, jclass jcls) {
525 jlong jresult = 0 ;
527
528 (void)jenv;
529 (void)jcls;
531 *(operations_research::CppBridge **)&jresult = result;
532 return jresult;
533}
534
535
536SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1CppBridge(JNIEnv *jenv, jclass jcls, jlong jarg1) {
538
539 (void)jenv;
540 (void)jcls;
541 arg1 = *(operations_research::CppBridge **)&jarg1;
542 delete arg1;
543}
544
545
546#ifdef __cplusplus
547}
548#endif
549
This class performs various C++ initialization.
Definition: init.h:81
static void InitLogging(const std::string &program_name)
Initialize the C++ logging layer.
Definition: init.h:88
static bool LoadGurobiSharedLibrary(const std::string &full_library_path)
Load the gurobi shared library.
Definition: init.h:122
static void ShutdownLogging()
Shutdown the C++ logging layer.
Definition: init.h:98
static void SetFlags(const CppFlags &flags)
Sets all the C++ flags contained in the CppFlags structure.
Definition: init.h:103
SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1lns_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_)
SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1logGurobiSharedLibrary(JNIEnv *jenv, jclass jcls, jstring jarg1)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1lns_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1models_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1shutdownLogging(JNIEnv *jenv, jclass jcls)
SWIGEXPORT jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1CppBridge(JNIEnv *jenv, jclass jcls)
SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1response_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_)
SWIGEXPORT jstring JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1initLogging(JNIEnv *jenv, jclass jcls, jstring jarg1)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jstring jarg2)
#define SWIGUNUSED
static void SWIGUNUSED SWIG_JavaThrowException(JNIEnv *jenv, SWIG_JavaExceptionCodes code, const char *msg)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1logtostderr_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2)
SWIG_JavaExceptionCodes
@ SWIG_JavaIOException
@ SWIG_JavaArithmeticException
@ SWIG_JavaUnknownError
@ SWIG_JavaRuntimeException
@ SWIG_JavaNullPointerException
@ SWIG_JavaDirectorPureVirtual
@ SWIG_JavaOutOfMemoryError
@ SWIG_JavaIllegalStateException
@ SWIG_JavaIllegalArgumentException
@ SWIG_JavaIndexOutOfBoundsException
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1setFlags(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_)
SWIGEXPORT jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1CppFlags(JNIEnv *jenv, jclass jcls)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1CppBridge(JNIEnv *jenv, jclass jcls, jlong jarg1)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2)
SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1logtostderr_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1response_1set(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2)
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1CppFlags(JNIEnv *jenv, jclass jcls, jlong jarg1)
SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_)
#define SWIGEXPORT
SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1models_1get(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_)
SWIG_JavaExceptionCodes code
Simple structure that holds useful C++ flags to setup from non-C++ languages.
Definition: init.h:35