Re: typed BonoboStreams



Hi Dan,

On Fri, 19 May 2000, Dan Winship wrote:
> >     I think then, that perhaps the best way to do this, is all in the
> > Persist Interface, thus:
> >
> >             void save (in Bonobo::Stream stream,
> >                        in Bonobo::StreamType type) raises (WrongDataType);
> >
> >             void load (in Bonobo::Stream stream,
> >                        in Bonobo::StreamType type) raises (WrongDataType);
>
> Sure, that works great. (but wouldn't save need to be able to rause
> WrongDataType too, in case the caller was dumb and passed an invalid
> type?)

	Yep, you're right, back edited.

> Sure. I'd still be happier with "ContentType" or something though.

	Sounds good, lets go with ContentType then.

> (I'm going to be gone this weekend, so this is my last comment on the
> thread until Monday.)

	Hope your weekend was good,

	Regards,

		Michael.

-- 
 mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]