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 STEPControl_StepModelType {
16 FacetedBrepAndBrepWithVoids,
17 ShellBasedSurfaceModel,
21 public final int swigValue() {
25 public static STEPControl_StepModelType swigToEnum(int swigValue) {
26 STEPControl_StepModelType[] swigValues = STEPControl_StepModelType.class.getEnumConstants();
27 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
28 return swigValues[swigValue];
29 for (STEPControl_StepModelType swigEnum : swigValues)
30 if (swigEnum.swigValue == swigValue)
32 throw new IllegalArgumentException("No enum " + STEPControl_StepModelType.class + " with value " + swigValue);
35 @SuppressWarnings("unused")
36 private STEPControl_StepModelType() {
37 this.swigValue = SwigNext.next++;
40 @SuppressWarnings("unused")
41 private STEPControl_StepModelType(int swigValue) {
42 this.swigValue = swigValue;
43 SwigNext.next = swigValue+1;
46 @SuppressWarnings("unused")
47 private STEPControl_StepModelType(STEPControl_StepModelType swigEnum) {
48 this.swigValue = swigEnum.swigValue;
49 SwigNext.next = this.swigValue+1;
52 private final int swigValue;
54 private static class SwigNext {
55 private static int next = 0;