MPModelExportOptions.java
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 4.0.0
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8 
9 package com.google.ortools.linearsolver;
10 
11 import java.lang.reflect.*;
12 
13 public final class MPModelExportOptions {
14  private transient long swigCPtr;
15  protected transient boolean swigCMemOwn;
16 
17  protected MPModelExportOptions(long cPtr, boolean cMemoryOwn) {
18  swigCMemOwn = cMemoryOwn;
19  swigCPtr = cPtr;
20  }
21 
22  protected static long getCPtr(MPModelExportOptions obj) {
23  return (obj == null) ? 0 : obj.swigCPtr;
24  }
25 
26  @SuppressWarnings("deprecation")
27  protected void finalize() {
28  delete();
29  }
30 
31  public synchronized void delete() {
32  if (swigCPtr != 0) {
33  if (swigCMemOwn) {
34  swigCMemOwn = false;
36  }
37  swigCPtr = 0;
38  }
39  }
40 
43  }
44 
45  public void setObfuscate(boolean value) {
47  }
48 
49  public boolean getObfuscate() {
51  }
52 
53  public void setLogInvalidNames(boolean value) {
55  }
56 
57  public boolean getLogInvalidNames() {
59  }
60 
61  public void setShowUnusedVariables(boolean value) {
63  }
64 
65  public boolean getShowUnusedVariables() {
67  }
68 
69  public void setMaxLineLength(int value) {
71  }
72 
73  public int getMaxLineLength() {
75  }
76 
77 }
static final native void MPModelExportOptions_ShowUnusedVariables_set(long jarg1, MPModelExportOptions jarg1_, boolean jarg2)
static final native void MPModelExportOptions_Obfuscate_set(long jarg1, MPModelExportOptions jarg1_, boolean jarg2)
static final native boolean MPModelExportOptions_Obfuscate_get(long jarg1, MPModelExportOptions jarg1_)
static final native boolean MPModelExportOptions_ShowUnusedVariables_get(long jarg1, MPModelExportOptions jarg1_)
static final native void delete_MPModelExportOptions(long jarg1)
static final native void MPModelExportOptions_MaxLineLength_set(long jarg1, MPModelExportOptions jarg1_, int jarg2)
static final native void MPModelExportOptions_LogInvalidNames_set(long jarg1, MPModelExportOptions jarg1_, boolean jarg2)
static final native boolean MPModelExportOptions_LogInvalidNames_get(long jarg1, MPModelExportOptions jarg1_)
static final native int MPModelExportOptions_MaxLineLength_get(long jarg1, MPModelExportOptions jarg1_)