Previous Table of Contents Next


10.5.18 SequenceDef


   A SequenceDef represents an IDL sequence type. As sequence types are anonymous, this interface is not derived from TypedefDef or Contained.

   module CORBA {

   interface SequenceDef : IDLType { attribute unsigned long bound; readonly attribute TypeCode element_type; attribute IDLType element_type_def;

   };};

   10.5.18.1 Read Interface

   The bound attribute specifies the maximum number of elements in the sequence. A bound of zero indicates an unbounded sequence.

   The type of the elements is described by element_type and identified by element_type_def. The inherited type attribute is a tk_sequence TypeCode describing the sequence.

   10.5.18.2 Write Interface

   Setting the element_type_def attribute also updates the element_type attribute. Setting the bound or element_type_def attribute also updates the type attribute.