▲
-
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
I. 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.
I-1. See Also▲
See also QDomDocument::setContent()
II. Member Function Documentation▲
II-1. [explicit] bool ParseResult::operator bool() const▲
Returns false if any error is found by QDomDocument::setContent(); otherwise returns true.
II-1-1. See Also▲
See also QDomDocument::setContent()
III. Member Variable Documentation▲
III-1. qsizetype ParseResult::errorColumn▲
The field contains the column number of an error found by QDomDocument::setContent() while parsing an XML document.
III-1-1. See Also▲
See also QDomDocument::setContent()
III-2. qsizetype ParseResult::errorLine▲
The field contains the line number of an error found by QDomDocument::setContent() while parsing an XML document.
III-2-1. See Also▲
See also QDomDocument::setContent()
III-3. QString ParseResult::errorMessage▲
The field contains the text message of an error found by QDomDocument::setContent() while parsing an XML document.
III-3-1. See Also▲
See also QDomDocument::setContent()