CYCLUS
|
A helper class to hold xml file data and provide automatic validation.
Definition at line 15 of file xml_parser.h.
#include <xml_parser.h>
Public Member Functions | |
xmlpp::Document * | Document () |
void | Init (const std::string &input) |
void | Init (const std::stringstream &input) |
void | Validate (const std::stringstream &schema) |
XMLParser () | |
virtual | ~XMLParser () |
cyclus::XMLParser::XMLParser | ( | ) |
constructor
Definition at line 22 of file xml_parser.cc.
|
virtual |
destructor
Definition at line 27 of file xml_parser.cc.
xmlpp::Document * cyclus::XMLParser::Document | ( | ) |
Definition at line 61 of file xml_parser.cc.
Definition at line 32 of file xml_parser.cc.
initializes a parser with an xml snippet
input | an xml snippet to be used as input |
Definition at line 49 of file xml_parser.cc.
validates the file agaisnt a schema
schema | the schema to validate agaisnt |
Definition at line 54 of file xml_parser.cc.