Chapter 17. Type DynAny

17.1 Chapter Overview

This chapter discusses the DynAny interface and its derived interfaces. The DynAny interface permits you to compose and decompose complex values at run time even without compile-time knowledge of the IDL definitions involved. Section 17.3 presents the IDL and functionality for DynAny and its derived types. Section 17.4 explains how to use DynAny from C++, and Sections 17.5 and 17.6 present a few applications of DynAny.

17.2 Introduction

As you saw in Chapters 15 and 16, to insert a user-defined value into an Any you must have compile-time knowledge of the corresponding IDL type because to insert a value into an Any, you must use the corresponding overloaded <= operator generated by the IDL compiler. ...

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.