이 페이지에서

QDomDocument::ParseResult Struct

struct QDomDocument::ParseResult

이 구조체는 ` QDomDocument::setContent()`의 결과를 저장하는 데 사용됩니다. 더 보기...

이 구조체는 Qt 6.5에서 도입되었습니다.

공개 함수

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

이 필드에는 QDomDocument::setContent()이 XML 문서를 파싱하는 과정에서 발견한 오류에 대한 텍스트 메시지가 포함됩니다.

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.