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 15. C++ Mapping for Type any

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.

15.2 Introduction

The IDL type any provides a universal type that can hold a value of arbitrary IDL type. Type any therefore ...

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