이 페이지에서

QCborStreamReader::StringResult Struct

template <typename Container> struct QCborStreamReader::StringResult

공용 변수

Container data
QCborStreamReader::StringResultCode status

상세 설명

StringResult<Container>는 Container 가 문자열 데이터를 저장하는 데 사용되는 유형(예: QString 또는 QByteArray)을 지정하는 템플릿 클래스입니다.

이 클래스는 readString() 및 readByteArray()에 의해 반환되며, 읽은 문자열의 내용이나 구문 분석이 완료되었거나 오류가 발견되었음을 나타냅니다.

data 의 내용은 status 이 Ok 인 경우에만 유효합니다. 그렇지 않은 경우 null이어야 합니다.

멤버 변수 설명

Container StringResult::data

status 가 Ok 인 경우, 문자열의 실제 데이터를 포함합니다.

QCborStreamReader::StringResultCode StringResult::status

스트림에서 문자열을 읽으려는 시도의 상태를 포함합니다.

© 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.