OR-Tools  9.2
init_java_wrap.cc File Reference

Go to the source code of this file.

Classes

struct  SWIG_JavaExceptions_t
 

Macros

#define SWIGJAVA
 
#define SWIGTEMPLATEDISAMBIGUATOR
 
#define SWIGINLINE
 
#define SWIGUNUSED
 
#define SWIGUNUSEDPARM(p)   p SWIGUNUSED
 
#define SWIGINTERN   static SWIGUNUSED
 
#define SWIGINTERNINLINE   SWIGINTERN SWIGINLINE
 
#define SWIGEXPORT
 
#define SWIGSTDCALL
 
#define SWIG_contract_assert(nullreturn, expr, msg)   if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else
 

Enumerations

enum  SWIG_JavaExceptionCodes {
  SWIG_JavaOutOfMemoryError = 1 , SWIG_JavaIOException , SWIG_JavaRuntimeException , SWIG_JavaIndexOutOfBoundsException ,
  SWIG_JavaArithmeticException , SWIG_JavaIllegalArgumentException , SWIG_JavaNullPointerException , SWIG_JavaDirectorPureVirtual ,
  SWIG_JavaUnknownError , SWIG_JavaIllegalStateException , SWIG_JavaOutOfMemoryError = 1 , SWIG_JavaIOException ,
  SWIG_JavaRuntimeException , SWIG_JavaIndexOutOfBoundsException , SWIG_JavaArithmeticException , SWIG_JavaIllegalArgumentException ,
  SWIG_JavaNullPointerException , SWIG_JavaDirectorPureVirtual , SWIG_JavaUnknownError , SWIG_JavaIllegalStateException ,
  SWIG_JavaOutOfMemoryError = 1 , SWIG_JavaIOException , SWIG_JavaRuntimeException , SWIG_JavaIndexOutOfBoundsException ,
  SWIG_JavaArithmeticException , SWIG_JavaIllegalArgumentException , SWIG_JavaNullPointerException , SWIG_JavaDirectorPureVirtual ,
  SWIG_JavaUnknownError , SWIG_JavaIllegalStateException , SWIG_JavaOutOfMemoryError = 1 , SWIG_JavaIOException ,
  SWIG_JavaRuntimeException , SWIG_JavaIndexOutOfBoundsException , SWIG_JavaArithmeticException , SWIG_JavaIllegalArgumentException ,
  SWIG_JavaNullPointerException , SWIG_JavaDirectorPureVirtual , SWIG_JavaUnknownError , SWIG_JavaIllegalStateException ,
  SWIG_JavaOutOfMemoryError = 1 , SWIG_JavaIOException , SWIG_JavaRuntimeException , SWIG_JavaIndexOutOfBoundsException ,
  SWIG_JavaArithmeticException , SWIG_JavaIllegalArgumentException , SWIG_JavaNullPointerException , SWIG_JavaDirectorPureVirtual ,
  SWIG_JavaUnknownError , SWIG_JavaIllegalStateException , SWIG_JavaOutOfMemoryError = 1 , SWIG_JavaIOException ,
  SWIG_JavaRuntimeException , SWIG_JavaIndexOutOfBoundsException , SWIG_JavaArithmeticException , SWIG_JavaIllegalArgumentException ,
  SWIG_JavaNullPointerException , SWIG_JavaDirectorPureVirtual , SWIG_JavaUnknownError , SWIG_JavaIllegalStateException ,
  SWIG_JavaOutOfMemoryError = 1 , SWIG_JavaIOException , SWIG_JavaRuntimeException , SWIG_JavaIndexOutOfBoundsException ,
  SWIG_JavaArithmeticException , SWIG_JavaIllegalArgumentException , SWIG_JavaNullPointerException , SWIG_JavaDirectorPureVirtual ,
  SWIG_JavaUnknownError , SWIG_JavaIllegalStateException
}
 

Functions

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)
 
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_1log_1prefix_1set (JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2)
 
SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1get (JNIEnv *jenv, jclass jcls, jlong jarg1, jobject 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)
 
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_CppFlags_1cp_1model_1dump_1models_1set (JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jboolean jarg2)
 
SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1models_1get (JNIEnv *jenv, jclass jcls, jlong jarg1, jobject 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 jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1lns_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 jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1response_1get (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_1CppFlags (JNIEnv *jenv, jclass jcls, jlong 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_CppBridge_1shutdownLogging (JNIEnv *jenv, jclass jcls)
 
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1setFlags (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 jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1CppBridge (JNIEnv *jenv, jclass jcls)
 
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1CppBridge (JNIEnv *jenv, jclass jcls, jlong jarg1)
 
SWIGEXPORT jint JNICALL Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getMajorNumber (JNIEnv *jenv, jclass jcls)
 
SWIGEXPORT jint JNICALL Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getMinorNumber (JNIEnv *jenv, jclass jcls)
 
SWIGEXPORT jint JNICALL Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getPatchNumber (JNIEnv *jenv, jclass jcls)
 
SWIGEXPORT jstring JNICALL Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getVersionString (JNIEnv *jenv, jclass jcls)
 
SWIGEXPORT jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1OrToolsVersion (JNIEnv *jenv, jclass jcls)
 
SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1OrToolsVersion (JNIEnv *jenv, jclass jcls, jlong jarg1)
 

Macro Definition Documentation

◆ SWIG_contract_assert

#define SWIG_contract_assert (   nullreturn,
  expr,
  msg 
)    if (!(expr)) {SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, msg); return nullreturn; } else

Definition at line 232 of file init_java_wrap.cc.

◆ SWIGEXPORT

#define SWIGEXPORT

Definition at line 127 of file init_java_wrap.cc.

◆ SWIGINLINE

#define SWIGINLINE

Definition at line 64 of file init_java_wrap.cc.

◆ SWIGINTERN

#define SWIGINTERN   static SWIGUNUSED

Definition at line 99 of file init_java_wrap.cc.

◆ SWIGINTERNINLINE

#define SWIGINTERNINLINE   SWIGINTERN SWIGINLINE

Definition at line 104 of file init_java_wrap.cc.

◆ SWIGJAVA

#define SWIGJAVA

Definition at line 13 of file init_java_wrap.cc.

◆ SWIGSTDCALL

#define SWIGSTDCALL

Definition at line 137 of file init_java_wrap.cc.

◆ SWIGTEMPLATEDISAMBIGUATOR

#define SWIGTEMPLATEDISAMBIGUATOR

Definition at line 55 of file init_java_wrap.cc.

◆ SWIGUNUSED

#define SWIGUNUSED

Definition at line 79 of file init_java_wrap.cc.

◆ SWIGUNUSEDPARM

#define SWIGUNUSEDPARM (   p)    p SWIGUNUSED

Definition at line 93 of file init_java_wrap.cc.

Enumeration Type Documentation

◆ SWIG_JavaExceptionCodes

Enumerator
SWIG_JavaOutOfMemoryError 
SWIG_JavaIOException 
SWIG_JavaRuntimeException 
SWIG_JavaIndexOutOfBoundsException 
SWIG_JavaArithmeticException 
SWIG_JavaIllegalArgumentException 
SWIG_JavaNullPointerException 
SWIG_JavaDirectorPureVirtual 
SWIG_JavaUnknownError 
SWIG_JavaIllegalStateException 
SWIG_JavaOutOfMemoryError 
SWIG_JavaIOException 
SWIG_JavaRuntimeException 
SWIG_JavaIndexOutOfBoundsException 
SWIG_JavaArithmeticException 
SWIG_JavaIllegalArgumentException 
SWIG_JavaNullPointerException 
SWIG_JavaDirectorPureVirtual 
SWIG_JavaUnknownError 
SWIG_JavaIllegalStateException 
SWIG_JavaOutOfMemoryError 
SWIG_JavaIOException 
SWIG_JavaRuntimeException 
SWIG_JavaIndexOutOfBoundsException 
SWIG_JavaArithmeticException 
SWIG_JavaIllegalArgumentException 
SWIG_JavaNullPointerException 
SWIG_JavaDirectorPureVirtual 
SWIG_JavaUnknownError 
SWIG_JavaIllegalStateException 
SWIG_JavaOutOfMemoryError 
SWIG_JavaIOException 
SWIG_JavaRuntimeException 
SWIG_JavaIndexOutOfBoundsException 
SWIG_JavaArithmeticException 
SWIG_JavaIllegalArgumentException 
SWIG_JavaNullPointerException 
SWIG_JavaDirectorPureVirtual 
SWIG_JavaUnknownError 
SWIG_JavaIllegalStateException 
SWIG_JavaOutOfMemoryError 
SWIG_JavaIOException 
SWIG_JavaRuntimeException 
SWIG_JavaIndexOutOfBoundsException 
SWIG_JavaArithmeticException 
SWIG_JavaIllegalArgumentException 
SWIG_JavaNullPointerException 
SWIG_JavaDirectorPureVirtual 
SWIG_JavaUnknownError 
SWIG_JavaIllegalStateException 
SWIG_JavaOutOfMemoryError 
SWIG_JavaIOException 
SWIG_JavaRuntimeException 
SWIG_JavaIndexOutOfBoundsException 
SWIG_JavaArithmeticException 
SWIG_JavaIllegalArgumentException 
SWIG_JavaNullPointerException 
SWIG_JavaDirectorPureVirtual 
SWIG_JavaUnknownError 
SWIG_JavaIllegalStateException 
SWIG_JavaOutOfMemoryError 
SWIG_JavaIOException 
SWIG_JavaRuntimeException 
SWIG_JavaIndexOutOfBoundsException 
SWIG_JavaArithmeticException 
SWIG_JavaIllegalArgumentException 
SWIG_JavaNullPointerException 
SWIG_JavaDirectorPureVirtual 
SWIG_JavaUnknownError 
SWIG_JavaIllegalStateException 

Definition at line 184 of file init_java_wrap.cc.

Function Documentation

◆ Java_com_google_ortools_init_mainJNI_CppBridge_1initLogging()

SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1initLogging ( JNIEnv *  jenv,
jclass  jcls,
jstring  jarg1 
)

Definition at line 453 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppBridge_1logGurobiSharedLibrary()

SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1logGurobiSharedLibrary ( JNIEnv *  jenv,
jclass  jcls,
jstring  jarg1 
)

Definition at line 493 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppBridge_1setFlags()

SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1setFlags ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_ 
)

Definition at line 478 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppBridge_1shutdownLogging()

SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppBridge_1shutdownLogging ( JNIEnv *  jenv,
jclass  jcls 
)

Definition at line 471 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1lns_1get()

SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1lns_1get ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_ 
)

Definition at line 388 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1lns_1set()

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 
)

Definition at line 375 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1models_1get()

SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1models_1get ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_ 
)

Definition at line 360 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1models_1set()

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 
)

Definition at line 347 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1prefix_1get()

SWIGEXPORT jstring JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1prefix_1get ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_ 
)

Definition at line 332 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1prefix_1set()

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 
)

Definition at line 311 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1response_1get()

SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1response_1get ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_ 
)

Definition at line 416 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1cp_1model_1dump_1response_1set()

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 
)

Definition at line 403 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1get()

SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1get ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_ 
)

Definition at line 296 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1set()

SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1log_1prefix_1set ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_,
jboolean  jarg2 
)

Definition at line 283 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1logtostderr_1get()

SWIGEXPORT jboolean JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1logtostderr_1get ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_ 
)

Definition at line 268 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_CppFlags_1logtostderr_1set()

SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_CppFlags_1logtostderr_1set ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1,
jobject  jarg1_,
jboolean  jarg2 
)

Definition at line 255 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_delete_1CppBridge()

SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1CppBridge ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1 
)

Definition at line 527 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_delete_1CppFlags()

SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1CppFlags ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1 
)

Definition at line 443 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_delete_1OrToolsVersion()

SWIGEXPORT void JNICALL Java_com_google_ortools_init_mainJNI_delete_1OrToolsVersion ( JNIEnv *  jenv,
jclass  jcls,
jlong  jarg1 
)

Definition at line 597 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_new_1CppBridge()

SWIGEXPORT jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1CppBridge ( JNIEnv *  jenv,
jclass  jcls 
)

Definition at line 515 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_new_1CppFlags()

SWIGEXPORT jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1CppFlags ( JNIEnv *  jenv,
jclass  jcls 
)

Definition at line 431 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_new_1OrToolsVersion()

SWIGEXPORT jlong JNICALL Java_com_google_ortools_init_mainJNI_new_1OrToolsVersion ( JNIEnv *  jenv,
jclass  jcls 
)

Definition at line 585 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getMajorNumber()

SWIGEXPORT jint JNICALL Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getMajorNumber ( JNIEnv *  jenv,
jclass  jcls 
)

Definition at line 537 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getMinorNumber()

SWIGEXPORT jint JNICALL Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getMinorNumber ( JNIEnv *  jenv,
jclass  jcls 
)

Definition at line 549 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getPatchNumber()

SWIGEXPORT jint JNICALL Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getPatchNumber ( JNIEnv *  jenv,
jclass  jcls 
)

Definition at line 561 of file init_java_wrap.cc.

◆ Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getVersionString()

SWIGEXPORT jstring JNICALL Java_com_google_ortools_init_mainJNI_OrToolsVersion_1getVersionString ( JNIEnv *  jenv,
jclass  jcls 
)

Definition at line 573 of file init_java_wrap.cc.

◆ SWIG_JavaThrowException()

static void SWIGUNUSED SWIG_JavaThrowException ( JNIEnv *  jenv,
SWIG_JavaExceptionCodes  code,
const char *  msg 
)
static

Definition at line 203 of file init_java_wrap.cc.