2 #ifndef MATH_MACROTABLE_H
3 #define MATH_MACROTABLE_H
14 class MathMacroTemplate;
17 struct MathMacroTable {
20 static void updateTemplate(MathMacroTemplate *);
22 static void insertTemplate(MathMacroTemplate *);
24 static MathMacroTemplate & provideTemplate(string const &);
26 static bool hasTemplate(string const &);
28 static MathMacro * cloneTemplate(string const &);
31 static void builtinMacros();
33 typedef std::map<string, MathMacroTemplate *> table_type;
35 static table_type macro_table;