9package com.google.ortools.init;
15 private transient long swigCPtr;
18 protected CppFlags(
long cPtr,
boolean cMemoryOwn) {
24 return (obj ==
null) ? 0 : obj.swigCPtr;
31 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
33 obj.swigCMemOwn =
false;
39 @SuppressWarnings({
"deprecation",
"removal"})
48 mainJNI.delete_CppFlags(swigCPtr);
62 mainJNI.CppFlags_stderrthreshold_set(swigCPtr,
this, value);
73 return mainJNI.CppFlags_stderrthreshold_get(swigCPtr,
this);
81 mainJNI.CppFlags_log_prefix_set(swigCPtr,
this, value);
89 return mainJNI.CppFlags_log_prefix_get(swigCPtr,
this);
96 mainJNI.CppFlags_cp_model_dump_prefix_set(swigCPtr,
this, value);
103 return mainJNI.CppFlags_cp_model_dump_prefix_get(swigCPtr,
this);
114 mainJNI.CppFlags_cp_model_dump_models_set(swigCPtr,
this, value);
125 return mainJNI.CppFlags_cp_model_dump_models_get(swigCPtr,
this);
135 mainJNI.CppFlags_cp_model_dump_submodels_set(swigCPtr,
this, value);
145 return mainJNI.CppFlags_cp_model_dump_submodels_get(swigCPtr,
this);
155 mainJNI.CppFlags_cp_model_dump_response_set(swigCPtr,
this, value);
165 return mainJNI.CppFlags_cp_model_dump_response_get(swigCPtr,
this);
169 this(mainJNI.new_CppFlags(),
true);