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 6. Basic IDL-to-C++ Mapping

6.1 Chapter Overview

This chapter explains how IDL types are mapped to their corresponding C++ types by an IDL compiler. Sections 6.3 to 6.8 cover identifiers, modules, and simple IDL types. Section 6.9 covers memory management issues related to variable-length types, and Section 6.10 presents detailed examples of memory management for strings. Sections 6.11 and 6.12 discuss the mapping for wide strings and fixed-point types. The mapping for user-defined complex types is covered in Sections 6.13 to 6.18. Section 6.19 shows how smart pointers can eliminate the need to take care of memory management.

This chapter does not cover all of the mapping. Chapter 7 presents the client-side mapping for operations and ...

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