]> git.lyx.org Git - lyx.git/blob - src/mathed/math_exfuncinset.h
merge MathArray and MathXArray classes.
[lyx.git] / src / mathed / math_exfuncinset.h
1 // -*- C++ -*-
2 #ifndef MATH_EXFUNCINSET_H
3 #define MATH_EXFUNCINSET_H
4
5 #include "math_nestinset.h"
6
7 // f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
8 // for interfacing external programs
9
10 class MathExFuncInset : public MathNestInset {
11 public:
12         ///
13         explicit MathExFuncInset(string const & name);
14         ///
15         MathExFuncInset(string const & name, MathArray const & ar);
16         ///
17         MathInset * clone() const;
18         ///
19         void metrics(MathMetricsInfo & st) const;
20         ///
21         void draw(MathPainterInfo &, int x, int y) const;
22
23         ///
24         void normalize(NormalStream &) const;
25         ///
26         void maplize(MapleStream &) const;
27         ///
28         void mathematicize(MathematicaStream &) const;
29         ///
30         void mathmlize(MathMLStream &) const;
31         ///
32         void octavize(OctaveStream &) const;
33         ///
34         void write(WriteStream & os) const;
35
36 private:
37         ///
38         string const name_;
39 };
40 #endif