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