IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Detailed Description

The struct is used to store the result of QDomDocument::setContent().

This struct was introduced in Qt 6.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

  • 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

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

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

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

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

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+