[Enterprise Extensions only]

TypeCode::member_count

Overview Returns the number of members in a structure, union, enumeration, or exception.
Original class CORBA::TypeCode
Exceptions CORBA::SystemException
CORBA::TypeCode::BadKind


Intended Usage

The member_count method can be invoked on structure, union, enumeration, and exception TypeCodes. The member_count method returns the number of members constituting the type.

IDL Syntax

  CORBA::ULong member_count() const;

Input parameters

None.

Return values

CORBA::ULong
The number of members in the structure, union, enumeration, or exception.