]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_Orientation.java
Remove dependencies on log4j
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / TopAbs_Orientation.java
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 3.0.12
4  *
5  * Do not make changes to this file unless you know what you are doing--modify
6  * the SWIG interface file instead.
7  * ----------------------------------------------------------------------------- */
8
9 package org.jcae.opencascade.jni;
10
11 public enum TopAbs_Orientation {
12   FORWARD,
13   REVERSED,
14   INTERNAL,
15   EXTERNAL;
16
17   public final int swigValue() {
18     return swigValue;
19   }
20
21   public static TopAbs_Orientation swigToEnum(int swigValue) {
22     TopAbs_Orientation[] swigValues = TopAbs_Orientation.class.getEnumConstants();
23     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
24       return swigValues[swigValue];
25     for (TopAbs_Orientation swigEnum : swigValues)
26       if (swigEnum.swigValue == swigValue)
27         return swigEnum;
28     throw new IllegalArgumentException("No enum " + TopAbs_Orientation.class + " with value " + swigValue);
29   }
30
31   @SuppressWarnings("unused")
32   private TopAbs_Orientation() {
33     this.swigValue = SwigNext.next++;
34   }
35
36   @SuppressWarnings("unused")
37   private TopAbs_Orientation(int swigValue) {
38     this.swigValue = swigValue;
39     SwigNext.next = swigValue+1;
40   }
41
42   @SuppressWarnings("unused")
43   private TopAbs_Orientation(TopAbs_Orientation swigEnum) {
44     this.swigValue = swigEnum.swigValue;
45     SwigNext.next = this.swigValue+1;
46   }
47
48   private final int swigValue;
49
50   private static class SwigNext {
51     private static int next = 0;
52   }
53 }
54