19 #ifndef ROOT__XMLREADER_H__
20 #define ROOT__XMLREADER_H__
42 Attributes(
const std::string& nName,
const std::string& nValue) : fName(nName), fValue(nValue) {}
87 static bool GetNextTag(std::ifstream &file, std::string&
out,
int& lineCount);
92 static bool GetAttributes(
const std::string& tag, std::vector<Attributes>&
out,
const char* lineNum);
100 XMLReader(cling::Interpreter &interp) : fCount(0), fInterp(interp) {}
Attributes(const std::string &nName, const std::string &nValue)
static bool GetAttributes(const std::string &tag, std::vector< Attributes > &out, const char *lineNum)
static bool GetNextTag(std::ifstream &file, std::string &out, int &lineCount)
static std::map< std::string, ETagNames > fgMapTagNames
static bool IsStandaloneTag(const std::string &tag)
static void PopulateMap()
The class representing the collection of selection rules.
static bool IsClosingTag(const std::string &tag)
static bool IsTagComment(const std::string &tag)
static bool CheckIsTagOK(const std::string &tag)
static ETagNames GetNameOfTag(const std::string &tag, std::string &name)
XMLReader(cling::Interpreter &interp)
bool Parse(const std::string &fileName, SelectionRules &out)
cling::Interpreter & fInterp