Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
utility::tag::XMLErrorHandler Class Reference

#include <XMLSchemaValidation.hh>

Public Types

typedef std::list< std::string > Errors
typedef std::list< std::string > Warnings

Public Member Functions

void set_file_contents (std::string const &file_contents)
void handle_xml_error (std::string const &message, int line)
void handle_xml_warning (std::string const &message, int line)
std::list< std::string > const & errors () const
std::list< std::string > const & warnings () const
void push_node (xmlNode *node)
void pop_node ()

Private Member Functions

std::string lines_near_error (int line) const

Private Attributes

std::list< std::string > error_list_
std::list< std::string > warning_list_
utility::vector1< xmlNode * > node_stack_
utility::vector1< std::string > file_lines_

Member Typedef Documentation

Member Function Documentation

std::list< std::string > const & utility::tag::XMLErrorHandler::errors ( ) const
void utility::tag::XMLErrorHandler::handle_xml_error ( std::string const &  message,
int  line 
void utility::tag::XMLErrorHandler::handle_xml_warning ( std::string const &  message,
int  line 
std::string utility::tag::XMLErrorHandler::lines_near_error ( int  line) const
void utility::tag::XMLErrorHandler::pop_node ( )
void utility::tag::XMLErrorHandler::push_node ( xmlNode *  node)
void utility::tag::XMLErrorHandler::set_file_contents ( std::string const &  file_contents)
std::list< std::string > const & utility::tag::XMLErrorHandler::warnings ( ) const

Member Data Documentation

std::list< std::string > utility::tag::XMLErrorHandler::error_list_

Referenced by errors(), and handle_xml_error().

utility::vector1< std::string > utility::tag::XMLErrorHandler::file_lines_
utility::vector1< xmlNode * > utility::tag::XMLErrorHandler::node_stack_

Referenced by pop_node(), and push_node().

std::list< std::string > utility::tag::XMLErrorHandler::warning_list_

Referenced by handle_xml_warning(), and warnings().

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