Defining a CORBA union by using stereotypes

Before you begin

Note: This is no longer the recommended procedure for defining CORBA unions. Use the procedure described in Defining CORBA unions instead.

Procedure

  1. Create a type inside a <<CORBA Module>> package or <<CORBA Interface>> class.
  2. On the General tab of the Features window for the type, select Language from the Kind list.
  3. On the Declaration tab of the Features window, enter the code for the union.
  4. Click OK.
  5. Set the CORBA::Type::CORBAStereotype property to CORBAFixedUnion or CORBAVariableUnion.

Feedback