[omniORB] String_var vs. String_member

Gary D. Duzan gdd0@gte.com
Mon, 16 Oct 2000 15:06:01 -0400


   According to the CORBA 2.31 C++ Mapping Spec (section 1.10):

===========================================================================
For a string, wide string, or object reference member, the name of
the C++ member's type is not specified by the mapping; therefore,
a compliant program cannot create an object of that type.
===========================================================================

It goes on to list some properties required of the member type.
They are close enough to the _var types that they could be used,
but implementers are free to do whatever they feel is best for
their implementations. OmniORB happens to call theirs "String_member".

					Gary Duzan
					Verizon Laboratories



In Message <39EB5CB5.A0A57814@epitera.com> ,
   Uri <uri@epitera.com> wrote:

=>
=>Hello,
=>Can somebody explain me the difference between String_var and
=>String_member.
=>If I compile the idl file (attached) with ORBACUS idl , anything that
=>was defined as string at idl is mapped to
=>CORBA::String_var .
=>The omniidl , in contrast , mappes it to CORBA::String_member .
=>
=>Thanks,
=>Uri