[omniORB] C++ mapping of out parameters (omniORB 3.00 pre1)

Christof Meerwald cmeerw@htl.fh-sbg.ac.at
Tue, 28 Sep 1999 23:23:26 +0200


Given the following IDL:

interface test
{
  typedef sequence<octet> OctetSeq;

  void method(out OctetSeq out_param);
};


I'm wondering why omniidl produces the following C++ header file:


class _impl_test :
  public virtual omniServant
{
public:
  virtual ~_impl_test();

  virtual void method(test::OctetSeq*& out_param) = 0;
  // shouldn't this be:
  // virtual void method(test::OctetSeq_out out_param) = 0;

// ...
};


class POA_test :
    public virtual _impl_test,
    public virtual PortableServer::ServantBase
{
// ...



bye, Christof

-- 
Don't hate yourself in the morning... sleep until noon!