1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
9 package org.jcae.opencascade.jni;
11 public enum BRepOffset_Mode {
16 public final int swigValue() {
20 public static BRepOffset_Mode swigToEnum(int swigValue) {
21 BRepOffset_Mode[] swigValues = BRepOffset_Mode.class.getEnumConstants();
22 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
23 return swigValues[swigValue];
24 for (BRepOffset_Mode swigEnum : swigValues)
25 if (swigEnum.swigValue == swigValue)
27 throw new IllegalArgumentException("No enum " + BRepOffset_Mode.class + " with value " + swigValue);
30 @SuppressWarnings("unused")
31 private BRepOffset_Mode() {
32 this.swigValue = SwigNext.next++;
35 @SuppressWarnings("unused")
36 private BRepOffset_Mode(int swigValue) {
37 this.swigValue = swigValue;
38 SwigNext.next = swigValue+1;
41 @SuppressWarnings("unused")
42 private BRepOffset_Mode(BRepOffset_Mode swigEnum) {
43 this.swigValue = swigEnum.swigValue;
44 SwigNext.next = this.swigValue+1;
47 private final int swigValue;
49 private static class SwigNext {
50 private static int next = 0;