mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-22 07:57:22 +00:00
7cccd80619
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2977 a592a061-630c-0410-9148-cb99ea01b6c8
55 lines
984 B
C++
55 lines
984 B
C++
#ifndef MATH_MATH_MLSTREAM
|
|
#define MATH_MATH_MLSTREAM
|
|
|
|
#include <iosfwd>
|
|
|
|
|
|
struct MathMLStream {
|
|
///
|
|
explicit MathMLStream(std::ostream & os) : os_(os) {}
|
|
///
|
|
std::ostream & os_;
|
|
///
|
|
MathMLStream & operator<<(MathInset const *);
|
|
///
|
|
MathMLStream & operator<<(MathArray const &);
|
|
///
|
|
MathMLStream & operator<<(char const *);
|
|
///
|
|
MathMLStream & operator<<(char);
|
|
};
|
|
|
|
|
|
struct MapleStream {
|
|
///
|
|
explicit MapleStream(std::ostream & os) : os_(os) {}
|
|
///
|
|
std::ostream & os_;
|
|
///
|
|
MapleStream & operator<<(MathInset const *);
|
|
///
|
|
MapleStream & operator<<(MathArray const &);
|
|
///
|
|
MapleStream & operator<<(char const *);
|
|
///
|
|
MapleStream & operator<<(char);
|
|
};
|
|
|
|
|
|
struct OctaveStream {
|
|
///
|
|
explicit OctaveStream(std::ostream & os) : os_(os) {}
|
|
///
|
|
std::ostream & os_;
|
|
///
|
|
OctaveStream & operator<<(MathInset const *);
|
|
///
|
|
OctaveStream & operator<<(MathArray const &);
|
|
///
|
|
OctaveStream & operator<<(char const *);
|
|
///
|
|
OctaveStream & operator<<(char);
|
|
};
|
|
|
|
#endif
|