Public Member Functions | List of all members
cyclus::XMLParser Class Reference

Detailed Description

A helper class to hold xml file data and provide automatic validation.

Definition at line 16 of file xml_parser.h.

#include <xml_parser.h>

Public Member Functions

xmlpp::Document * Document ()
void Init (const std::stringstream &input)
void Init (const std::string &input)
void Validate (const std::stringstream &schema)
 XMLParser ()
virtual ~XMLParser ()

Constructor & Destructor Documentation

◆ XMLParser()

cyclus::XMLParser::XMLParser ( )


Definition at line 14 of file

◆ ~XMLParser()

cyclus::XMLParser::~XMLParser ( )


Definition at line 19 of file

Member Function Documentation

◆ Document()

xmlpp::Document * cyclus::XMLParser::Document ( )
the parser's document

Definition at line 53 of file

◆ Init() [1/2]

void cyclus::XMLParser::Init ( const std::stringstream &  input)

initializes a parser with an xml snippet

inputan xml snippet to be used as input

Definition at line 41 of file

◆ Init() [2/2]

void cyclus::XMLParser::Init ( const std::string &  input)

Definition at line 24 of file

◆ Validate()

void cyclus::XMLParser::Validate ( const std::stringstream &  schema)

validates the file agaisnt a schema

schemathe schema to validate agaisnt

Definition at line 46 of file

The documentation for this class was generated from the following files: