-#include <config.h>
-
-#include <iostream>
+/**
+ * \file math_macrotable.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
-#ifdef __GNUG__
-#pragma implementation
-#endif
+#include <config.h>
#include "math_macrotable.h"
-#include "math_macro.h"
#include "math_macrotemplate.h"
-#include "math_parser.h"
-#include "math_mathmlstream.h"
#include "debug.h"
-#include "math_support.h" // math_font_available
+
+
+using std::string;
+using std::endl;
MathMacroTable::table_type MathMacroTable::macro_table;
void MathMacroTable::dump()
{
/*
- lyxerr << "\n------------------------------------------\n";
+ lyxerr << "\n------------------------------------------" << endl;
table_type::const_iterator it;
for (it = macro_table.begin(); it != macro_table.end(); ++it)
lyxerr << it->first
<< " [" << it->second->asMacroTemplate()->nargs() << "] : "
- << it->second->cell(0) << "\n";
- lyxerr << "------------------------------------------\n";
+ << it->second->cell(0) << endl;
+ lyxerr << "------------------------------------------" << endl;
*/
}
table_type::iterator pos = macro_table.find(name);
if (pos == macro_table.end()) {
lyxerr << "MathMacroTable::provideTemplate: no template with name '"
- << name << "' available.\n";
+ << name << "' available." << endl;
}
return pos->second;
}