Xerces-C++ 3.3.0
XMLDOMMsg.hpp
Go to the documentation of this file.
1// This file is generated, don't edit it!!
2
3#if !defined(XERCESC_INCLUDE_GUARD_ERRHEADER_XMLDOMMsg)
4#define XERCESC_INCLUDE_GUARD_ERRHEADER_XMLDOMMsg
5
9
11
12// Ignore warning about private constructor
13#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5))
14# pragma GCC diagnostic push
15# pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
16#endif
17
19{
20public :
65
66 static bool isFatal(const XMLDOMMsg::Codes toCheck)
67 {
68 return ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds));
69 }
70
71 static bool isWarning(const XMLDOMMsg::Codes toCheck)
72 {
73 return ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds));
74 }
75
76 static bool isError(const XMLDOMMsg::Codes toCheck)
77 {
78 return ((toCheck >= E_LowBounds) && (toCheck <= E_HighBounds));
79 }
80
82 {
83 if ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds))
85 else if ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds))
87 else if ((toCheck >= E_LowBounds) && (toCheck <= E_HighBounds))
90 }
92 {
93 if ((toCheck >= W_LowBounds) && (toCheck <= W_HighBounds))
95 else if ((toCheck >= F_LowBounds) && (toCheck <= F_HighBounds))
98 }
99
100private:
101 // -----------------------------------------------------------------------
102 // Unimplemented constructors and operators
103 // -----------------------------------------------------------------------
104 XMLDOMMsg();
105};
106
107#if defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 5))
108# pragma GCC diagnostic pop
109#endif
110
112
113#endif
114
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
ErrorSeverity
The severity of the error described by the DOMError.
Definition DOMError.hpp:100
@ DOM_SEVERITY_FATAL_ERROR
Definition DOMError.hpp:103
@ DOM_SEVERITY_ERROR
Definition DOMError.hpp:102
@ DOM_SEVERITY_WARNING
Definition DOMError.hpp:101
Definition XMLDOMMsg.hpp:19
static DOMError::ErrorSeverity DOMErrorType(const XMLDOMMsg::Codes toCheck)
Definition XMLDOMMsg.hpp:91
static bool isError(const XMLDOMMsg::Codes toCheck)
Definition XMLDOMMsg.hpp:76
Codes
Definition XMLDOMMsg.hpp:22
@ LSParser_ParsingAborted
Definition XMLDOMMsg.hpp:57
@ INUSE_ATTRIBUTE_ERR
Definition XMLDOMMsg.hpp:35
@ E_LowBounds
Definition XMLDOMMsg.hpp:62
@ W_HighBounds
Definition XMLDOMMsg.hpp:61
@ WRONG_DOCUMENT_ERR
Definition XMLDOMMsg.hpp:29
@ NO_RESULT_ERR
Definition XMLDOMMsg.hpp:52
@ TYPE_MISMATCH_ERR
Definition XMLDOMMsg.hpp:42
@ INDEX_SIZE_ERR
Definition XMLDOMMsg.hpp:26
@ INVALID_STATE_ERR
Definition XMLDOMMsg.hpp:36
@ Writer_NotRecognizedType
Definition XMLDOMMsg.hpp:55
@ VALIDATION_ERR
Definition XMLDOMMsg.hpp:41
@ INVALID_ACCESS_ERR
Definition XMLDOMMsg.hpp:40
@ NOT_FOUND_ERR
Definition XMLDOMMsg.hpp:33
@ NoError
Definition XMLDOMMsg.hpp:23
@ DOMXPATHEXCEPTION_ERRX
Definition XMLDOMMsg.hpp:49
@ BAD_BOUNDARYPOINTS_ERR
Definition XMLDOMMsg.hpp:44
@ SERIALIZE_ERR
Definition XMLDOMMsg.hpp:48
@ LSParser_ParseInProgress
Definition XMLDOMMsg.hpp:56
@ INVALID_EXPRESSION_ERR
Definition XMLDOMMsg.hpp:50
@ NO_MODIFICATION_ALLOWED_ERR
Definition XMLDOMMsg.hpp:32
@ INVALID_CHARACTER_ERR
Definition XMLDOMMsg.hpp:30
@ Writer_NestedCDATA
Definition XMLDOMMsg.hpp:53
@ W_LowBounds
Definition XMLDOMMsg.hpp:60
@ DOMEXCEPTION_ERRX
Definition XMLDOMMsg.hpp:25
@ Writer_NotRepresentChar
Definition XMLDOMMsg.hpp:54
@ E_HighBounds
Definition XMLDOMMsg.hpp:63
@ NAMESPACE_ERR
Definition XMLDOMMsg.hpp:39
@ NOT_SUPPORTED_ERR
Definition XMLDOMMsg.hpp:34
@ F_HighBounds
Definition XMLDOMMsg.hpp:59
@ F_LowBounds
Definition XMLDOMMsg.hpp:24
@ TYPE_ERR
Definition XMLDOMMsg.hpp:51
@ PARSE_ERR
Definition XMLDOMMsg.hpp:47
@ NO_DATA_ALLOWED_ERR
Definition XMLDOMMsg.hpp:31
@ DOMLSEXCEPTION_ERRX
Definition XMLDOMMsg.hpp:46
@ DOMSTRING_SIZE_ERR
Definition XMLDOMMsg.hpp:27
@ INVALID_MODIFICATION_ERR
Definition XMLDOMMsg.hpp:38
@ INVALID_NODE_TYPE_ERR
Definition XMLDOMMsg.hpp:45
@ DOMRANGEEXCEPTION_ERRX
Definition XMLDOMMsg.hpp:43
@ SYNTAX_ERR
Definition XMLDOMMsg.hpp:37
@ HIERARCHY_REQUEST_ERR
Definition XMLDOMMsg.hpp:28
@ LSParser_ParsingFailed
Definition XMLDOMMsg.hpp:58
static XMLErrorReporter::ErrTypes errorType(const XMLDOMMsg::Codes toCheck)
Definition XMLDOMMsg.hpp:81
static bool isWarning(const XMLDOMMsg::Codes toCheck)
Definition XMLDOMMsg.hpp:71
static bool isFatal(const XMLDOMMsg::Codes toCheck)
Definition XMLDOMMsg.hpp:66
ErrTypes
Definition XMLErrorReporter.hpp:49
@ ErrTypes_Unknown
Definition XMLErrorReporter.hpp:54
@ ErrType_Error
Definition XMLErrorReporter.hpp:51
@ ErrType_Warning
Definition XMLErrorReporter.hpp:50
@ ErrType_Fatal
Definition XMLErrorReporter.hpp:52