StringResult Struct

template <typename Container> struct QCborStreamReader::StringResult

Public Variables

Container data
QCborStreamReader::StringResultCode status

Detailed Description

This class is returned by readString() and readByteArray(), with either the contents of the string that was read or an indication that the parsing is done or found an error.

The contents of data are valid only if status is Ok. Otherwise, it should be null.

Member Variable Documentation

Container StringResult::data

Contains the actual data from the string if status is Ok.

QCborStreamReader::StringResultCode StringResult::status

Contains the status of the attempt of reading the string from the stream.

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