]> git.lyx.org Git - lyx.git/blob - src/mathed/math_matrixinset.h
Ensure all #warning statements are wrapped by #ifdef WITH_WARNINGS.
[lyx.git] / src / mathed / math_matrixinset.h
1 // -*- C++ -*-
2 /**
3  * \file math_matrixinset.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef MATH_MATRIXINSET_H
13 #define MATH_MATRIXINSET_H
14
15 #include "math_gridinset.h"
16
17
18 // "shortcut" for DelimInset("(",ArrayInset,")")
19
20 class MathMatrixInset : public MathGridInset {
21 public:
22         ///
23         MathMatrixInset(MathGridInset const &);
24         ///
25         MathMatrixInset(std::string const & str);
26         ///
27         virtual std::auto_ptr<InsetBase> clone() const;
28         /// identifies MatrixInsets
29         MathMatrixInset const * asMatrixInset() const { return this; }
30
31         ///
32         void write(WriteStream & os) const;
33         ///
34         void normalize(NormalStream &) const;
35         ///
36         void maple(MapleStream &) const;
37         ///
38         void maxima(MaximaStream &) const;
39         ///
40         void mathmlize(MathMLStream &) const;
41         ///
42         void octave(OctaveStream &) const;
43 };
44
45 #endif