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
13namespace srchilite {
14
15class StringDefs;
16
20class VarDefinitions : protected std::map<std::string, std::string>
21{
22public:
24
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
store definitions of strings and regular expressions representing language elements
Definition: vardefinitions.h:21
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13