
The
DynUnion interface represents a
DynAny object
that is associated with an IDL union.
Union values can be traversed using the operations defined in
DynAny.
The first component in the union corresponds to the discriminator;
the second corresponds to the actual value of the union.
Calling the method
next() twice allows you to access both components.