mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
eb36b71ce3
Lars' std::string patch compile with STLport. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7864 a592a061-630c-0410-9148-cb99ea01b6c8
39 lines
684 B
C++
39 lines
684 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file math_macrotable.h
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef MATH_MACROTABLE_H
|
|
#define MATH_MACROTABLE_H
|
|
|
|
#include "math_atom.h"
|
|
|
|
#include <map>
|
|
#include <string>
|
|
|
|
|
|
class MathMacroTable {
|
|
public:
|
|
///
|
|
static void create(MathAtom const &);
|
|
///
|
|
static MathAtom & provide(std::string const & name);
|
|
///
|
|
static bool has(std::string const & name);
|
|
///
|
|
static void dump();
|
|
private:
|
|
///
|
|
typedef std::map<std::string, MathAtom> table_type;
|
|
//
|
|
static table_type macro_table;
|
|
};
|
|
|
|
#endif
|