[omniORB] omniidl: bounded sequences

Adriaan Joubert a.joubert@albourne.com
Thu, 18 May 2000 16:39:05 +0300


Hi,

    I've just started using omniORB3 and I think there is a problems
with the bindings that omniidl generates.

If I have a bounded sequence, e.g.

typedef sequence<octet,1500> seq_t;

omniidl does not emit a constructor of the form

    seq_t (long len, T *value, bool release=0)

This constructor is in the seqtemplates.h file and according to the C++
binding from OMG is mandatory. For unbounded sequences it does get
generated.

Adriaan Joubert