QDomDocument::ParseResult Struct
struct QDomDocument::ParseResultこの構造体は、QDomDocument::setContent() の結果を格納するために使用されます。詳細...
この構造体は Qt 6.5 で導入されました。
- 継承されたメンバを含む、すべてのメンバの一覧
- ParseResult はXML クラスの一部です。
パブリック関数
| operator bool() const |
パブリック変数
| qsizetype | errorColumn |
| qsizetype | errorLine |
| QString | errorMessage |
詳細な説明
QDomDocument::ParseResult 構造体は、QDomDocument::setContent()の結果を格納するために使用されます。XMLドキュメントの解析中にエラーが検出された場合、そのエラーのメッセージ、行番号、および列番号がParseResult に格納されます。
QDomDocument::setContent()も参照してください 。
メンバ関数のドキュメント
[explicit noexcept] ParseResult::operator bool() const
QDomDocument::setContent() によって何らかのエラーが検出された場合はfalse を返し、それ以外の場合はtrue を返します。
QDomDocument::setContent()も参照してください 。
メンバ変数のドキュメント
qsizetype ParseResult::errorColumn
このフィールドには、XMLドキュメントの解析中にQDomDocument::setContent()によって検出されたエラーの列番号が格納されます。
QDomDocument::setContent()も参照してください 。
qsizetype ParseResult::errorLine
このフィールドには、XMLドキュメントの解析中にQDomDocument::setContent()によって検出されたエラーの行番号が格納されます。
QDomDocument::setContent()も参照してください 。
QString ParseResult::errorMessage
このフィールドには、XMLドキュメントの解析中にQDomDocument::setContent()によって検出されたエラーのメッセージが格納されます。
QDomDocument::setContent()も参照してください 。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.