]> git.lyx.org Git - lyx.git/blob - src/mathed/math_streamstr.C
Fix.
[lyx.git] / src / mathed / math_streamstr.C
1
2 #include <config.h>
3
4 #include "math_streamstr.h"
5 #include "math_mathmlstream.h"
6 #include "support/LOstream.h"
7 #include "support/lyxalgo.h"
8
9
10 WriteStream & operator<<(WriteStream & ws, string const & s)
11 {
12         ws << s.c_str();
13         return ws;
14 }
15
16
17 NormalStream & operator<<(NormalStream & ns, string const & s)
18 {
19         ns.os() << s;
20         return ns;
21 }
22
23
24 MapleStream & operator<<(MapleStream & ms, string const & s)
25 {
26         ms.os() << s;
27         return ms;
28 }
29
30
31 MaximaStream & operator<<(MaximaStream & ms, string const & s)
32 {
33         ms.os() << s;
34         return ms;
35 }
36
37
38 MathematicaStream & operator<<(MathematicaStream & ms, string const & s)
39 {
40         ms.os() << s;
41         return ms;
42 }
43
44
45 MathMLStream & operator<<(MathMLStream & ms, string const & s)
46 {
47         ms.os() << s;
48         return ms;
49 }
50
51
52 OctaveStream & operator<<(OctaveStream & os, string const & s)
53 {
54         os.os() << s;
55         return os;
56 }