[$(HOME)/rti_workspace//examples/connext_dds/java/hello_world_wan/HelloWorldTypeCode.java]
import com.rti.dds.typecode.*;
public class HelloWorldTypeCode {
public static final TypeCode VALUE = getTypeCode();
private static TypeCode getTypeCode() {
TypeCode tc = null;
int __i=0;
StructMember sm[]=new StructMember[1];
Annotations memberAnnotation;
memberAnnotation = new Annotations();
memberAnnotation.default_annotation(AnnotationParameterValue.EMPTY_STRING);
sm[__i] = new StructMember("msg", false, (short)-1, false, new TypeCode(TCKind.TK_STRING,128), 0, false, memberAnnotation);__i++;
Annotations annotation = new Annotations();
annotation.allowed_data_representation_mask(5);
tc = TypeCodeFactory.TheTypeCodeFactory.create_struct_tc("HelloWorld",ExtensibilityKind.EXTENSIBLE_EXTENSIBILITY, sm , annotation);
return tc;
}
}