Chapter 15. C++ Mapping for Type
15.1 Chapter Overview
This chapter covers the C++ mapping for the IDL type
any. Section 15.2 presents the basic ideas behind this universal container type, and Section 15.3 shows how any maps to C++ for the different IDL data types.
To store its data, type
any relies on a run-time description known as a type code. Type codes are covered in detail in Chapter 16. In addition, CORBA offers an interface that allows dynamic composition and decomposition of
any values at run time without requiring compile-time knowledge of the IDL. This interface, called
DynAny, is covered in Chapter 17.
The IDL type
any provides a universal type that can hold a value of arbitrary IDL type. Type
any therefore ...