Overview | The UnionDef interface is used within the Interface Repository to represent an OMG IDL union definition. |
File name | wasir.idl |
Local-only | True |
Ancestor interfaces | TypedefDef Interface |
Exceptions | CORBA::SystemException |
Supported operations | UnionDef::discriminator_type |
UnionDef::discriminator_type_def | |
UnionDef::members | |
IDLType::type |
Intended Usage
An instance of a UnionDef object is used within the Interface Repository to represent an OMG IDL union definition. An instance of a UnionDef object can be created using the create_union operation of the Container interface.
Syntax
module CORBA { struct UnionMember { Identifier name; anylabel; Typecode type; IDLType type_def; }; typedef sequence UnionMemberSeq; interface UnionDef:TypedefDef { readonlyattribute TypeCode discriminator_type; attribute IDLType discriminator_type_def; attribute UnionMemberSeq members; }; };