13 writer.append(
"label"_L1);
14 writer.append(
"journald"_L1);
16 writer.append(
"autoDetect"_L1);
19 writer.append(
"condition"_L1);
20 writer.append(
"libs.journald"_L1);
22 writer.append(
"output"_L1);
24 writer.append(
"privateFeature"_L1);
50 writer.
append(std::numeric_limits<quint64>::max());
57 writer.
append(std::numeric_limits<qint64>::max());
76 writer.append(
"Hello, World"_L1);
137 }
else if ((
f =
d) ==
d) {
189 for (
const auto pair :
values) {
191 writer.
append(pair.second);
212 switch (reader.type())
219 handleFixedWidth(reader);
224 handleString(reader);
228 reader.enterContainer();
232 reader.leaveContainer();
241 if (reader.isLengthKnown())
244 reader.enterContainer();
248 reader.leaveContainer();
256 if (
reader.isLengthKnown())
273 auto r = reader.readString();
276 r = reader.readString();
291 auto r = reader.readBytearray();
294 r = reader.readByteArray();
QByteArray & append(char c)
This is an overloaded member function, provided for convenience. It differs from the above function o...
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
bool endMap()
Terminates the map started by either overload of startMap() and returns true if the correct number of...
void startMap()
Starts a CBOR Map with indeterminate length in the CBOR stream.
void startArray()
Starts a CBOR Array with indeterminate length in the CBOR stream.
void append(quint64 u)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool endArray()
Terminates the array started by either overload of startArray() and returns true if the correct numbe...
\inmodule QtCore\reentrant
qsizetype size() const noexcept
void reserve(qsizetype size)
void append(parameter_type t)
iterator insert(const Key &key, const T &value)
const_iterator cend() const
const_iterator cbegin() const
\inmodule QtCore \reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
\keyword 16-bit Floating Point Support\inmodule QtCore \inheaderfile QFloat16
QMap< QString, QString > map
[6]
QSet< QString >::iterator it
QImageReader reader("image.png")
[1]
std::pair< T1, T2 > QPair
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
bool qIsNaN(qfloat16 f) noexcept
bool qIsInf(qfloat16 f) noexcept
Q_CORE_EXPORT Q_DECL_CONST_FUNCTION double qInf()
Q_CORE_EXPORT Q_DECL_CONST_FUNCTION double qQNaN()
GLenum GLsizei GLsizei GLint * values
[15]
GLboolean GLboolean GLboolean b
GLenum GLuint GLintptr GLsizeiptr size
[1]
unsigned long long quint64
void writeCurrentTime(QCborStreamWriter &writer)
[10]
void writeFloat(QCborStreamWriter &writer, float f)
[12]
QFile f("output", QIODevice::WriteOnly)
[1]
void writeDouble(QCborStreamWriter &writer, double d)
[14]
QBytearray decodeBytearray(QCborStreamReader &reader)
[27]
void writeString(QCborStreamWriter &writer, const QString &str)
[8]
void writeFile(QCborStreamWriter &writer, const QString &fileName)
[6]
QCborStreamReader< qsizetype > result
[28]
QByteArray encodedNumber(qint64 value)
[2]
void writeRxPattern(QCborStreamWriter &writer, const QRegularExpression &rx)
[9]
QVariantList populateFromCbor(QCborStreamReader &reader)
[24]
QString decodeString(QCborStreamReader &reader)
[26]
void appendList(QCborStreamWriter &writer, const QList< QString > &values)
[19]
void appendMap(QCborStreamWriter &writer, const QList< QPair< int, QString > > &values)
[21]
void handleStream(QCborStreamReader &reader)
[23]