#ifndef MATH_MATHMLSTREAM_H
#define MATH_MATHMLSTREAM_H
-#ifdef __GNUG__
-#pragma interface
-#endif
// Please keep all four streams in one file until the interface has
// settled.
-#include "math_metricsinfo.h"
+#include "metricsinfo.h"
#include <iosfwd>
NormalStream & operator<<(NormalStream &, int);
-
-
//
// Maple
//
MapleStream & operator<<(MapleStream &, int);
+//
+// Maxima
+//
+
+
+class MaximaStream {
+public:
+ ///
+ explicit MaximaStream(std::ostream & os) : os_(os) {}
+ ///
+ std::ostream & os() { return os_; }
+private:
+ ///
+ std::ostream & os_;
+};
+
+
+///
+MaximaStream & operator<<(MaximaStream &, MathAtom const &);
+///
+MaximaStream & operator<<(MaximaStream &, MathArray const &);
+///
+MaximaStream & operator<<(MaximaStream &, char const *);
+///
+MaximaStream & operator<<(MaximaStream &, char);
+///
+MaximaStream & operator<<(MaximaStream &, int);
+
+
//
// Mathematica
//