[omniORB] simple problem: ClassA getClassA();

André Dammeyer adam@tzi.de
Fri, 22 Sep 2000 12:01:49 +0200


Hello *,

i am a novice to CORBA programming and have a simple question to you:
I have the following idl:
>#ifndef __TEST_IDL__
>#define __TEST_IDL__
>
>interface ClassA {
>	void	test();
>};
>
>interface ClassB {
>	ClassA getClassA();
>	void	test();
>};
>#endif

And now my question is, how do i have to implement the method
"ClassA getClassA();" ? It should return a pointer to a new ClassA object.

It would be nice if one of you could give me a hint. I did not find anything
in the examples for this problem.

Best regards,
   André

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>
Business:

Dipl. Inform. André Dammeyer

University of Bremen - FB 3 - Computer Science
Center of Computing Technology - Image Processing Department
PO Box 330 440, Universitaetsallee 21-23, D-28359 Bremen

HP    : http://www.andre-dammeyer.de
eMail : mail@andre-dammeyer.de
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>