#ifndef MATH_EXFUNCINSET_H
#define MATH_EXFUNCINSET_H
+
#include "math_nestinset.h"
// f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
class MathExFuncInset : public MathNestInset {
public:
///
- MathExFuncInset(string const & name, MathArray const & arg);
+ explicit MathExFuncInset(string const & name);
+ ///
+ MathExFuncInset(string const & name, MathArray const & ar);
+ ///
+ virtual std::auto_ptr<InsetBase> clone() const;
///
- MathInset * clone() const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
///
- void metrics(MathMetricsInfo const & st) const;
+ void draw(PainterInfo & pi, int x, int y) const;
///
- void draw(Painter &, int x, int y) const;
+ string name() const;
///
- void normalize(NormalStream &) const;
+ void maple(MapleStream &) const;
///
- void maplize(MapleStream &) const;
+ void maxima(MaximaStream &) const;
///
- void mathmlize(MathMLStream &) const;
+ void mathematica(MathematicaStream &) const;
///
- void octavize(OctaveStream &) const;
+ void mathmlize(MathMLStream &) const;
///
- void write(WriteStream & os) const;
+ void octave(OctaveStream &) const;
private:
///
string const name_;
- ///
- mutable MathMetricsInfo mi_;
};
#endif