]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffset_Mode.java
Avoid extra write transactions when opening Plant3D editor
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / BRepOffset_Mode.java
index 0f4bcdd7ceeba3c994999a6b980d06e94e58850b..97b9a2a7ab65df58fac99bebb1a77138d13a9b1c 100644 (file)
@@ -1,53 +1,53 @@
-/* ----------------------------------------------------------------------------\r
- * This file was automatically generated by SWIG (http://www.swig.org).\r
- * Version 2.0.4\r
- *\r
- * Do not make changes to this file unless you know what you are doing--modify\r
- * the SWIG interface file instead.\r
- * ----------------------------------------------------------------------------- */\r
-\r
-package org.jcae.opencascade.jni;\r
-\r
-public enum BRepOffset_Mode {\r
-  Skin,\r
-  Pipe,\r
-  RectoVerso;\r
-\r
-  public final int swigValue() {\r
-    return swigValue;\r
-  }\r
-\r
-  public static BRepOffset_Mode swigToEnum(int swigValue) {\r
-    BRepOffset_Mode[] swigValues = BRepOffset_Mode.class.getEnumConstants();\r
-    if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)\r
-      return swigValues[swigValue];\r
-    for (BRepOffset_Mode swigEnum : swigValues)\r
-      if (swigEnum.swigValue == swigValue)\r
-        return swigEnum;\r
-    throw new IllegalArgumentException("No enum " + BRepOffset_Mode.class + " with value " + swigValue);\r
-  }\r
-\r
-  @SuppressWarnings("unused")\r
-  private BRepOffset_Mode() {\r
-    this.swigValue = SwigNext.next++;\r
-  }\r
-\r
-  @SuppressWarnings("unused")\r
-  private BRepOffset_Mode(int swigValue) {\r
-    this.swigValue = swigValue;\r
-    SwigNext.next = swigValue+1;\r
-  }\r
-\r
-  @SuppressWarnings("unused")\r
-  private BRepOffset_Mode(BRepOffset_Mode swigEnum) {\r
-    this.swigValue = swigEnum.swigValue;\r
-    SwigNext.next = this.swigValue+1;\r
-  }\r
-\r
-  private final int swigValue;\r
-\r
-  private static class SwigNext {\r
-    private static int next = 0;\r
-  }\r
-}\r
-\r
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 3.0.12
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+package org.jcae.opencascade.jni;
+
+public enum BRepOffset_Mode {
+  Skin,
+  Pipe,
+  RectoVerso;
+
+  public final int swigValue() {
+    return swigValue;
+  }
+
+  public static BRepOffset_Mode swigToEnum(int swigValue) {
+    BRepOffset_Mode[] swigValues = BRepOffset_Mode.class.getEnumConstants();
+    if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
+      return swigValues[swigValue];
+    for (BRepOffset_Mode swigEnum : swigValues)
+      if (swigEnum.swigValue == swigValue)
+        return swigEnum;
+    throw new IllegalArgumentException("No enum " + BRepOffset_Mode.class + " with value " + swigValue);
+  }
+
+  @SuppressWarnings("unused")
+  private BRepOffset_Mode() {
+    this.swigValue = SwigNext.next++;
+  }
+
+  @SuppressWarnings("unused")
+  private BRepOffset_Mode(int swigValue) {
+    this.swigValue = swigValue;
+    SwigNext.next = swigValue+1;
+  }
+
+  @SuppressWarnings("unused")
+  private BRepOffset_Mode(BRepOffset_Mode swigEnum) {
+    this.swigValue = swigEnum.swigValue;
+    SwigNext.next = this.swigValue+1;
+  }
+
+  private final int swigValue;
+
+  private static class SwigNext {
+    private static int next = 0;
+  }
+}
+