]> git.lyx.org Git - lyx.git/blob - src/mathed/math_streamstr.C
fix typo that put too many include paths for most people
[lyx.git] / src / mathed / math_streamstr.C
1 #include <config.h>
2
3 #include "math_streamstr.h"
4 #include "math_mathmlstream.h"
5 #include "support/LOstream.h"
6 #include "support/lyxalgo.h"
7
8
9 WriteStream & operator<<(WriteStream & ws, string const & s)
10 {
11         ws.os() << s;
12         ws.addlines(int(lyx::count(s.begin(), s.end(), '\n')));
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 MathMLStream & operator<<(MathMLStream & ms, string const & s)
32 {
33         ms.os() << s;
34         return ms;
35 }
36
37
38 OctaveStream & operator<<(OctaveStream & os, string const & s)
39 {
40         os.os() << s;
41         return os;
42 }