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 WorkingMemoryPermissions implements java.io.Serializable
00024 {
00025
00026 LOCKEDO,
00027
00028 LOCKEDOD,
00029
00030 LOCKEDODR,
00031
00032 UNLOCKED,
00033
00034 DOESNOTEXIST,
00035
00039 ALREADYLOCKED;
00040
00041 public void
00042 __write(IceInternal.BasicStream __os)
00043 {
00044 __os.writeByte((byte)ordinal());
00045 }
00046
00047 public static WorkingMemoryPermissions
00048 __read(IceInternal.BasicStream __is)
00049 {
00050 int __v = __is.readByte(6);
00051 return values()[__v];
00052 }
00053
00054 public void
00055 ice_write(Ice.OutputStream __outS)
00056 {
00057 __outS.writeByte((byte)ordinal());
00058 }
00059
00060 public static WorkingMemoryPermissions
00061 ice_read(Ice.InputStream __inS)
00062 {
00063 int __v = __inS.readByte();
00064 if(__v < 0 || __v >= 6)
00065 {
00066 throw new Ice.MarshalException("enumerator out of range");
00067 }
00068 return values()[__v];
00069 }
00070 }