diff -u -r tmp/plotutils-2.4.1/include/plotter.h plotutils-2.4.1/include/plotter.h --- tmp/plotutils-2.4.1/include/plotter.h Wed Jun 28 13:21:36 2000 +++ plotutils-2.4.1/include/plotter.h Mon Jun 18 17:41:25 2001 @@ -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 (); diff -u -r tmp/plotutils-2.4.1/libplot/a_defplot.c plotutils-2.4.1/libplot/a_defplot.c --- tmp/plotutils-2.4.1/libplot/a_defplot.c Wed Jun 28 18:53:44 2000 +++ plotutils-2.4.1/libplot/a_defplot.c Mon Jun 18 18:49:33 2001 @@ -224,13 +224,13 @@ _a_initialize (); } -AIPlotter::AIPlotter (istream& in, ostream& out, ostream& err) +AIPlotter::AIPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _a_initialize (); } -AIPlotter::AIPlotter (ostream& out) +AIPlotter::AIPlotter (std::ostream& out) : Plotter (out) { _a_initialize (); @@ -253,13 +253,13 @@ _a_initialize (); } -AIPlotter::AIPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +AIPlotter::AIPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _a_initialize (); } -AIPlotter::AIPlotter (ostream& out, PlotterParams ¶meters) +AIPlotter::AIPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _a_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/b_defplot.c plotutils-2.4.1/libplot/b_defplot.c --- tmp/plotutils-2.4.1/libplot/b_defplot.c Tue Jun 20 05:14:29 2000 +++ plotutils-2.4.1/libplot/b_defplot.c Mon Jun 18 18:42:01 2001 @@ -215,13 +215,13 @@ _b_initialize (); } -BitmapPlotter::BitmapPlotter (istream& in, ostream& out, ostream& err) +BitmapPlotter::BitmapPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _b_initialize (); } -BitmapPlotter::BitmapPlotter (ostream& out) +BitmapPlotter::BitmapPlotter (std::ostream& out) : Plotter (out) { _b_initialize (); @@ -244,13 +244,13 @@ _b_initialize (); } -BitmapPlotter::BitmapPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +BitmapPlotter::BitmapPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _b_initialize (); } -BitmapPlotter::BitmapPlotter (ostream& out, PlotterParams ¶meters) +BitmapPlotter::BitmapPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _b_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/c_defplot.c plotutils-2.4.1/libplot/c_defplot.c --- tmp/plotutils-2.4.1/libplot/c_defplot.c Thu Jun 29 17:37:52 2000 +++ plotutils-2.4.1/libplot/c_defplot.c Mon Jun 18 18:49:08 2001 @@ -1767,13 +1767,13 @@ _c_initialize (); } -CGMPlotter::CGMPlotter (istream& in, ostream& out, ostream& err) +CGMPlotter::CGMPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _c_initialize (); } -CGMPlotter::CGMPlotter (ostream& out) +CGMPlotter::CGMPlotter (std::ostream& out) : Plotter (out) { _c_initialize (); @@ -1796,13 +1796,13 @@ _c_initialize (); } -CGMPlotter::CGMPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +CGMPlotter::CGMPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _c_initialize (); } -CGMPlotter::CGMPlotter (ostream& out, PlotterParams ¶meters) +CGMPlotter::CGMPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _c_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/f_defplot.c plotutils-2.4.1/libplot/f_defplot.c --- tmp/plotutils-2.4.1/libplot/f_defplot.c Sun Jul 2 07:08:13 2000 +++ plotutils-2.4.1/libplot/f_defplot.c Mon Jun 18 18:48:30 2001 @@ -191,13 +191,13 @@ _f_initialize (); } -FigPlotter::FigPlotter (istream& in, ostream& out, ostream& err) +FigPlotter::FigPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _f_initialize (); } -FigPlotter::FigPlotter (ostream& out) +FigPlotter::FigPlotter (std::ostream& out) : Plotter (out) { _f_initialize (); @@ -220,13 +220,13 @@ _f_initialize (); } -FigPlotter::FigPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +FigPlotter::FigPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _f_initialize (); } -FigPlotter::FigPlotter (ostream& out, PlotterParams ¶meters) +FigPlotter::FigPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _f_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/g_defplot.c plotutils-2.4.1/libplot/g_defplot.c --- tmp/plotutils-2.4.1/libplot/g_defplot.c Mon Jun 19 00:24:16 2000 +++ plotutils-2.4.1/libplot/g_defplot.c Mon Jun 18 18:47:22 2001 @@ -392,7 +392,7 @@ _g_initialize (); } -Plotter::Plotter (istream& in, ostream& out, ostream& err) +Plotter::Plotter (std::istream& in, std::ostream& out, std::ostream& err) { /* create PlotterData structure, install it in Plotter */ _plotter->data = (plPlotterData *)_plot_xmalloc (sizeof(plPlotterData)); @@ -420,7 +420,7 @@ _g_initialize (); } -Plotter::Plotter (ostream& out) +Plotter::Plotter (std::ostream& out) { /* create PlotterData structure, install it in Plotter */ _plotter->data = (plPlotterData *)_plot_xmalloc (sizeof(plPlotterData)); @@ -498,7 +498,7 @@ _g_initialize (); } -Plotter::Plotter (istream& in, ostream& out, ostream& err, PlotterParams &plotter_params) +Plotter::Plotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams &plotter_params) { /* create PlotterData structure, install it in Plotter */ _plotter->data = (plPlotterData *)_plot_xmalloc (sizeof(plPlotterData)); @@ -524,7 +524,7 @@ _g_initialize (); } -Plotter::Plotter (ostream& out, PlotterParams &plotter_params) +Plotter::Plotter (std::ostream& out, PlotterParams &plotter_params) { /* create PlotterData structure, install it in Plotter */ _plotter->data = (plPlotterData *)_plot_xmalloc (sizeof(plPlotterData)); diff -u -r tmp/plotutils-2.4.1/libplot/g_write.c plotutils-2.4.1/libplot/g_write.c --- tmp/plotutils-2.4.1/libplot/g_write.c Fri May 19 18:10:01 2000 +++ plotutils-2.4.1/libplot/g_write.c Mon Jun 18 19:25:51 2001 @@ -40,7 +40,7 @@ } #ifdef LIBPLOTTER else if (data->outstream) - data->outstream->write(c, n); + data->outstream->write((const char*)c, n); #endif } diff -u -r tmp/plotutils-2.4.1/libplot/h_defplot.c plotutils-2.4.1/libplot/h_defplot.c --- tmp/plotutils-2.4.1/libplot/h_defplot.c Sun Jul 2 22:03:52 2000 +++ plotutils-2.4.1/libplot/h_defplot.c Mon Jun 18 18:46:40 2001 @@ -805,13 +805,13 @@ _h_initialize (); } -HPGLPlotter::HPGLPlotter (istream& in, ostream& out, ostream& err) +HPGLPlotter::HPGLPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _h_initialize (); } -HPGLPlotter::HPGLPlotter (ostream& out) +HPGLPlotter::HPGLPlotter (std::ostream& out) : Plotter (out) { _h_initialize (); @@ -834,13 +834,13 @@ _h_initialize (); } -HPGLPlotter::HPGLPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +HPGLPlotter::HPGLPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _h_initialize (); } -HPGLPlotter::HPGLPlotter (ostream& out, PlotterParams ¶meters) +HPGLPlotter::HPGLPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _h_initialize (); @@ -875,13 +875,13 @@ _q_initialize (); } -PCLPlotter::PCLPlotter (istream& in, ostream& out, ostream& err) +PCLPlotter::PCLPlotter (std::istream& in, std::ostream& out, std::ostream& err) : HPGLPlotter (in, out, err) { _q_initialize (); } -PCLPlotter::PCLPlotter (ostream& out) +PCLPlotter::PCLPlotter (std::ostream& out) : HPGLPlotter (out) { _q_initialize (); @@ -904,13 +904,13 @@ _q_initialize (); } -PCLPlotter::PCLPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +PCLPlotter::PCLPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : HPGLPlotter (in, out, err, parameters) { _q_initialize (); } -PCLPlotter::PCLPlotter (ostream& out, PlotterParams ¶meters) +PCLPlotter::PCLPlotter (std::ostream& out, PlotterParams ¶meters) : HPGLPlotter (out, parameters) { _q_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/i_defplot.c plotutils-2.4.1/libplot/i_defplot.c --- tmp/plotutils-2.4.1/libplot/i_defplot.c Fri Jun 9 06:11:11 2000 +++ plotutils-2.4.1/libplot/i_defplot.c Mon Jun 18 18:46:14 2001 @@ -292,13 +292,13 @@ _i_initialize (); } -GIFPlotter::GIFPlotter (istream& in, ostream& out, ostream& err) +GIFPlotter::GIFPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _i_initialize (); } -GIFPlotter::GIFPlotter (ostream& out) +GIFPlotter::GIFPlotter (std::ostream& out) : Plotter (out) { _i_initialize (); @@ -321,13 +321,13 @@ _i_initialize (); } -GIFPlotter::GIFPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +GIFPlotter::GIFPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _i_initialize (); } -GIFPlotter::GIFPlotter (ostream& out, PlotterParams ¶meters) +GIFPlotter::GIFPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _i_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/i_rle.c plotutils-2.4.1/libplot/i_rle.c --- tmp/plotutils-2.4.1/libplot/i_rle.c Sun Jun 27 18:58:10 1999 +++ plotutils-2.4.1/libplot/i_rle.c Mon Jun 18 19:26:39 2001 @@ -78,7 +78,7 @@ else if (rle->outstream) { rle->outstream->put ((unsigned char)(rle->oblen)); - rle->outstream->write (&(rle->oblock[0]), rle->oblen); + rle->outstream->write ((const char*)&(rle->oblock[0]), rle->oblen); } #endif @@ -416,7 +416,7 @@ /* create new RLE struct, which writes to a specified stream */ rle_out * #ifdef LIBPLOTTER -_rle_init (FILE *fp, ostream *out, int bit_depth) +_rle_init (FILE *fp, std::ostream *out, int bit_depth) #else #ifdef _HAVE_PROTOS _rle_init (FILE *fp, int bit_depth) diff -u -r tmp/plotutils-2.4.1/libplot/i_rle.h plotutils-2.4.1/libplot/i_rle.h --- tmp/plotutils-2.4.1/libplot/i_rle.h Thu Mar 4 03:05:38 1999 +++ plotutils-2.4.1/libplot/i_rle.h Mon Jun 18 19:21:02 2001 @@ -35,7 +35,7 @@ int obits; FILE *ofile; #ifdef LIBPLOTTER - ostream *outstream; + std::ostream *outstream; #endif unsigned char oblock[256]; int oblen; @@ -43,7 +43,7 @@ /* create, initialize, and return a new RLE output structure */ #ifdef LIBPLOTTER -extern rle_out *_rle_init ____P((FILE *fp, ostream *out, int bit_depth)); +extern rle_out *_rle_init ____P((FILE *fp, std::ostream *out, int bit_depth)); #else extern rle_out *_rle_init ____P((FILE *fp, int bit_depth)); #endif diff -u -r tmp/plotutils-2.4.1/libplot/m_defplot.c plotutils-2.4.1/libplot/m_defplot.c --- tmp/plotutils-2.4.1/libplot/m_defplot.c Mon Jun 19 07:10:36 2000 +++ plotutils-2.4.1/libplot/m_defplot.c Mon Jun 18 18:45:51 2001 @@ -204,13 +204,13 @@ _m_initialize (); } -MetaPlotter::MetaPlotter (istream& in, ostream& out, ostream& err) +MetaPlotter::MetaPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _m_initialize (); } -MetaPlotter::MetaPlotter (ostream& out) +MetaPlotter::MetaPlotter (std::ostream& out) : Plotter (out) { _m_initialize (); @@ -233,13 +233,13 @@ _m_initialize (); } -MetaPlotter::MetaPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +MetaPlotter::MetaPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _m_initialize (); } -MetaPlotter::MetaPlotter (ostream& out, PlotterParams ¶meters) +MetaPlotter::MetaPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _m_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/m_emit.c plotutils-2.4.1/libplot/m_emit.c --- tmp/plotutils-2.4.1/libplot/m_emit.c Tue Jun 20 05:02:48 2000 +++ plotutils-2.4.1/libplot/m_emit.c Mon Jun 18 19:28:20 2001 @@ -66,7 +66,7 @@ if (_plotter->meta_portable_output) (*(_plotter->data->outstream)) << ' ' << x; else - _plotter->data->outstream->write((char *)&x, sizeof(int)); + _plotter->data->outstream->write((const char *)&x, sizeof(int)); } #endif } @@ -107,7 +107,7 @@ float f; f = FROUND(x); - _plotter->data->outstream->write((char *)&f, sizeof(float)); + _plotter->data->outstream->write((const char *)&f, sizeof(float)); } } #endif diff -u -r tmp/plotutils-2.4.1/libplot/n_defplot.c plotutils-2.4.1/libplot/n_defplot.c --- tmp/plotutils-2.4.1/libplot/n_defplot.c Thu Jun 1 21:14:43 2000 +++ plotutils-2.4.1/libplot/n_defplot.c Mon Jun 18 18:44:41 2001 @@ -115,13 +115,13 @@ _n_initialize (); } -PNMPlotter::PNMPlotter (istream& in, ostream& out, ostream& err) +PNMPlotter::PNMPlotter (std::istream& in, std::ostream& out, std::ostream& err) : BitmapPlotter (in, out, err) { _n_initialize (); } -PNMPlotter::PNMPlotter (ostream& out) +PNMPlotter::PNMPlotter (std::ostream& out) : BitmapPlotter (out) { _n_initialize (); @@ -144,13 +144,13 @@ _n_initialize (); } -PNMPlotter::PNMPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +PNMPlotter::PNMPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : BitmapPlotter (in, out, err, parameters) { _n_initialize (); } -PNMPlotter::PNMPlotter (ostream& out, PlotterParams ¶meters) +PNMPlotter::PNMPlotter (std::ostream& out, PlotterParams ¶meters) : BitmapPlotter (out, parameters) { _n_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/p_defplot.c plotutils-2.4.1/libplot/p_defplot.c --- tmp/plotutils-2.4.1/libplot/p_defplot.c Wed Jun 28 18:53:50 2000 +++ plotutils-2.4.1/libplot/p_defplot.c Mon Jun 18 18:44:23 2001 @@ -782,13 +782,13 @@ _p_initialize (); } -PSPlotter::PSPlotter (istream& in, ostream& out, ostream& err) +PSPlotter::PSPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _p_initialize (); } -PSPlotter::PSPlotter (ostream& out) +PSPlotter::PSPlotter (std::ostream& out) : Plotter (out) { _p_initialize (); @@ -811,13 +811,13 @@ _p_initialize (); } -PSPlotter::PSPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +PSPlotter::PSPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _p_initialize (); } -PSPlotter::PSPlotter (ostream& out, PlotterParams ¶meters) +PSPlotter::PSPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _p_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/r_defplot.c plotutils-2.4.1/libplot/r_defplot.c --- tmp/plotutils-2.4.1/libplot/r_defplot.c Tue Jun 20 06:39:42 2000 +++ plotutils-2.4.1/libplot/r_defplot.c Mon Jun 18 18:43:43 2001 @@ -170,13 +170,13 @@ _r_initialize (); } -ReGISPlotter::ReGISPlotter (istream& in, ostream& out, ostream& err) +ReGISPlotter::ReGISPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _r_initialize (); } -ReGISPlotter::ReGISPlotter (ostream& out) +ReGISPlotter::ReGISPlotter (std::ostream& out) : Plotter (out) { _r_initialize (); @@ -199,13 +199,13 @@ _r_initialize (); } -ReGISPlotter::ReGISPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +ReGISPlotter::ReGISPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _r_initialize (); } -ReGISPlotter::ReGISPlotter (ostream& out, PlotterParams ¶meters) +ReGISPlotter::ReGISPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _r_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/s_defplot.c plotutils-2.4.1/libplot/s_defplot.c --- tmp/plotutils-2.4.1/libplot/s_defplot.c Mon Jul 3 01:20:20 2000 +++ plotutils-2.4.1/libplot/s_defplot.c Mon Jun 18 18:42:42 2001 @@ -196,13 +196,13 @@ _s_initialize (); } -SVGPlotter::SVGPlotter (istream& in, ostream& out, ostream& err) +SVGPlotter::SVGPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _s_initialize (); } -SVGPlotter::SVGPlotter (ostream& out) +SVGPlotter::SVGPlotter (std::ostream& out) : Plotter (out) { _s_initialize (); @@ -225,13 +225,13 @@ _s_initialize (); } -SVGPlotter::SVGPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +SVGPlotter::SVGPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _s_initialize (); } -SVGPlotter::SVGPlotter (ostream& out, PlotterParams ¶meters) +SVGPlotter::SVGPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _s_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/t_defplot.c plotutils-2.4.1/libplot/t_defplot.c --- tmp/plotutils-2.4.1/libplot/t_defplot.c Tue Jun 6 05:20:07 2000 +++ plotutils-2.4.1/libplot/t_defplot.c Mon Jun 18 18:41:31 2001 @@ -195,13 +195,13 @@ _t_initialize (); } -TekPlotter::TekPlotter (istream& in, ostream& out, ostream& err) +TekPlotter::TekPlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _t_initialize (); } -TekPlotter::TekPlotter (ostream& out) +TekPlotter::TekPlotter (std::ostream& out) : Plotter (out) { _t_initialize (); @@ -224,13 +224,13 @@ _t_initialize (); } -TekPlotter::TekPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +TekPlotter::TekPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _t_initialize (); } -TekPlotter::TekPlotter (ostream& out, PlotterParams ¶meters) +TekPlotter::TekPlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _t_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/x_defplot.c plotutils-2.4.1/libplot/x_defplot.c --- tmp/plotutils-2.4.1/libplot/x_defplot.c Mon Jun 19 00:30:02 2000 +++ plotutils-2.4.1/libplot/x_defplot.c Mon Jun 18 18:40:57 2001 @@ -226,13 +226,13 @@ _x_initialize (); } -XDrawablePlotter::XDrawablePlotter (istream& in, ostream& out, ostream& err) +XDrawablePlotter::XDrawablePlotter (std::istream& in, std::ostream& out, std::ostream& err) : Plotter (in, out, err) { _x_initialize (); } -XDrawablePlotter::XDrawablePlotter (ostream& out) +XDrawablePlotter::XDrawablePlotter (std::ostream& out) : Plotter (out) { _x_initialize (); @@ -255,13 +255,13 @@ _x_initialize (); } -XDrawablePlotter::XDrawablePlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +XDrawablePlotter::XDrawablePlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : Plotter (in, out, err, parameters) { _x_initialize (); } -XDrawablePlotter::XDrawablePlotter (ostream& out, PlotterParams ¶meters) +XDrawablePlotter::XDrawablePlotter (std::ostream& out, PlotterParams ¶meters) : Plotter (out, parameters) { _x_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/y_defplot.c plotutils-2.4.1/libplot/y_defplot.c --- tmp/plotutils-2.4.1/libplot/y_defplot.c Mon Jun 19 00:29:45 2000 +++ plotutils-2.4.1/libplot/y_defplot.c Mon Jun 18 18:39:59 2001 @@ -265,7 +265,7 @@ /* add to _xplotters sparse array */ } -XPlotter::XPlotter (istream& in, ostream& out, ostream& err) +XPlotter::XPlotter (std::istream& in, std::ostream& out, std::ostream& err) : XDrawablePlotter (in, out, err) { _y_initialize (); @@ -273,7 +273,7 @@ /* add to _xplotters sparse array */ } -XPlotter::XPlotter (ostream& out) +XPlotter::XPlotter (std::ostream& out) : XDrawablePlotter (out) { _y_initialize (); @@ -304,7 +304,7 @@ /* add to _xplotters sparse array */ } -XPlotter::XPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +XPlotter::XPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : XDrawablePlotter (in, out, err, parameters) { _y_initialize (); @@ -312,7 +312,7 @@ /* add to _xplotters sparse array */ } -XPlotter::XPlotter (ostream& out, PlotterParams ¶meters) +XPlotter::XPlotter (std::ostream& out, PlotterParams ¶meters) : XDrawablePlotter (out, parameters) { _y_initialize (); diff -u -r tmp/plotutils-2.4.1/libplot/z_defplot.c plotutils-2.4.1/libplot/z_defplot.c --- tmp/plotutils-2.4.1/libplot/z_defplot.c Fri Jun 9 06:12:29 2000 +++ plotutils-2.4.1/libplot/z_defplot.c Mon Jun 18 18:40:32 2001 @@ -132,13 +132,13 @@ _z_initialize (); } -PNGPlotter::PNGPlotter (istream& in, ostream& out, ostream& err) +PNGPlotter::PNGPlotter (std::istream& in, std::ostream& out, std::ostream& err) : BitmapPlotter (in, out, err) { _z_initialize (); } -PNGPlotter::PNGPlotter (ostream& out) +PNGPlotter::PNGPlotter (std::ostream& out) : BitmapPlotter (out) { _z_initialize (); @@ -161,13 +161,13 @@ _z_initialize (); } -PNGPlotter::PNGPlotter (istream& in, ostream& out, ostream& err, PlotterParams ¶meters) +PNGPlotter::PNGPlotter (std::istream& in, std::ostream& out, std::ostream& err, PlotterParams ¶meters) : BitmapPlotter (in, out, err, parameters) { _z_initialize (); } -PNGPlotter::PNGPlotter (ostream& out, PlotterParams ¶meters) +PNGPlotter::PNGPlotter (std::ostream& out, PlotterParams ¶meters) : BitmapPlotter (out, parameters) { _z_initialize ();