+#include <config.h>
+
#include "math_exfuncinset.h"
#include "math_support.h"
#include "math_mathmlstream.h"
-
+#include "math_streamstr.h"
using std::ostream;
-MathExFuncInset::MathExFuncInset(string const & name, MathArray const & arg)
+MathExFuncInset::MathExFuncInset(string const & name)
: MathNestInset(1), name_(name)
-{
- cell(0) = arg;
-}
+{}
MathInset * MathExFuncInset::clone() const
void MathExFuncInset::normalize(NormalStream & os) const
{
- os << '[' << name_.c_str() << ' ' << cell(0) << ']';
+ os << '[' << name_ << ' ' << cell(0) << ']';
}
void MathExFuncInset::maplize(MapleStream & os) const
{
- os << name_.c_str() << '(' << cell(0) << ')';
+ os << name_ << '(' << cell(0) << ')';
}
void MathExFuncInset::octavize(OctaveStream & os) const
{
- os << name_.c_str() << '(' << cell(0) << ')';
+ os << name_ << '(' << cell(0) << ')';
}
void MathExFuncInset::write(WriteStream & os) const
{
- os << '\\' << name_.c_str() << '{' << cell(0) << '}';
+ os << '\\' << name_ << '{' << cell(0) << '}';
}