]> git.lyx.org Git - lyx.git/blob - src/Variables.h
Replace LString.h with support/std_string.h,
[lyx.git] / src / Variables.h
1 // -*- C++ -*-
2 /**
3  * \file Variables.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  * \author Jean-Marc Lasgouttes
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef VARIABLES_H
14 #define VARIABLES_H
15
16 #include "support/std_string.h"
17 #include <map>
18
19
20 ///
21 class Variables {
22 public:
23         ///
24         void set(string const &, string const &);
25         ///
26         string const get(string const &) const;
27         ///
28         bool isSet(string const & var) const;
29         ///
30         string const expand(string const &) const;
31 private:
32         ///
33         typedef std::map<string, string> Vars;
34         ///
35         Vars vars_;
36 };
37
38 #endif