![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The struct is used to store the result of QDomDocument::setContent(). More...
#include <qdom.h>
Collaboration diagram for QDomDocument::ParseResult: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 false if any error is found by QDomDocument::setContent(); otherwise returns true.