ParseResult Struct
struct QDomDocument::ParseResult이 구조체는 QDomDocument::setContent()의 결과를 저장하는 데 사용됩니다. 더 보기...
이 구조체는 Qt 6.5에 도입되었습니다.
- 상속된 멤버를 포함한 모든 멤버의 목록
- ParseResult는 XML 클래스의 일부입니다.
공용 함수
bool | operator bool() const |
공용 변수
qsizetype | errorColumn |
qsizetype | errorLine |
QString | errorMessage |
상세 설명
QDomDocument::ParseResult 구조체는 QDomDocument::setContent()의 결과를 저장하는 데 사용됩니다. XML 문서를 구문 분석하는 동안 오류가 발견되면 오류의 메시지, 줄 및 열 번호가 ParseResult
에 저장됩니다.
QDomDocument::setContent()도 참조하세요 .
멤버 함수 문서
[explicit noexcept]
bool 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()도 참조하세요 .
© 2025 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.