00001
00002
00003
00004
00005
00006
00007 #ifndef VARDEFINITIONS_H
00008 #define VARDEFINITIONS_H
00009
00010 #include <map>
00011 #include <string>
00012
00013 namespace srchilite {
00014
00015 class StringDefs;
00016
00020 class VarDefinitions : protected std::map<std::string, std::string>
00021 {
00022 public:
00023 VarDefinitions();
00024
00025 ~VarDefinitions();
00026
00027 void add(const std::string &var, const StringDefs *value);
00028 const std::string &getVar(const std::string &name);
00029 bool contains(const std::string &name);
00030 };
00031
00032 }
00033
00034 #endif