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
Create a type inside a
<
<CORBA Module>
>
package or
<
<CORBA Interface>
>
class.
On the
General
tab of the Features window for the type, select
Language
from the
Kind
list.
On the
Declaration
tab of the Features window, enter the code for the union.
Click
OK
.
Set the
CORBA::Type::CORBAStereotype
property to
CORBAFixedUnion
or
CORBAVariableUnion
.
Feedback