Types and values

Instructor's Guide

introduction example types operations inheritance bindings
The operations specified in an interface may result in a value and may take particular values as arguments. The type of a value must either exist as a basic type or be specified in IDL.

Basic types

Constructed types

Object references

slide: Types and values

Basic types encompass integers, reals, booleans, enumerations and strings. There is also a generic type, any, which allows for checking the actual type dynamically. Constructed types include record structures (struct), tagged unions, sequences and arrays.

Interfaces specify object types. However, a value that identifies an object is always a reference to the object. In CORBA 2.0 it is not possible to send objects by value. As a workaround, one may send records by value and then locally instantiate an object.