[Dynamite] Is this working now then?

Ewan Birney birney@ebi.ac.uk
Mon, 6 Mar 2000 04:50:56 +0000 (GMT)


On Sun, 5 Mar 2000, Ian Holmes wrote:

> On Mon, 6 Mar 2000, Ewan Birney wrote:
> 
> > Annoying part of CORBA spec -
> > 
> > FILE's are not directly supported so you have to roll your own which
> > look like
> > 
> >    interface MyReadFile {
> > 	string get_next_line; // undefined length. Yuk.
> > 	};
> > 
> >    interface MyWriteFile {
> > 	void write_line(in string);
> >    };
> > 
> > This drives everyone nuts and people roll their own all over the shop
> > (look at the Gnome bonoboo spec for an example of this. If we go for
> > file support inside our stuff - this is what we should use).
> > 
> > 
> > Re: string or FILE -
> > 
> > I settled on FILE because then you can have one dump easily chain 
> > to the _dumps on its sub-object and everthing work well. Of course
> > strings are nicer for the smaller objects, files for the larger
> > ones.
> 
> OK, this actually soothes my fears...
> 
> MyWriteFile is better than string, because MyWriteFile can actually be a
> *wrapper* for a string, so both cases are covered. OTOH, a C FILE
> structure can't be a wrapper for a string, AFAIK.
> 

I think you can do it - but only by really arsing around with system
stuff. 

So - shall I dig out the bonoboo stuff for us to figure out what
to steal from them?


> 
> _______________________________________________
> Dynamite mailing list  -  Dynamite@bioperl.org
> http://www.bioperl.org/mailman/listinfo/dynamite
>