|
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 UTransmitFormat { 00012 URBI_TRANSMIT_JPEG, 00013 URBI_TRANSMIT_YCbCr; 00014 00015 public final int swigValue() { 00016 return swigValue; 00017 } 00018 00019 public static UTransmitFormat swigToEnum(int swigValue) { 00020 UTransmitFormat[] swigValues = UTransmitFormat.class.getEnumConstants(); 00021 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) 00022 return swigValues[swigValue]; 00023 for (UTransmitFormat swigEnum : swigValues) 00024 if (swigEnum.swigValue == swigValue) 00025 return swigEnum; 00026 throw new IllegalArgumentException("No enum " + UTransmitFormat.class + " with value " + swigValue); 00027 } 00028 00029 @SuppressWarnings("unused") 00030 private UTransmitFormat() { 00031 this.swigValue = SwigNext.next++; 00032 } 00033 00034 @SuppressWarnings("unused") 00035 private UTransmitFormat(int swigValue) { 00036 this.swigValue = swigValue; 00037 SwigNext.next = swigValue+1; 00038 } 00039 00040 @SuppressWarnings("unused") 00041 private UTransmitFormat(UTransmitFormat swigEnum) { 00042 this.swigValue = swigEnum.swigValue; 00043 SwigNext.next = this.swigValue+1; 00044 } 00045 00046 private final int swigValue; 00047 00048 private static class SwigNext { 00049 private static int next = 0; 00050 } 00051 } 00052