Previous | Table of Contents | Next |
A StructDef represents an OMG IDL structure definition. It can contain structs, unions, and enums.
module CORBA {
struct StructMember { Identifier name; TypeCode type; IDLType type_def;
};
typedef sequence <StructMember> StructMemberSeq;
interface StructDef : TypedefDef, Container { attribute StructMemberSeq members; }; };
10.5.10.1 Read Interface
The members attribute contains a description of each structure member. The inherited type attribute is a tk_struct TypeCode
describing the structure.
10.5.10.2 Write Interface
Setting the members attribute also updates the type attribute. When setting the members attribute, the type member of the
StructMember structure should be set to TC_void.
A StructDef used as a Container may only contain StructDef, UnionDef, or EnumDef definitions.