CONOPT
Loading...
Searching...
No Matches
VerbosityLevel.java
Go to the documentation of this file.
1
4
5/* ----------------------------------------------------------------------------
6 * This file was automatically generated by SWIG (https://www.swig.org).
7 * Version 4.3.1
8 *
9 * Do not make changes to this file unless you know what you are doing - modify
10 * the SWIG interface file instead.
11 * ----------------------------------------------------------------------------- */
12
13package jconopt;
14
23public final class VerbosityLevel {
24 public final static VerbosityLevel VerbLevelMin = new VerbosityLevel("VerbLevelMin", jconoptJNI.VerbosityLevel_VerbLevelMin_get());
28 public final static VerbosityLevel None = new VerbosityLevel("None");
32 public final static VerbosityLevel Normal = new VerbosityLevel("Normal");
36 public final static VerbosityLevel Error = new VerbosityLevel("Error");
40 public final static VerbosityLevel Debug = new VerbosityLevel("Debug");
41 public final static VerbosityLevel VerbLevelMax = new VerbosityLevel("VerbLevelMax");
42
43 public final int swigValue() {
44 return swigValue;
45 }
46
47 public String toString() {
48 return swigName;
49 }
50
51 public static VerbosityLevel swigToEnum(int swigValue) {
52 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
53 return swigValues[swigValue];
54 for (int i = 0; i < swigValues.length; i++)
55 if (swigValues[i].swigValue == swigValue)
56 return swigValues[i];
57 throw new IllegalArgumentException("No enum " + VerbosityLevel.class + " with value " + swigValue);
58 }
59
60 private VerbosityLevel(String swigName) {
61 this.swigName = swigName;
62 this.swigValue = swigNext++;
63 }
64
65 private VerbosityLevel(String swigName, int swigValue) {
66 this.swigName = swigName;
67 this.swigValue = swigValue;
68 swigNext = swigValue+1;
69 }
70
71 private VerbosityLevel(String swigName, VerbosityLevel swigEnum) {
72 this.swigName = swigName;
73 this.swigValue = swigEnum.swigValue;
74 swigNext = this.swigValue+1;
75 }
76
77 private static VerbosityLevel[] swigValues = { VerbLevelMin, None, Normal, Error, Debug, VerbLevelMax };
78 private static int swigNext = 0;
79 private final int swigValue;
80 private final String swigName;
81}
82
static final VerbosityLevel VerbLevelMin
static final VerbosityLevel Debug
static VerbosityLevel swigToEnum(int swigValue)
static final VerbosityLevel VerbLevelMax
static final VerbosityLevel None
static final VerbosityLevel Error
static final VerbosityLevel Normal
static final native int VerbosityLevel_VerbLevelMin_get()