The typedef keyword allows you define a meaningful or simpler name for an IDL type.
module Finance { interface Account { ... }; typedef Account StandardAccount; };
The identifier StandardAccount
can act as an alias for type Account
in
subsequent IDL definitions. Note that CORBA does not specify whether the
identifiers Account
and StandardAccount
represent distinct IDL data types in
this example.