#include "math_data.h"
#include "math_nestinset.h"
#include "metricsinfo.h"
-#include "support/std_string.h"
+
class MathMacroTemplate;
class MathMacro : public MathNestInset {
public:
/// A macro can be built from an existing template
- explicit MathMacro(string const &);
+ explicit MathMacro(std::string const &);
///
MathMacro(MathMacro const &);
///
void dump() const;
///
- bool idxUpDown(idx_type & idx, pos_type & pos, bool up, int targetx) const;
+ bool idxUpDown(LCursor & cur, bool up) const;
///
- bool idxLeft(idx_type & idx, pos_type & pos) const;
+ bool idxLeft(LCursor & cur) const;
///
- bool idxRight(idx_type & idx, pos_type & pos) const;
+ bool idxRight(LCursor & cur) const;
///
void validate(LaTeXFeatures &) const;
///
bool isMacro() const { return true; }
- ///
- bool match(MathAtom const &) const { return false; }
///
void maple(MapleStream &) const;
///
void operator=(MathMacro const &);
///
- string name() const;
+ std::string name() const;
///
bool defining() const;
///