Topic: The current state of Iostreams - documentation?
Author: kanze@gabi-soft.fr (J. Kanze)
Date: 1998/06/11 Raw View
"P.J. Plauger" <pjp@dinkumware.com> writes:
|> Guy Gascoigne - Piggford <ggp@informix.com> wrote in article
|> <3.0.3.32.19980605103800.0188b100@pop.pdx.informix.com>...
|> > Can anyone recommend a good source for documentation about extending the
|> > (std, templatized) iostream library? I'll happily go out and by a book
|> on
|> > the subject but I simply can't find one that covers what I want.
|> >
|> > Specifically I want to do somethig like this. I want to use an ostream
|> to
|> > output formatted text (either to a window or a file), the formatting will
|> be
|> > probably be rtf but may need extending to support html. To do this I
|> wanted
|> > to provide an ostream derivative that supports various formatting
|> > manipulators but that's where the problems start.
|> >
|> > Anyway I won't go into details since I don't have them here but basically
|> > what I thought would be simple, and in fact was simple when I did
|> something
|> > similar with the old iostream library just doesn't work any longer.
|> Clearly
|> > I need a refresher, the question is from where?
|>
|> My book, The Draft Standard C++ Library, discusses the new
|> iostreams protocol in enough detail that you should be able to
|> derive from these classes. The book predates templatization of
|> the library, but it is still highly relevant in the area you seem to
|> be most concerned about.
The other question would be: why doesn't it work. I recently converted
some of my older streambuf's to the new iostream (as implemented in VC++
5.0), and was pleasantly surprised how few changes were involved.
--
James Kanze +33 (0)1 39 23 84 71 mailto: kanze@gabi-soft.fr
GABI Software, 22 rue Jacques-Lemercier, 78000 Versailles, France
Conseils en informatique orient e objet --
-- Beratung in objektorientierter Datenverarbeitung
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: "P.J. Plauger" <pjp@dinkumware.com>
Date: 1998/06/05 Raw View
Guy Gascoigne - Piggford <ggp@informix.com> wrote in article
<3.0.3.32.19980605103800.0188b100@pop.pdx.informix.com>...
> Can anyone recommend a good source for documentation about extending the
> (std, templatized) iostream library? I'll happily go out and by a book
on
> the subject but I simply can't find one that covers what I want.
>
> Specifically I want to do somethig like this. I want to use an ostream
to
> output formatted text (either to a window or a file), the formatting will
be
> probably be rtf but may need extending to support html. To do this I
wanted
> to provide an ostream derivative that supports various formatting
> manipulators but that's where the problems start.
>
> Anyway I won't go into details since I don't have them here but basically
> what I thought would be simple, and in fact was simple when I did
something
> similar with the old iostream library just doesn't work any longer.
Clearly
> I need a refresher, the question is from where?
My book, The Draft Standard C++ Library, discusses the new
iostreams protocol in enough detail that you should be able to
derive from these classes. The book predates templatization of
the library, but it is still highly relevant in the area you seem to
be most concerned about.
P.J. Plauger
Dinkumware, Ltd.
http://www.dinkumware.com
---
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: Guy Gascoigne - Piggford <ggp@informix.com>
Date: 1998/06/05 Raw View
Can anyone recommend a good source for documentation about extending the
(std, templatized) iostream library? I'll happily go out and by a book on
the subject but I simply can't find one that covers what I want.
Specifically I want to do somethig like this. I want to use an ostream to
output formatted text (either to a window or a file), the formatting will be
probably be rtf but may need extending to support html. To do this I wanted
to provide an ostream derivative that supports various formatting
manipulators but that's where the problems start.
Anyway I won't go into details since I don't have them here but basically
what I thought would be simple, and in fact was simple when I did something
similar with the old iostream library just doesn't work any longer. Clearly
I need a refresher, the question is from where?
Guy
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]