A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/errors_8hpp_source.html below:

NCBI C++ ToolKit: include/misc/xmlwrapp/errors.hpp Source File

36 #ifndef _xmlwrapp_errors_hpp_ 37 #define _xmlwrapp_errors_hpp_ 195  #if !(defined(_MSC_VER) && _MSC_VER < 1900) 222  virtual const char

*

what

()

const

noexcept;

246  #if !(defined(_MSC_VER) && _MSC_VER < 1900)

The xml::error_message class is used to store a single error message which may appear while parsing o...

std::string get_message(void) const

Get the error message.

message_type

A type for different type of errors.

@ type_fatal_error

fatal error

error_message & operator=(const error_message &other)=default

error_message(const error_message &other)=default

message_type message_type_

error_message & operator=(const error_message &&other)

Moving assignment.

error_message(const std::string &message, message_type msg_type, long line, const std::string &filename)

Create a new xml::error_message object.

std::string get_filename(void) const

Get the file name.

static std::string message_type_str(message_type mt)

Convert an error type to a string.

long get_line(void) const

Get the line number.

message_type get_message_type(void) const

Get the error message type.

The xml::error_messages class is used to store all the error message which are collected while parsin...

void append_messages(const error_messages &other)

Appends the messages from the other container.

error_messages(error_messages &&other)=default

error_messages(const error_messages &other)=default

bool has_fatal_errors(void) const

Check if there are fatal errors in the error messages.

const error_messages_type & get_messages(void) const

Get the error messages.

std::list< error_message > error_messages_type

A type to store multiple messages.

bool has_warnings(void) const

Check if there are warnings in the error messages.

bool has_errors(void) const

Check if there are errors in the error messages.

std::string print(void) const

Convert error messages into a single printable string.

error_messages_type error_messages_

bool has_messages_of_type(error_message::message_type type) const

error_messages & operator=(error_messages &&other)=default

error_messages & operator=(const error_messages &other)=default

The xml::parser_exception class is used to store parsing and validating exception information.

virtual const char * what() const noexcept

Convert error messages into a printable C-style string.

parser_exception & operator=(parser_exception &&other)=default

virtual ~parser_exception() noexcept

Destroy the object.

parser_exception & operator=(const parser_exception &other)=default

parser_exception(const error_messages &msgs)

Create a new object using the given list of error messages.

const error_messages & get_messages(void) const

Get error messages.

parser_exception(const parser_exception &other)=default

parser_exception(parser_exception &&other)=default

warnings_as_errors_type

A type for different approaches to process warnings.

@ type_warnings_not_errors

Do not treat warnings as errors.

@ type_warnings_are_errors

Treat warnings as errors.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4