00001 package sctConf;
00002
00003
00012
00013 abstract public class ABCDConfigHelper
00014 {
00015 private static String _id = "IDL:sctConf/ABCDConfig:1.0";
00016
00017 public static void insert (org.omg.CORBA.Any a, sctConf.ABCDConfig that)
00018 {
00019 org.omg.CORBA.portable.OutputStream out = a.create_output_stream ();
00020 a.type (type ());
00021 write (out, that);
00022 a.read_value (out.create_input_stream (), type ());
00023 }
00024
00025 public static sctConf.ABCDConfig extract (org.omg.CORBA.Any a)
00026 {
00027 return read (a.create_input_stream ());
00028 }
00029
00030 private static org.omg.CORBA.TypeCode __typeCode = null;
00031 private static boolean __active = false;
00032 synchronized public static org.omg.CORBA.TypeCode type ()
00033 {
00034 if (__typeCode == null)
00035 {
00036 synchronized (org.omg.CORBA.TypeCode.class)
00037 {
00038 if (__typeCode == null)
00039 {
00040 if (__active)
00041 {
00042 return org.omg.CORBA.ORB.init().create_recursive_tc ( _id );
00043 }
00044 __active = true;
00045 org.omg.CORBA.StructMember[] _members0 = new org.omg.CORBA.StructMember [1];
00046 org.omg.CORBA.TypeCode _tcOf_members0 = null;
00047 _tcOf_members0 = org.omg.CORBA.ORB.init ().get_primitive_tc (org.omg.CORBA.TCKind.tk_short);
00048 _members0[0] = new org.omg.CORBA.StructMember (
00049 "bitField",
00050 _tcOf_members0,
00051 null);
00052 __typeCode = org.omg.CORBA.ORB.init ().create_struct_tc (sctConf.ABCDConfigHelper.id (), "ABCDConfig", _members0);
00053 __active = false;
00054 }
00055 }
00056 }
00057 return __typeCode;
00058 }
00059
00060 public static String id ()
00061 {
00062 return _id;
00063 }
00064
00065 public static sctConf.ABCDConfig read (org.omg.CORBA.portable.InputStream istream)
00066 {
00067 sctConf.ABCDConfig value = new sctConf.ABCDConfig ();
00068 value.bitField = istream.read_short ();
00069 return value;
00070 }
00071
00072 public static void write (org.omg.CORBA.portable.OutputStream ostream, sctConf.ABCDConfig value)
00073 {
00074 ostream.write_short (value.bitField);
00075 }
00076
00077 }