![]() |
Qt 6.x
The Qt SDK
|
The struct is used to store the result of QDomDocument::setContent(). More...
#include <qdom.h>
Public Member Functions | |
operator bool () const noexcept | |
\variable QDomDocument::ParseResult::errorMessage | |
Public Attributes | |
QString | errorMessage |
qsizetype | errorLine = 0 |
qsizetype | errorColumn = 0 |
The struct is used to store the result of QDomDocument::setContent().
The QDomDocument::ParseResult struct is used for storing the result of QDomDocument::setContent(). If an error is found while parsing an XML document, the message, line and column number of an error are stored in ParseResult
.
|
inlineexplicitnoexcept |
\variable QDomDocument::ParseResult::errorMessage
The field contains the text message of an error found by QDomDocument::setContent() while parsing an XML document.
\variable QDomDocument::ParseResult::errorLine
The field contains the line number of an error found by QDomDocument::setContent() while parsing an XML document.
\variable QDomDocument::ParseResult::errorColumn
The field contains the column number of an error found by QDomDocument::setContent() while parsing an XML document.
Returns true
if an error is found by QDomDocument::setContent(); otherwise returns false
.
Definition at line 281 of file qdom.h.
References errorMessage(), and QString::isEmpty().
qsizetype QDomDocument::ParseResult::errorColumn = 0 |
Definition at line 279 of file qdom.h.
Referenced by QDomBuilder::fatalError().
qsizetype QDomDocument::ParseResult::errorLine = 0 |
Definition at line 278 of file qdom.h.
Referenced by QDomBuilder::fatalError().
QString QDomDocument::ParseResult::errorMessage |
Definition at line 277 of file qdom.h.
Referenced by QDomBuilder::fatalError().