1 /* ----------------------------------------------------------------------------
\r
2 * This file was automatically generated by SWIG (http://www.swig.org).
\r
5 * Do not make changes to this file unless you know what you are doing--modify
\r
6 * the SWIG interface file instead.
\r
7 * ----------------------------------------------------------------------------- */
\r
9 package org.jcae.opencascade.jni;
\r
11 public enum STEPControl_StepModelType {
\r
16 FacetedBrepAndBrepWithVoids,
\r
17 ShellBasedSurfaceModel,
\r
21 public final int swigValue() {
\r
25 public static STEPControl_StepModelType swigToEnum(int swigValue) {
\r
26 STEPControl_StepModelType[] swigValues = STEPControl_StepModelType.class.getEnumConstants();
\r
27 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
\r
28 return swigValues[swigValue];
\r
29 for (STEPControl_StepModelType swigEnum : swigValues)
\r
30 if (swigEnum.swigValue == swigValue)
\r
32 throw new IllegalArgumentException("No enum " + STEPControl_StepModelType.class + " with value " + swigValue);
\r
35 @SuppressWarnings("unused")
\r
36 private STEPControl_StepModelType() {
\r
37 this.swigValue = SwigNext.next++;
\r
40 @SuppressWarnings("unused")
\r
41 private STEPControl_StepModelType(int swigValue) {
\r
42 this.swigValue = swigValue;
\r
43 SwigNext.next = swigValue+1;
\r
46 @SuppressWarnings("unused")
\r
47 private STEPControl_StepModelType(STEPControl_StepModelType swigEnum) {
\r
48 this.swigValue = swigEnum.swigValue;
\r
49 SwigNext.next = this.swigValue+1;
\r
52 private final int swigValue;
\r
54 private static class SwigNext {
\r
55 private static int next = 0;
\r