Source-highlight Library
vardefinitions.h
1 //
2 // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004
3 //
4 // Copyright: See COPYING file that comes with this distribution
5 //
6 //
7 #ifndef VARDEFINITIONS_H
8 #define VARDEFINITIONS_H
9 
10 #include <map>
11 #include <string>
12 
13 namespace srchilite {
14 
15 class StringDefs;
16 
20 class VarDefinitions : protected std::map<std::string, std::string>
21 {
22 public:
24 
25  ~VarDefinitions();
26 
27  void add(const std::string &var, const StringDefs *value);
28  const std::string &getVar(const std::string &name);
29  bool contains(const std::string &name);
30 };
31 
32 }
33 
34 #endif
A collection (list) of StringDef's.
Definition: stringdef.h:110
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
store definitions of strings and regular expressions representing language elements ...
Definition: vardefinitions.h:20