CORBADEV: Re: [Biocorba-l] report on Anys in CORBA::ORBit
Philip Lijnzaad
lijnzaad@ebi.ac.uk
Tue, 12 Jun 2001 15:58:42 +0100
On Tue, 12 Jun 2001 15:25:11 +0100 (BST),
"Ewan" == Ewan Birney <birney@ebi.ac.uk> wrote:
Ewan> Hmmm. This confirms my suspicisions. I would suspect a similar mess in
Ewan> fnorb/omniorb python.
Apparently omniorb python 'works better' (more stable, more features, I
don't know) than PyORBit. E.g., in contrast to perl-orbit, omniPy has
extensive documentation on anys. ORBit appears stronger on DynAnys.
Ewan> I am all for using strings in name-value pairs. Nearly all current uses of
Ewan> name value pairs are string-compatible (a string, a number or a float).
Ewan> anys just make life difficult and annoying. My 2p.
It's just that ORBit doesn't do anys too well; it's not fully interoperable,
and it's not documented (although the C-language mapping isn't particularly
helpful either). But if it would work interoperably, then I think being able
to create general, preparsed foobars as
my $any = new CORBA::Any (CORBA::TypeCode->new('IDL:module/foobar:1.0'),
{ foo => 'asdf', bar => 42 });
isn't so bad.
Philip
--
If you have a procedure with 10 parameters, you probably missed some. (Kraulis)
-----------------------------------------------------------------------------
Philip Lijnzaad, lijnzaad@ebi.ac.uk \ European Bioinformatics Institute,rm A2-08
+44 (0)1223 49 4639 / Wellcome Trust Genome Campus, Hinxton
+44 (0)1223 49 4468 (fax) \ Cambridgeshire CB10 1SD, GREAT BRITAIN