All Downloads are FREE. Search and download functionalities are using the official Maven repository.

upm_md.MD_STEP_DIRECTION_T Maven / Gradle / Ivy

The newest version!
/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version 4.0.0
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */

package upm_md;

public final class MD_STEP_DIRECTION_T {
  public final static MD_STEP_DIRECTION_T MD_STEP_DIR_CCW = new MD_STEP_DIRECTION_T("MD_STEP_DIR_CCW", javaupm_mdJNI.MD_STEP_DIR_CCW_get());
  public final static MD_STEP_DIRECTION_T MD_STEP_DIR_CW = new MD_STEP_DIRECTION_T("MD_STEP_DIR_CW", javaupm_mdJNI.MD_STEP_DIR_CW_get());

  public final int swigValue() {
    return swigValue;
  }

  public String toString() {
    return swigName;
  }

  public static MD_STEP_DIRECTION_T swigToEnum(int swigValue) {
    if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
      return swigValues[swigValue];
    for (int i = 0; i < swigValues.length; i++)
      if (swigValues[i].swigValue == swigValue)
        return swigValues[i];
    throw new IllegalArgumentException("No enum " + MD_STEP_DIRECTION_T.class + " with value " + swigValue);
  }

  private MD_STEP_DIRECTION_T(String swigName) {
    this.swigName = swigName;
    this.swigValue = swigNext++;
  }

  private MD_STEP_DIRECTION_T(String swigName, int swigValue) {
    this.swigName = swigName;
    this.swigValue = swigValue;
    swigNext = swigValue+1;
  }

  private MD_STEP_DIRECTION_T(String swigName, MD_STEP_DIRECTION_T swigEnum) {
    this.swigName = swigName;
    this.swigValue = swigEnum.swigValue;
    swigNext = this.swigValue+1;
  }

  private static MD_STEP_DIRECTION_T[] swigValues = { MD_STEP_DIR_CCW, MD_STEP_DIR_CW };
  private static int swigNext = 0;
  private final int swigValue;
  private final String swigName;
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy