C++ bindings for CORBA: Narrowing to a C++ implementation

Given an interface pointer to an object, it can be useful to narrow to the implementation pointer of the object. For example, given interface I, the C++ implementation hierarchy for I might look like the following:

          I
          ^
          |
       I_Skeleton
          ^
          |
        I_Impl

You might convert a pointer to I into a pointer to I_Impl. There is no CORBA-prescribed mechanism for this conversion. Within the confines of the C++ language, you can use dynamic cast.


Related reference
CORBA C++ bindings for interfaces



Searchable topic ID:   rcor_copnci
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_copnci.html

Library | Support | Terms of Use | Feedback