Qt
6.x
The Qt SDK
Loading...
Searching...
No Matches
src_corelib_serialization_qcborvalue.cpp
Go to the documentation of this file.
1
// Copyright (C) 2018 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
5
QCborValue
(uuid) ==
QCborValue
(
QCborKnownTags::Uuid
, uuid.toRfc4122());
7
9
QCborValue
value
(
QCborSimpleType
(12));
11
13
value
.isSimpleType(
QCborSimpleType
(12));
15
17
QCborValue
(
QUrl
(
"https://example.com"
)) ==
QCborValue
(
QCborKnownTags::Url
,
"https://example.com"
);
19
21
value
.toMap().value(
key
);
23
25
value
.toMap().value(
key
);
27
29
if
(reader.isTag() && reader.toTag() ==
QCborKnownTags::Signature
)
30
reader.next();
31
32
QCborValue
contents
= QCborValue::fromCbor(reader);
QCborValue
\inmodule QtCore\reentrant
Definition
qcborvalue.h:50
QUrl
\inmodule QtCore
Definition
qurl.h:94
QCborKnownTags::Url
@ Url
QCborKnownTags::Uuid
@ Uuid
QCborKnownTags::Signature
@ Signature
QCborSimpleType
QCborSimpleType
Definition
qcborcommon.h:23
value
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Definition
qeglstreamconvenience_p.h:46
key
GLuint64 key
Definition
qopengles2ext.h:2268
value
QCborValue value(QCborSimpleType(12))
[0]
contents
QCborValue contents
Definition
src_corelib_serialization_qcborvalue.cpp:32
qtbase
src
corelib
doc
snippets
code
src_corelib_serialization_qcborvalue.cpp
Generated by
1.9.7