[Dynamite] idiot question

Ian Holmes ihh@fruitfly.org
Tue, 7 Mar 2000 16:24:47 -0800 (PST)


On Wed, 8 Mar 2000, Ewan Birney wrote:

> 
> Why doesn't writeablemodel inheriet from model?
> 

It did at first, then I changed it, now I've changed it back again.

I had some kooky idea that you might want to call a different object to do
the writing, then I abandoned that.

> 
> Hmmm. We need a mapping for sequence<type> as well.
> 
> is 
> 
> typedef sequence<type> TypeList;
> 
> go to
> 
> struct TypeList {
>   Type * _buffer; // deliberately copying C CORBA mapping
>   int  _length;
> };
> 
> (?)
> 

Looks good. You will also need a buffer size in there I guess. And
add/delete methods.

Ian