O'Reilly logo

Advanced CORBA® Programming with C++ by Steve Vinoski, Michi Henning

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required