在本页

QStringConverter::FinalizeResultChar Struct

template <typename Char> struct QStringConverter::FinalizeResultChar

保存在QStringDecoderQStringEncoder 上调用 finalize() 的结果 ... 更多...

此结构在 Qt 6.11 中引入。

公共变量

QStringConverter::FinalizeResultChar<Char>::Error error
qint16 invalidChars
Char *next

详细说明

该类用于传递 finalize() 调用的结果或调用未成功的原因。

成员变量文档

QStringConverter::FinalizeResultChar<Char>::Error FinalizeResultChar::error

继电器在最终确定过程中发现的错误。

qint16 FinalizeResultChar::invalidChars

之前在状态中统计的无效字符数,以及调用 finalize() 时遇到的无效字符数。

Char *FinalizeResultChar::next

指向最后写入字符后的字符位置。

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