Previous Table of Contents Next


10.5.30 ValueMemberDef


   A ValueMemberDef IR Object represents a value member.

   module CORBA {

   typedef short Visibility; const Visibility PRIVATE_MEMBER = 0; const Visibility PUBLIC_MEMBER = 1;

   struct ValueMember { Identifier name; RepositoryId id; RepositoryId defined_in; VersionSpec version; TypeCode type; IDLType type_def; Visibility access;

   }; typedef sequence <ValueMember> ValueMemberSeq; interface ValueMemberDef : Contained {

readonly attribute TypeCode type;
attribute IDLType type_def;
attribute Visibility access;
};
};
10.5.30.1 Read Interface

   The type attribute provides the TypeCode describing the type of this value member. The type_def attribute identifies the object defining the type of this value member. The access attribute specifies private or public access for this value member. The describe operation for a ValueMemberDef object returns a ValueMember.

   10.5.30.2 Write Interface

   Setting the type_def attribute also updates the type attribute.