CORBA IDL Features (cont’d)
Strong typing (like C++), but support for any and Object type:
- An any can hold any other type, including other anys.
- The any type provides type-save insertion and extraction functions
- All interfaces share Object as common root base interface
- Object references can be “widened” to base interfaces and “narrowed” to derived interfaces
Run-Time Type Identification with TypeCode