[Enterprise Extensions only]

CORBA module: StructDef Interface

Overview The StructDef interface is used to represent and OMG IDL structure definition.
File name somir.idl
Local-only True
Ancestor interfaces TypedefDef Interface
Exceptions CORBA::SystemException
Supported operations StructDef::members
IDLType::type


Intended Usage

An instance of a StructDef object is used within the Interface Repository to represent an OMG IDL structure definition. An instance of a StructDef can be created using the create_struct operation of the Container interface.

IDL syntax

  module CORBA
     {
        struct StructMember
        {
           Identifier name;
           TypeCode type;
           IDLType type_def;
        };
        typedef sequence  StructMemberSeq;
        interface StructDef: TypedefDef
        {
           attribute StructMemberSeq members;
        };
     };