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
00023 public enum WorkingMemoryOperation implements java.io.Serializable
00024 {
00025
00026 ADD,
00027
00028 OVERWRITE,
00029
00030 DELETE,
00031
00032 GET,
00033
00034 WILDCARD;
00035
00036 public void
00037 __write(IceInternal.BasicStream __os)
00038 {
00039 __os.writeByte((byte)ordinal());
00040 }
00041
00042 public static WorkingMemoryOperation
00043 __read(IceInternal.BasicStream __is)
00044 {
00045 int __v = __is.readByte(5);
00046 return values()[__v];
00047 }
00048
00049 public void
00050 ice_write(Ice.OutputStream __outS)
00051 {
00052 __outS.writeByte((byte)ordinal());
00053 }
00054
00055 public static WorkingMemoryOperation
00056 ice_read(Ice.InputStream __inS)
00057 {
00058 int __v = __inS.readByte();
00059 if(__v < 0 || __v >= 5)
00060 {
00061 throw new Ice.MarshalException("enumerator out of range");
00062 }
00063 return values()[__v];
00064 }
00065 }