$FreeBSD$ --- include/plotter.h.orig Wed Jun 28 06:21:36 2000 +++ include/plotter.h Thu Aug 7 11:48:12 2003 @@ -58,8 +58,8 @@ /* Include iostream, stdio support if this is libplotter rather than libplot. */ #ifndef NOT_LIBPLOTTER -#include -#include +#include +#include #endif /* THE GLOBAL VARIABLES IN GNU LIBPLOTTER */ @@ -680,9 +680,9 @@ FILE *outfp; /* stdio-style output stream if any */ FILE *errfp; /* stdio-style error stream if any */ #ifndef NOT_LIBPLOTTER - istream *instream; /* C++-style input stream if any */ - ostream *outstream; /* C++-style output stream if any */ - ostream *errstream; /* C++-style error stream if any */ + std::istream *instream; /* C++-style input stream if any */ + std::ostream *outstream; /* C++-style output stream if any */ + std::ostream *errstream; /* C++-style error stream if any */ #endif /* not NOT_LIBPLOTTER */ /* device driver parameters (i.e., instance copies of class variables) */ @@ -898,14 +898,15 @@ /* PLOTTER CTORS (old-style, not thread-safe) */ Plotter (FILE *infile, FILE *outfile, FILE *errfile); Plotter (FILE *outfile); - Plotter (istream& in, ostream& out, ostream& err); - Plotter (ostream& out); + Plotter (std::istream& in, std::ostream& out, std::ostream& err); + Plotter (std::ostream& out); Plotter (); /* PLOTTER CTORS (new-style, thread-safe) */ Plotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); Plotter (FILE *outfile, PlotterParams ¶ms); - Plotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - Plotter (ostream& out, PlotterParams ¶ms); + Plotter (std::istream& in, std::ostream& out, std::ostream& err, + PlotterParams ¶ms); + Plotter (std::ostream& out, PlotterParams ¶ms); Plotter (PlotterParams ¶ms); /* PLOTTER DTOR */ virtual ~Plotter (); @@ -1487,14 +1488,14 @@ /* ctors (old-style, not thread-safe) */ MetaPlotter (FILE *infile, FILE *outfile, FILE *errfile); MetaPlotter (FILE *outfile); - MetaPlotter (istream& in, ostream& out, ostream& err); - MetaPlotter (ostream& out); + MetaPlotter (std::istream& in, std::ostream& out, std::ostream& err); + MetaPlotter (std::ostream& out); MetaPlotter (); /* ctors (new-style, thread-safe) */ MetaPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); MetaPlotter (FILE *outfile, PlotterParams ¶ms); - MetaPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - MetaPlotter (ostream& out, PlotterParams ¶ms); + MetaPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + MetaPlotter (std::ostream& out, PlotterParams ¶ms); MetaPlotter (PlotterParams ¶ms); /* dtor */ virtual ~MetaPlotter (); @@ -1566,14 +1567,14 @@ /* ctors (old-style, not thread-safe) */ BitmapPlotter (FILE *infile, FILE *outfile, FILE *errfile); BitmapPlotter (FILE *outfile); - BitmapPlotter (istream& in, ostream& out, ostream& err); - BitmapPlotter (ostream& out); + BitmapPlotter (std::istream& in, std::ostream& out, std::ostream& err); + BitmapPlotter (std::ostream& out); BitmapPlotter (); /* ctors (new-style, thread-safe) */ BitmapPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); BitmapPlotter (FILE *outfile, PlotterParams ¶ms); - BitmapPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - BitmapPlotter (ostream& out, PlotterParams ¶ms); + BitmapPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + BitmapPlotter (std::ostream& out, PlotterParams ¶ms); BitmapPlotter (PlotterParams ¶ms); /* dtor */ virtual ~BitmapPlotter (); @@ -1613,14 +1614,14 @@ /* ctors (old-style, not thread-safe) */ TekPlotter (FILE *infile, FILE *outfile, FILE *errfile); TekPlotter (FILE *outfile); - TekPlotter (istream& in, ostream& out, ostream& err); - TekPlotter (ostream& out); + TekPlotter (std::istream& in, std::ostream& out, std::ostream& err); + TekPlotter (std::ostream& out); TekPlotter (); /* ctors (new-style, thread-safe) */ TekPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); TekPlotter (FILE *outfile, PlotterParams ¶ms); - TekPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - TekPlotter (ostream& out, PlotterParams ¶ms); + TekPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + TekPlotter (std::ostream& out, PlotterParams ¶ms); TekPlotter (PlotterParams ¶ms); /* dtor */ virtual ~TekPlotter (); @@ -1665,14 +1666,14 @@ /* ctors (old-style, not thread-safe) */ ReGISPlotter (FILE *infile, FILE *outfile, FILE *errfile); ReGISPlotter (FILE *outfile); - ReGISPlotter (istream& in, ostream& out, ostream& err); - ReGISPlotter (ostream& out); + ReGISPlotter (std::istream& in, std::ostream& out, std::ostream& err); + ReGISPlotter (std::ostream& out); ReGISPlotter (); /* ctors (new-style, thread-safe) */ ReGISPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); ReGISPlotter (FILE *outfile, PlotterParams ¶ms); - ReGISPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - ReGISPlotter (ostream& out, PlotterParams ¶ms); + ReGISPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + ReGISPlotter (std::ostream& out, PlotterParams ¶ms); ReGISPlotter (PlotterParams ¶ms); /* dtor */ virtual ~ReGISPlotter (); @@ -1716,14 +1717,14 @@ /* ctors (old-style, not thread-safe) */ HPGLPlotter (FILE *infile, FILE *outfile, FILE *errfile); HPGLPlotter (FILE *outfile); - HPGLPlotter (istream& in, ostream& out, ostream& err); - HPGLPlotter (ostream& out); + HPGLPlotter (std::istream& in, std::ostream& out, std::ostream& err); + HPGLPlotter (std::ostream& out); HPGLPlotter (); /* ctors (new-style, thread-safe) */ HPGLPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); HPGLPlotter (FILE *outfile, PlotterParams ¶ms); - HPGLPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - HPGLPlotter (ostream& out, PlotterParams ¶ms); + HPGLPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + HPGLPlotter (std::ostream& out, PlotterParams ¶ms); HPGLPlotter (PlotterParams ¶ms); /* dtor */ virtual ~HPGLPlotter (); @@ -1812,14 +1813,14 @@ /* ctors (old-style, not thread-safe) */ PCLPlotter (FILE *infile, FILE *outfile, FILE *errfile); PCLPlotter (FILE *outfile); - PCLPlotter (istream& in, ostream& out, ostream& err); - PCLPlotter (ostream& out); + PCLPlotter (std::istream& in, std::ostream& out, std::ostream& err); + PCLPlotter (std::ostream& out); PCLPlotter (); /* ctors (new-style, thread-safe) */ PCLPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); PCLPlotter (FILE *outfile, PlotterParams ¶ms); - PCLPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - PCLPlotter (ostream& out, PlotterParams ¶ms); + PCLPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + PCLPlotter (std::ostream& out, PlotterParams ¶ms); PCLPlotter (PlotterParams ¶ms); /* dtor */ virtual ~PCLPlotter (); @@ -1843,14 +1844,14 @@ /* ctors (old-style, not thread-safe) */ FigPlotter (FILE *infile, FILE *outfile, FILE *errfile); FigPlotter (FILE *outfile); - FigPlotter (istream& in, ostream& out, ostream& err); - FigPlotter (ostream& out); + FigPlotter (std::istream& in, std::ostream& out, std::ostream& err); + FigPlotter (std::ostream& out); FigPlotter (); /* ctors (new-style, thread-safe) */ FigPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); FigPlotter (FILE *outfile, PlotterParams ¶ms); - FigPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - FigPlotter (ostream& out, PlotterParams ¶ms); + FigPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + FigPlotter (std::ostream& out, PlotterParams ¶ms); FigPlotter (PlotterParams ¶ms); /* dtor */ virtual ~FigPlotter (); @@ -1893,14 +1894,14 @@ /* ctors (old-style, not thread-safe) */ CGMPlotter (FILE *infile, FILE *outfile, FILE *errfile); CGMPlotter (FILE *outfile); - CGMPlotter (istream& in, ostream& out, ostream& err); - CGMPlotter (ostream& out); + CGMPlotter (std::istream& in, std::ostream& out, std::ostream& err); + CGMPlotter (std::ostream& out); CGMPlotter (); /* ctors (new-style, thread-safe) */ CGMPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); CGMPlotter (FILE *outfile, PlotterParams ¶ms); - CGMPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - CGMPlotter (ostream& out, PlotterParams ¶ms); + CGMPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + CGMPlotter (std::ostream& out, PlotterParams ¶ms); CGMPlotter (PlotterParams ¶ms); /* dtor */ virtual ~CGMPlotter (); @@ -1978,14 +1979,14 @@ /* ctors (old-style, not thread-safe) */ PSPlotter (FILE *infile, FILE *outfile, FILE *errfile); PSPlotter (FILE *outfile); - PSPlotter (istream& in, ostream& out, ostream& err); - PSPlotter (ostream& out); + PSPlotter (std::istream& in, std::ostream& out, std::ostream& err); + PSPlotter (std::ostream& out); PSPlotter (); /* ctors (new-style, thread-safe) */ PSPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); PSPlotter (FILE *outfile, PlotterParams ¶ms); - PSPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - PSPlotter (ostream& out, PlotterParams ¶ms); + PSPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + PSPlotter (std::ostream& out, PlotterParams ¶ms); PSPlotter (PlotterParams ¶ms); /* dtor */ virtual ~PSPlotter (); @@ -2019,14 +2020,14 @@ /* ctors (old-style, not thread-safe) */ AIPlotter (FILE *infile, FILE *outfile, FILE *errfile); AIPlotter (FILE *outfile); - AIPlotter (istream& in, ostream& out, ostream& err); - AIPlotter (ostream& out); + AIPlotter (std::istream& in, std::ostream& out, std::ostream& err); + AIPlotter (std::ostream& out); AIPlotter (); /* ctors (new-style, thread-safe) */ AIPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); AIPlotter (FILE *outfile, PlotterParams ¶ms); - AIPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - AIPlotter (ostream& out, PlotterParams ¶ms); + AIPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + AIPlotter (std::ostream& out, PlotterParams ¶ms); AIPlotter (PlotterParams ¶ms); /* dtor */ virtual ~AIPlotter (); @@ -2078,14 +2079,14 @@ /* ctors (old-style, not thread-safe) */ SVGPlotter (FILE *infile, FILE *outfile, FILE *errfile); SVGPlotter (FILE *outfile); - SVGPlotter (istream& in, ostream& out, ostream& err); - SVGPlotter (ostream& out); + SVGPlotter (std::istream& in, std::ostream& out, std::ostream& err); + SVGPlotter (std::ostream& out); SVGPlotter (); /* ctors (new-style, thread-safe) */ SVGPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); SVGPlotter (FILE *outfile, PlotterParams ¶ms); - SVGPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - SVGPlotter (ostream& out, PlotterParams ¶ms); + SVGPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + SVGPlotter (std::ostream& out, PlotterParams ¶ms); SVGPlotter (PlotterParams ¶ms); /* dtor */ virtual ~SVGPlotter (); @@ -2122,14 +2123,14 @@ /* ctors (old-style, not thread-safe) */ PNMPlotter (FILE *infile, FILE *outfile, FILE *errfile); PNMPlotter (FILE *outfile); - PNMPlotter (istream& in, ostream& out, ostream& err); - PNMPlotter (ostream& out); + PNMPlotter (std::istream& in, std::ostream& out, std::ostream& err); + PNMPlotter (std::ostream& out); PNMPlotter (); /* ctors (new-style, thread-safe) */ PNMPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); PNMPlotter (FILE *outfile, PlotterParams ¶ms); - PNMPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - PNMPlotter (ostream& out, PlotterParams ¶ms); + PNMPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + PNMPlotter (std::ostream& out, PlotterParams ¶ms); PNMPlotter (PlotterParams ¶ms); /* dtor */ virtual ~PNMPlotter (); @@ -2161,14 +2162,14 @@ /* ctors (old-style, not thread-safe) */ PNGPlotter (FILE *infile, FILE *outfile, FILE *errfile); PNGPlotter (FILE *outfile); - PNGPlotter (istream& in, ostream& out, ostream& err); - PNGPlotter (ostream& out); + PNGPlotter (std::istream& in, std::ostream& out, std::ostream& err); + PNGPlotter (std::ostream& out); PNGPlotter (); /* ctors (new-style, thread-safe) */ PNGPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); PNGPlotter (FILE *outfile, PlotterParams ¶ms); - PNGPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - PNGPlotter (ostream& out, PlotterParams ¶ms); + PNGPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + PNGPlotter (std::ostream& out, PlotterParams ¶ms); PNGPlotter (PlotterParams ¶ms); /* dtor */ virtual ~PNGPlotter (); @@ -2196,14 +2197,14 @@ /* ctors (old-style, not thread-safe) */ GIFPlotter (FILE *infile, FILE *outfile, FILE *errfile); GIFPlotter (FILE *outfile); - GIFPlotter (istream& in, ostream& out, ostream& err); - GIFPlotter (ostream& out); + GIFPlotter (std::istream& in, std::ostream& out, std::ostream& err); + GIFPlotter (std::ostream& out); GIFPlotter (); /* ctors (new-style, thread-safe) */ GIFPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); GIFPlotter (FILE *outfile, PlotterParams ¶ms); - GIFPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - GIFPlotter (ostream& out, PlotterParams ¶ms); + GIFPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + GIFPlotter (std::ostream& out, PlotterParams ¶ms); GIFPlotter (PlotterParams ¶ms); /* dtor */ virtual ~GIFPlotter (); @@ -2270,14 +2271,14 @@ /* ctors (old-style, not thread-safe) */ XDrawablePlotter (FILE *infile, FILE *outfile, FILE *errfile); XDrawablePlotter (FILE *outfile); - XDrawablePlotter (istream& in, ostream& out, ostream& err); - XDrawablePlotter (ostream& out); + XDrawablePlotter (std::istream& in, std::ostream& out, std::ostream& err); + XDrawablePlotter (std::ostream& out); XDrawablePlotter (); /* ctors (new-style, thread-safe) */ XDrawablePlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); XDrawablePlotter (FILE *outfile, PlotterParams ¶ms); - XDrawablePlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - XDrawablePlotter (ostream& out, PlotterParams ¶ms); + XDrawablePlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + XDrawablePlotter (std::ostream& out, PlotterParams ¶ms); XDrawablePlotter (PlotterParams ¶ms); /* dtor */ virtual ~XDrawablePlotter (); @@ -2345,14 +2346,14 @@ /* ctors (old-style, not thread-safe) */ XPlotter (FILE *infile, FILE *outfile, FILE *errfile); XPlotter (FILE *outfile); - XPlotter (istream& in, ostream& out, ostream& err); - XPlotter (ostream& out); + XPlotter (std::istream& in, std::ostream& out, std::ostream& err); + XPlotter (std::ostream& out); XPlotter (); /* ctors (new-style, thread-safe) */ XPlotter (FILE *infile, FILE *outfile, FILE *errfile, PlotterParams ¶ms); XPlotter (FILE *outfile, PlotterParams ¶ms); - XPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶ms); - XPlotter (ostream& out, PlotterParams ¶ms); + XPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶ms); + XPlotter (std::ostream& out, PlotterParams ¶ms); XPlotter (PlotterParams ¶ms); /* dtor */ virtual ~XPlotter ();