▲
-
Header: ParseResult
-
Since: Qt 6.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Xml)
target_link_libraries(mytarget PRIVATE Qt6::Xml)
-
qmake: QT += xml
-
Group: ParseResult is part of XML Classes
Detailed Description▲
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.
See Also▲
See also QDomDocument::setContent()
Member Function Documentation▲
[explicit] bool ParseResult::operator bool() const▲
Returns false if any error is found by QDomDocument::setContent(); otherwise returns true.
See Also▲
See also QDomDocument::setContent()
Member Variable Documentation▲
qsizetype ParseResult::errorColumn▲
The field contains the column number of an error found by QDomDocument::setContent() while parsing an XML document.
See Also▲
See also QDomDocument::setContent()
qsizetype ParseResult::errorLine▲
The field contains the line number of an error found by QDomDocument::setContent() while parsing an XML document.
See Also▲
See also QDomDocument::setContent()
QString ParseResult::errorMessage▲
The field contains the text message of an error found by QDomDocument::setContent() while parsing an XML document.
See Also▲
See also QDomDocument::setContent()