Previous Table of Contents Next


10.5.12 EnumDef


   An EnumDef represents an OMG IDL enumeration definition.

   module CORBA { typedef sequence <Identifier> EnumMemberSeq;

   interface EnumDef : TypedefDef { attribute EnumMemberSeq members; }; };

   10.5.12.1 Read Interface

   The members attribute contains a distinct name for each possible value of the enumeration.

   The inherited type attribute is a tk_enum TypeCode describing the enumeration.

   10.5.12.2 Write Interface

   Setting the members attribute also updates the type attribute.