21 #ifndef EVTPARSERXML_HH
22 #define EVTPARSERXML_HH
34 bool open(std::string filename);
39 std::string getTagTitle() {
return _tagTitle; }
40 std::string getParentTagTitle();
41 int getLineNumber() {
return _lineNo; }
42 bool isTagInline() {
return _inLineTag; }
44 std::string readAttribute(std::string attribute, std::string defaultValue=
"");
45 bool readAttributeBool(std::string attribute,
bool defaultValue=
false);
46 int readAttributeInt(std::string attribute,
int defaultValue=-1);
47 double readAttributeDouble(std::string attribute,
double defaultValue=-1.);
56 std::string _tagTitle;
58 std::vector<std::string> _tagTree;
60 bool processTagTree();
62 bool expandEnvVars(std::string& str);
63 bool isAlphaNum(
char c);