lyx_mirror/src/mathed/math_macrotable.h
André Pönitz 22b1e8d33a macro handling cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4620 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-12 14:24:47 +00:00

33 lines
483 B
C++

// -*- C++ -*-
#ifndef MATH_MACROTABLE_H
#define MATH_MACROTABLE_H
#include <map>
#include "LString.h"
#include "math_atom.h"
#ifdef __GNUG__
#pragma interface
#endif
///
class MathMacroTable {
public:
///
static void create(MathAtom const &);
///
static MathAtom & provide(string const & name);
///
static bool has(string const & name);
///
static void dump();
private:
///
typedef std::map<string, MathAtom> table_type;
//
static table_type macro_table;
};
#endif