1 #ifndef __ROOT_PARSER_H__
2 #define __ROOT_PARSER_H__
14 class ROOT_PARSER : public PARSER {
16 ROOT_PARSER(const ADMIN * ca, TARIFFS * t, USERS * u, const SETTINGS * s);
19 bool StartTag(const char * name, const char ** attr);
20 bool EndTag(const char * name);
21 const std::string & GetResult() const { return handlerResult; };
26 const ADMIN * currAdmin;
27 const SETTINGS * settings;
29 typedef std::map<std::string, PARSER *> HMAP;
30 typedef HMAP::iterator HMAP_ITERATOR;
35 std::string handlerResult;
37 bool Dispatch(const std::string & name);