Next Previous Up Top Contents Index

A.4 Mapping in more detail

A.4.14 Mapping for union

An IDLunion is mapped to a Lisp type named by the corresponding scoped symbol. This type is a subtype ofcorba:union.

The value of the discriminator can be accessed using the accessor function namedunion-discriminator whose home package is theoperation package and using an initialization argument named:union-discriminator.

The value can be accessed using the accessor function namedunion-value in theoperation package with initialization argument:union-value.

An IDLunion has a corresponding constructor whose name is the same as the name of the type. This constructor takes two constructors whose names are :union-value and:union-discriminator.

A.4.14.1 - Member accessors

Developing Component Software with CORBA - 22 Jan 1999

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker