Chapter 16. Type Codes

16.1 Chapter Overview

This chapter explains the internals of type codes, which are used to carry runtime descriptions of types. Section 16.3 presents the IDL interface for the TypeCode pseudo-object and shows how a type code encodes the details of the IDL type it describes. Section 16.4 explains the C++ mapping for type codes and presents the source code for a decoder that can recursively examine how an IDL type is composed from basic types. Section 16.5 discusses issues related to type code comparison and explains what it means for two types to be the same. Section 16.6 shows how the C++ mapping presents type codes for built-in and user-defined types as constants, and Section 16.7 shows how you can preserve aliasing ...

Get Advanced CORBA® Programming with C++ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.