00001 package Sct_CalibrationController.CalibrationControllerPackage;
00002
00003
00019 abstract public class UpdateOptionHelper
00020 {
00021 private static String _id = "IDL:Sct_CalibrationController/CalibrationController/UpdateOption:1.0";
00022
00023 public static void insert (org.omg.CORBA.Any a, Sct_CalibrationController.CalibrationControllerPackage.UpdateOption that)
00024 {
00025 org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
00026 a.type (type ());
00027 write (out, that);
00028 a.read_value (out.create_input_stream (), type ());
00029 }
00030
00031 public static Sct_CalibrationController.CalibrationControllerPackage.UpdateOption extract (org.omg.CORBA.Any a)
00032 {
00033 return read (a.create_input_stream ());
00034 }
00035
00036 private static org.omg.CORBA.TypeCode __typeCode = null;
00037 synchronized public static org.omg.CORBA.TypeCode type ()
00038 {
00039 if (__typeCode == null)
00040 {
00041 __typeCode = org.omg.CORBA.ORB.init ().create_enum_tc (Sct_CalibrationController.CalibrationControllerPackage.UpdateOptionHelper.id (), "UpdateOption", new String[] { "update", "noupdate", "wait"} );
00042 }
00043 return __typeCode;
00044 }
00045
00046 public static String id ()
00047 {
00048 return _id;
00049 }
00050
00051 public static Sct_CalibrationController.CalibrationControllerPackage.UpdateOption read (org.omg.CORBA.portable.InputStream istream)
00052 {
00053 return Sct_CalibrationController.CalibrationControllerPackage.UpdateOption.from_int (istream.read_long ());
00054 }
00055
00056 public static void write (org.omg.CORBA.portable.OutputStream ostream, Sct_CalibrationController.CalibrationControllerPackage.UpdateOption value)
00057 {
00058 ostream.write_long (value.value ());
00059 }
00060
00061 }