J-Integra® Espresso Programming Documentation (API)

ORB.create_union_tc Method

Creates a TypeCode object representing an IDL union. The TypeCode object is initialized with the given id, name, discriminator type, and members.

Ics.CORBA.TypeCode create_union_tc(
 string id,
 string name,
 Ics.CORBA.TypeCode discriminator_type,
 UnionMember[] members
);

Parameters

id
the repository id for the union.
name
the name for the union.
discriminator_type
the type of the union discriminator.
members
an array describing the members of the union.

Return Value

the newly-created TypeCode object describing an IDL union.

Remarks

none

Exceptions

none

See Also

ORB Interface | ORB Members | Ics Namespace