X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_streamstr.h;h=d76b1cb66e20548a6ef8f988dfc0ebd6b3f09923;hb=cd03e2b7db8379a91f3d31eac2c5bc25b159c541;hp=bd4d4ef66d6db9cb8ffd5c781cd7c98ff4646201;hpb=aed2b1804c474ad4927a681c708b45bee6c4a36f;p=lyx.git diff --git a/src/mathed/math_streamstr.h b/src/mathed/math_streamstr.h index bd4d4ef66d..d76b1cb66e 100644 --- a/src/mathed/math_streamstr.h +++ b/src/mathed/math_streamstr.h @@ -1,17 +1,37 @@ +// -*- C++ -*- +/** + * \file math_streamstr.h + * 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. + */ + #ifndef MATH_STREAMSTR_H #define MATH_STREAMSTR_H -#include "LString.h" -#include "math_mathmlstream.h" + +#include "support/std_string.h" + +class WriteStream; +class NormalStream; +class MapleStream; +class MaximaStream; +class MathematicaStream; +class MathMLStream; +class OctaveStream; // // writing strings directly // -inline WriteStream & operator<<(WriteStream & ws, string const & s) -{ - ws << s.c_str(); - return ws; -} - +WriteStream & operator<<(WriteStream & ws, string const & s); +NormalStream & operator<<(NormalStream & ns, string const & s); +MapleStream & operator<<(MapleStream & ms, string const & s); +MaximaStream & operator<<(MaximaStream & ms, string const & s); +MathematicaStream & operator<<(MathematicaStream & ms, string const & s); +MathMLStream & operator<<(MathMLStream & ms, string const & s); +OctaveStream & operator<<(OctaveStream & os, string const & s); #endif