On Tue, 7 Mar 2000 11:14:27 -0800, David A. Lee wrote:
>class OutputStream
>{
>public:
> virtual int WriteBytes( XMLCh* , int n) = 0;
>};
>
>should be sufficient shouldnt it ?
Would say so, but I'd add a default ostream wrapper to it,
since that would cover 90% of everyday streaming (and if you
use things like socket++, another 5%).
BTW, a direct ostream interface would also be 100% sufficient,
since you can always write your own streambuf for non-standard
data sinks. But writing a streambuf is a little more (but not
much more) complicated than implementing the above interface.
Ciao, J�rgen
--
J�rgen Hermann ([EMAIL PROTECTED])
WEB.DE AG, Amalienbadstr.41, D-76227 Karlsruhe
Tel.: 0721/94329-0, Fax: 0721/94329-22