import com.rti.dds.typecode.*;
public class HelloWorldTypeCode {
public static final TypeCode VALUE_WO_MEMBERS = getTypeCodeWOMembers();
@SuppressWarnings("cast")
public static TypeCode getTypeCodeWOMembers() {
TypeCode tc = null;
StructMember sm[]=new StructMember[0];
Annotations annotation = new Annotations();
annotation.allowed_data_representation_mask(5);
tc = TypeCodeFactory.TheTypeCodeFactory.create_struct_tc("HelloWorld",ExtensibilityKind.EXTENSIBLE_EXTENSIBILITY, sm , annotation); return tc;
}
public static final TypeCode VALUE = getTypeCode();
@SuppressWarnings("cast")
private static TypeCode getTypeCode() {
TypeCode tc = null;
int __i=0;
StructMember sm[]=new StructMember[1];
Annotations memberAnnotations = null;
memberAnnotations = new Annotations();
memberAnnotations.default_annotation(AnnotationParameterValue.ZERO_LONG);
memberAnnotations.min_annotation(AnnotationParameterValue.MIN_LONG);
memberAnnotations.max_annotation(AnnotationParameterValue.MAX_LONG);
sm[__i] = new StructMember("data", false, (short)-1, false, TypeCode.TC_LONG, 0, false, memberAnnotations , false );__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;
}
}