[omniORB] class constructors
Marco Verlato
marco.verlato@pd.infn.it
Mon, 18 Dec 2000 16:35:12 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_003C_01C06910.7E11E8B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
This is a question concerning more CORBA than omniORB, but perhaps here =
someone can help me.=20
I`m using omniORB 3.0.2 to build a CORBA server in C++, so i map IDL =
intefaces to C++ classes with attributes and methods to be called by =
remote clients. I would like to have classes with a constructor which =
takes a parameter to initialize for example a private variable of that =
class, but the IDL interface statement does not accept "in" parameters, =
how can i achieve this?
Thanks in advance, Marco.=20
------=_NextPart_000_003C_01C06910.7E11E8B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>This is a question concerning more CORBA than =
omniORB, but=20
perhaps here someone can help me. </FONT></DIV>
<DIV><FONT size=3D2>I`m using omniORB 3.0.2 to build a CORBA server in =
C++, so i=20
map IDL intefaces to C++ classes with attributes and methods to be =
called=20
by remote clients. I would like to have classes with a constructor which =
takes a=20
parameter to initialize for example a private variable of that class, =
but the=20
IDL interface statement does not accept "in" parameters, how can i =
achieve=20
this?</FONT></DIV>
<DIV><FONT size=3D2>Thanks in advance, Marco. </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_003C_01C06910.7E11E8B0--