00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 package cast.cdl;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00026 public enum ComponentLanguage implements java.io.Serializable
00027 {
00028
00029 CPP,
00030
00031 JAVA,
00032
00033 PYTHON;
00034
00035 public void
00036 __write(IceInternal.BasicStream __os)
00037 {
00038 __os.writeByte((byte)ordinal());
00039 }
00040
00041 public static ComponentLanguage
00042 __read(IceInternal.BasicStream __is)
00043 {
00044 int __v = __is.readByte(3);
00045 return values()[__v];
00046 }
00047
00048 public void
00049 ice_write(Ice.OutputStream __outS)
00050 {
00051 __outS.writeByte((byte)ordinal());
00052 }
00053
00054 public static ComponentLanguage
00055 ice_read(Ice.InputStream __inS)
00056 {
00057 int __v = __inS.readByte();
00058 if(__v < 0 || __v >= 3)
00059 {
00060 throw new Ice.MarshalException("enumerator out of range");
00061 }
00062 return values()[__v];
00063 }
00064 }