CORBA IDL items read inheritance, attributes and oneway, with lint and GIOP-aware diff rules
A CORBA IDL file now imports with everything the catalog does for a modern contract: the whole interface set, native lint rules that catch what an IDL compiler would reject, and a comparison that follows how CORBA calls and encodes. Import CORBA IDL (OMG IDL) definitions.
- Inheritance. An interface that inherits from another (
interface Account : Auditable) was dropped before; it now imports, with the operations and attributes it inherits. - Attributes and oneway. An
attributebecomes the_get_/_set_operations CORBA calls (only_get_when it isreadonly), and aonewayoperation is one-way with no reply. Before, attributes were skipped andonewayended up in the return type. - Lint. The
corbaidlpack flags:- an undeclared type, and a
raisesthat names something other than an exception; - an exception used as a value, and a
onewayoperation that returns a value or raises; - operation, member or parameter names that differ only in case, and IDL keywords used as names;
- inheritance cycles and undeclared base interfaces;
anyand untypedObjectvalues (as info).
- an undeclared type, and a
- Diff. CORBA encodes by position, so a parameter or struct member added, removed, moved
or re-typed is breaking, as are a changed direction, a narrowed bound, a shifted enum ordinal
and a removed base interface. A new
raisesexception or an enumerator appended at the end is dangerous, and a renamed parameter is safe. - One-time version change. The first re-import of an existing CORBA item that uses
inheritance, attributes or
onewayis recorded as a changed version.
