The struct is used to store the result of QDomDocument::setContent (). 更多...
This struct was introduced in Qt 6.5.
bool | operator bool () const |
qsizetype | errorColumn |
qsizetype | errorLine |
QString | errorMessage |
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
.
另请参阅 QDomDocument::setContent ().
[explicit noexcept]
bool
ParseResult::
operator bool
() const
返回
false
if any error is found by
QDomDocument::setContent
();否则返回
true
.
另请参阅 QDomDocument::setContent ().
The field contains the column number of an error found by QDomDocument::setContent () while parsing an XML document.
另请参阅 QDomDocument::setContent ().
The field contains the line number of an error found by QDomDocument::setContent () while parsing an XML document.
另请参阅 QDomDocument::setContent ().
The field contains the text message of an error found by QDomDocument::setContent () while parsing an XML document.
另请参阅 QDomDocument::setContent ().