]> git.lyx.org Git - lyx.git/blob - src/mathed/math_streamstr.C
Strip out redundant #includes
[lyx.git] / src / mathed / math_streamstr.C
1 /**
2  * \file math_streamstr.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author André Pönitz
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "math_mathmlstream.h"
14
15
16 WriteStream & operator<<(WriteStream & ws, string const & s)
17 {
18         ws << s.c_str();
19         return ws;
20 }
21
22
23 NormalStream & operator<<(NormalStream & ns, string const & s)
24 {
25         ns.os() << s;
26         return ns;
27 }
28
29
30 MapleStream & operator<<(MapleStream & ms, string const & s)
31 {
32         ms.os() << s;
33         return ms;
34 }
35
36
37 MaximaStream & operator<<(MaximaStream & ms, string const & s)
38 {
39         ms.os() << s;
40         return ms;
41 }
42
43
44 MathematicaStream & operator<<(MathematicaStream & ms, string const & s)
45 {
46         ms.os() << s;
47         return ms;
48 }
49
50
51 MathMLStream & operator<<(MathMLStream & ms, string const & s)
52 {
53         ms.os() << s;
54         return ms;
55 }
56
57
58 OctaveStream & operator<<(OctaveStream & os, string const & s)
59 {
60         os.os() << s;
61         return os;
62 }