|
Urbi SDK Remote for Java
2.7.3
|
00001 /* ---------------------------------------------------------------------------- 00002 * This file was automatically generated by SWIG (http://www.swig.org). 00003 * Version 2.0.4 00004 * 00005 * Do not make changes to this file unless you know what you are doing--modify 00006 * the SWIG interface file instead. 00007 * ----------------------------------------------------------------------------- */ 00008 00009 package urbi; 00010 00011 public enum UDataType { 00012 DATA_BINARY(0), 00013 DATA_DICTIONARY(1), 00014 DATA_DOUBLE(2), 00015 DATA_LIST(3), 00016 DATA_STRING(5), 00017 DATA_SLOTNAME(6), 00018 DATA_VOID(7); 00019 00020 public final int swigValue() { 00021 return swigValue; 00022 } 00023 00024 public static UDataType swigToEnum(int swigValue) { 00025 UDataType[] swigValues = UDataType.class.getEnumConstants(); 00026 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) 00027 return swigValues[swigValue]; 00028 for (UDataType swigEnum : swigValues) 00029 if (swigEnum.swigValue == swigValue) 00030 return swigEnum; 00031 throw new IllegalArgumentException("No enum " + UDataType.class + " with value " + swigValue); 00032 } 00033 00034 @SuppressWarnings("unused") 00035 private UDataType() { 00036 this.swigValue = SwigNext.next++; 00037 } 00038 00039 @SuppressWarnings("unused") 00040 private UDataType(int swigValue) { 00041 this.swigValue = swigValue; 00042 SwigNext.next = swigValue+1; 00043 } 00044 00045 @SuppressWarnings("unused") 00046 private UDataType(UDataType swigEnum) { 00047 this.swigValue = swigEnum.swigValue; 00048 SwigNext.next = this.swigValue+1; 00049 } 00050 00051 private final int swigValue; 00052 00053 private static class SwigNext { 00054 private static int next = 0; 00055 } 00056 } 00057