mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
44cd0fc9a1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
67 lines
1.0 KiB
C
67 lines
1.0 KiB
C
/**
|
|
* \file math_streamstr.C
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author André Pönitz
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include "math_streamstr.h"
|
|
#include "math_mathmlstream.h"
|
|
#include "support/std_ostream.h"
|
|
|
|
using std::string;
|
|
|
|
|
|
WriteStream & operator<<(WriteStream & ws, string const & s)
|
|
{
|
|
ws << s.c_str();
|
|
return ws;
|
|
}
|
|
|
|
|
|
NormalStream & operator<<(NormalStream & ns, string const & s)
|
|
{
|
|
ns.os() << s;
|
|
return ns;
|
|
}
|
|
|
|
|
|
MapleStream & operator<<(MapleStream & ms, string const & s)
|
|
{
|
|
ms.os() << s;
|
|
return ms;
|
|
}
|
|
|
|
|
|
MaximaStream & operator<<(MaximaStream & ms, string const & s)
|
|
{
|
|
ms.os() << s;
|
|
return ms;
|
|
}
|
|
|
|
|
|
MathematicaStream & operator<<(MathematicaStream & ms, string const & s)
|
|
{
|
|
ms.os() << s;
|
|
return ms;
|
|
}
|
|
|
|
|
|
MathMLStream & operator<<(MathMLStream & ms, string const & s)
|
|
{
|
|
ms.os() << s;
|
|
return ms;
|
|
}
|
|
|
|
|
|
OctaveStream & operator<<(OctaveStream & os, string const & s)
|
|
{
|
|
os.os() << s;
|
|
return os;
|
|
}
|