1#ifndef CYCLUS_SRC_XML_PARSER_H_
2#define CYCLUS_SRC_XML_PARSER_H_
25 void Init(
const std::stringstream&
input);
30 void Validate(
const std::stringstream& schema);
37 xmlpp::DomParser* parser_;
A helper class to hold xml file data and provide automatic validation.
void Validate(const std::stringstream &schema)
validates the file agaisnt a schema
virtual ~XMLParser()
destructor
void Init(const std::stringstream &input)
initializes a parser with an xml snippet
xmlpp::Document * Document()
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters