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 IFSelect_ReturnStatus {
18 public final int swigValue() {
22 public static IFSelect_ReturnStatus swigToEnum(int swigValue) {
23 IFSelect_ReturnStatus[] swigValues = IFSelect_ReturnStatus.class.getEnumConstants();
24 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
25 return swigValues[swigValue];
26 for (IFSelect_ReturnStatus swigEnum : swigValues)
27 if (swigEnum.swigValue == swigValue)
29 throw new IllegalArgumentException("No enum " + IFSelect_ReturnStatus.class + " with value " + swigValue);
32 @SuppressWarnings("unused")
33 private IFSelect_ReturnStatus() {
34 this.swigValue = SwigNext.next++;
37 @SuppressWarnings("unused")
38 private IFSelect_ReturnStatus(int swigValue) {
39 this.swigValue = swigValue;
40 SwigNext.next = swigValue+1;
43 @SuppressWarnings("unused")
44 private IFSelect_ReturnStatus(IFSelect_ReturnStatus swigEnum) {
45 this.swigValue = swigEnum.swigValue;
46 SwigNext.next = this.swigValue+1;
49 private final int swigValue;
51 private static class SwigNext {
52 private static int next = 0;