[Biocorba-l] BSANE and bioCORBA
Alan Robinson
alan@ebi.ac.uk
Fri, 1 Jun 2001 13:40:46 +0100 (GMT Daylight Time)
On Thu, 31 May 2001, Ewan Birney wrote:
> The other thing I would *really* like is to remove the
>
> get_PrimarySeqVector
>
> from PrimarySeqDB and replace it with
>
>
> get_PrimarySeqIterator
>
>
> The vector call is almost unimplementable for most DB implementations I
> have got, where as the Iterator is trivially implementable. Alan - this is
> your baby here - can we change this?
I'll contend that it was not me that wanted vectors!!
I'd go a step further and ask if we need Vector objects at all in the IDL?
I'm happy to go with just having Iterators (N.B. having an optional
'size()' method *might* be handy, so you have an idea how many objects are
in the collection [returns '-1' if unknown, or throws an 'unknown'
exception?]).
Alan.
--
============================================================
Alan J. Robinson, D.Phil. Tel:+44-(0)1223 494444
European Bioinformatics Institute Fax:+44-(0)1223 494468
EMBL Outstation - Hinxton Email: alan@ebi.ac.uk
Wellcome Trust Genome Campus
Hinxton, Cambridge
CB10 1SD, UK http://industry.ebi.ac.uk/~alan/
============================================================