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