/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). * Version 4.4.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package upm_bmx055; public final class BMM150_INT_STATUS_BITS_T { public final static BMM150_INT_STATUS_BITS_T BMM150_INT_STATUS_LOW_INT_X = new BMM150_INT_STATUS_BITS_T("BMM150_INT_STATUS_LOW_INT_X", javaupm_bmx055JNI.BMM150_INT_STATUS_LOW_INT_X_get()); public final static BMM150_INT_STATUS_BITS_T BMM150_INT_STATUS_LOW_INT_Y = new BMM150_INT_STATUS_BITS_T("BMM150_INT_STATUS_LOW_INT_Y", javaupm_bmx055JNI.BMM150_INT_STATUS_LOW_INT_Y_get()); public final static BMM150_INT_STATUS_BITS_T BMM150_INT_STATUS_LOW_INT_Z = new BMM150_INT_STATUS_BITS_T("BMM150_INT_STATUS_LOW_INT_Z", javaupm_bmx055JNI.BMM150_INT_STATUS_LOW_INT_Z_get()); public final static BMM150_INT_STATUS_BITS_T BMM150_INT_STATUS_HIGH_INT_X = new BMM150_INT_STATUS_BITS_T("BMM150_INT_STATUS_HIGH_INT_X", javaupm_bmx055JNI.BMM150_INT_STATUS_HIGH_INT_X_get()); public final static BMM150_INT_STATUS_BITS_T BMM150_INT_STATUS_HIGH_INT_Y = new BMM150_INT_STATUS_BITS_T("BMM150_INT_STATUS_HIGH_INT_Y", javaupm_bmx055JNI.BMM150_INT_STATUS_HIGH_INT_Y_get()); public final static BMM150_INT_STATUS_BITS_T BMM150_INT_STATUS_HIGH_INT_Z = new BMM150_INT_STATUS_BITS_T("BMM150_INT_STATUS_HIGH_INT_Z", javaupm_bmx055JNI.BMM150_INT_STATUS_HIGH_INT_Z_get()); public final static BMM150_INT_STATUS_BITS_T BMM150_INT_STATUS_OVERFLOW = new BMM150_INT_STATUS_BITS_T("BMM150_INT_STATUS_OVERFLOW", javaupm_bmx055JNI.BMM150_INT_STATUS_OVERFLOW_get()); public final static BMM150_INT_STATUS_BITS_T BMM150_INT_STATUS_DATA_OVERRUN = new BMM150_INT_STATUS_BITS_T("BMM150_INT_STATUS_DATA_OVERRUN", javaupm_bmx055JNI.BMM150_INT_STATUS_DATA_OVERRUN_get()); public final int swigValue() { return swigValue; } public String toString() { return swigName; } public static BMM150_INT_STATUS_BITS_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 " + BMM150_INT_STATUS_BITS_T.class + " with value " + swigValue); } private BMM150_INT_STATUS_BITS_T(String swigName) { this.swigName = swigName; this.swigValue = swigNext++; } private BMM150_INT_STATUS_BITS_T(String swigName, int swigValue) { this.swigName = swigName; this.swigValue = swigValue; swigNext = swigValue+1; } private BMM150_INT_STATUS_BITS_T(String swigName, BMM150_INT_STATUS_BITS_T swigEnum) { this.swigName = swigName; this.swigValue = swigEnum.swigValue; swigNext = this.swigValue+1; } private static BMM150_INT_STATUS_BITS_T[] swigValues = { BMM150_INT_STATUS_LOW_INT_X, BMM150_INT_STATUS_LOW_INT_Y, BMM150_INT_STATUS_LOW_INT_Z, BMM150_INT_STATUS_HIGH_INT_X, BMM150_INT_STATUS_HIGH_INT_Y, BMM150_INT_STATUS_HIGH_INT_Z, BMM150_INT_STATUS_OVERFLOW, BMM150_INT_STATUS_DATA_OVERRUN }; private static int swigNext = 0; private final int swigValue; private final String swigName; }