XML Error with message and location. More...
#include <xmlstorage.h>
Public Member Functions | |
XMLError () | |
XMLError (const char *msg) | |
XMLError (const XMLLocation &location, const char *msg) | |
std::string | str () const |
return formated error message | |
Public Attributes | |
std::string | _message |
std::string | _systemId |
int | _line |
int | _column |
int | _error_code |
Friends | |
std::ostream & | operator<< (std::ostream &, const XMLError &err) |
XML Error with message and location.
Definition at line 867 of file xmlstorage.h.
XMLStorage::XMLError::XMLError | ( | ) | [inline] |
Definition at line 869 of file xmlstorage.h.
: _line(0), _column(0), _error_code(0) { }
XMLStorage::XMLError::XMLError | ( | const char * | msg ) | [inline] |
Definition at line 876 of file xmlstorage.h.
: _line(0), _column(0), _error_code(0), _message(msg) { }
XMLStorage::XMLError::XMLError | ( | const XMLLocation & | location, |
const char * | msg | ||
) | [inline] |
Definition at line 884 of file xmlstorage.h.
: _systemId(location.get_path()), _line(location.get_line()), _column(location.get_column()), _error_code(0), _message(msg) { }
std::string XMLStorage::XMLError::str | ( | ) | const |
return formated error message
Definition at line 887 of file xmlstorage.cpp.
{ std::ostringstream out; out << *this; return out.str(); }
std::ostream& operator<< | ( | std::ostream & | out, |
const XMLError & | err | ||
) | [friend] |
Definition at line 900 of file xmlstorage.h.
Definition at line 901 of file xmlstorage.h.
Definition at line 899 of file xmlstorage.h.
std::string XMLStorage::XMLError::_message |
Definition at line 897 of file xmlstorage.h.
std::string XMLStorage::XMLError::_systemId |
Definition at line 898 of file xmlstorage.h.
ROS Explorer Source Code Documentation
generated on 02.01.2013 by ![]() |