![]() |
Qt 6.x
The Qt SDK
|
#include <qcborvalue_p.h>
Inheritance diagram for QCborContainerPrivate:
Collaboration diagram for QCborContainerPrivate:Public Types | |
| enum | ContainerDisposition { CopyContainer , MoveContainer } |
Public Attributes | |
| QByteArray::size_type | usedData = 0 |
| QByteArray | data |
| QList< QtCbor::Element > | elements |
Public Attributes inherited from QSharedData | |
| QAtomicInt | ref |
Friends | |
| class | QExplicitlySharedDataPointer< QCborContainerPrivate > |
Definition at line 93 of file qcborvalue_p.h.
| Enumerator | |
|---|---|
| CopyContainer | |
| MoveContainer | |
Definition at line 99 of file qcborvalue_p.h.
Definition at line 111 of file qcborvalue_p.h.
References increment(), QtCbor::ByteData::len, ptr(), and usedData.
Referenced by appendAsciiString(), and replaceAt_complex().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 241 of file qcborvalue_p.h.
References elements, insertAt(), and QList< T >::size().
Here is the call graph for this function:Definition at line 228 of file qcborvalue_p.h.
References append(), and qToStringViewIgnoringNull().
Here is the call graph for this function:Definition at line 198 of file qcborvalue_p.h.
References QList< T >::append(), elements, QCborValue::Tag, and tag.
Here is the call graph for this function:Definition at line 194 of file qcborvalue_p.h.
References QList< T >::append(), elements, and QCborValue::Integer.
Here is the call graph for this function:
|
inline |
Definition at line 217 of file qcborvalue_p.h.
References append(), appendByteData(), QtPrivate::isAscii(), QCborValue::String, and QtCbor::Element::StringIsAscii.
Here is the call graph for this function:
|
inline |
Definition at line 233 of file qcborvalue_p.h.
References appendAsciiString(), appendByteData(), QtPrivate::isAscii(), QCborValue::String, and QtCbor::Element::StringIsUtf16.
Here is the call graph for this function:
|
inline |
Definition at line 190 of file qcborvalue_p.h.
References QList< T >::append(), and elements.
Referenced by QCborValue::QCborValue(), QCborValue::QCborValue(), QCborValue::QCborValue(), StashedContainer::~StashedContainer(), append(), append(), and findOrAddMapKey().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 209 of file qcborvalue_p.h.
References appendByteData(), str, QCborValue::String, and QtCbor::Element::StringIsAscii.
Here is the call graph for this function:| Q_NEVER_INLINE void QCborContainerPrivate::appendAsciiString | ( | QStringView | s | ) |
Definition at line 1030 of file qcborvalue.cpp.
References addByteData(), QList< T >::append(), e, elements, QtCbor::Element::HasByteData, ptr(), qt_to_latin1_unchecked(), QCborValue::String, and QtCbor::Element::StringIsAscii.
Here is the call graph for this function:
|
inline |
Definition at line 202 of file qcborvalue_p.h.
Referenced by QCborValue::QCborValue(), append(), append(), appendAsciiString(), appendUtf8String(), and extractAt_complex().
Here is the caller graph for this function:Definition at line 213 of file qcborvalue_p.h.
References appendByteData(), str, and QCborValue::String.
Here is the call graph for this function:
|
inline |
Definition at line 246 of file qcborvalue_p.h.
References QList< T >::at(), byteData(), e, and elements.
Referenced by QCborValue::toByteArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 150 of file qcborvalue_p.h.
References QList< T >::at(), byteData(), and elements.
Here is the call graph for this function:
|
inline |
Definition at line 137 of file qcborvalue_p.h.
References e, QtCbor::Element::HasByteData, and Q_ASSERT.
Referenced by byteArrayAt(), byteData(), compareElementRecursive(), extractAt_complex(), replaceAt(), sortContainer(), stringAt(), stringCompareElement(), QCborValue::toDateTime(), QAnyStringViewUtils::toStringView(), QCborValue::toUrl(), and QCborValue::toUuid().
Here is the caller graph for this function:
|
static |
Definition at line 935 of file qcborvalue.cpp.
References d, e, QtCbor::Element::IsContainer, and QExplicitlySharedDataPointer< T >::take().
Referenced by detach(), and replaceAt_complex().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 925 of file qcborvalue.cpp.
References Q_UNUSED, and usedData.
Referenced by extractAt_complex().
Here is the caller graph for this function:
|
inline |
Definition at line 371 of file qcborvalue_p.h.
References QList< T >::at(), compareElement_helper(), elementFromValue(), and elements.
Referenced by QCborArray::contains(), and findCborMapKey().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 1213 of file qcborvalue.cpp.
References c2, and compareElementRecursive().
Referenced by compareContainer(), and compareElement().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 332 of file qcborvalue_p.h.
References QUtf8::compareUtf8().
Referenced by sortContainer(), and stringCompareElement().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 337 of file qcborvalue_p.h.
References QUtf8::compareUtf8().
Here is the call graph for this function:
|
inline |
Definition at line 155 of file qcborvalue_p.h.
References QList< T >::at(), e, elements, and QtCbor::Element::IsContainer.
Here is the call graph for this function:
|
inline |
Definition at line 105 of file qcborvalue_p.h.
Referenced by sortContainer().
Here is the caller graph for this function:
|
static |
Definition at line 958 of file qcborvalue.cpp.
Referenced by convertArrayToMap(), findOrAddMapKey(), and grow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 317 of file qcborvalue_p.h.
References QList< T >::at(), QtCbor::Element::container, e, elements, and QtCbor::Element::IsContainer.
Referenced by QCborValue::compare(), and compareElement().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 299 of file qcborvalue_p.h.
References e, elements, extractAt_complex(), QtCbor::Element::HasByteData, QCborValue::Invalid, QtCbor::Element::IsContainer, makeValue(), MoveContainer, qSwap(), and QCborValue::Tag.
Referenced by QCborArray::extract(), and QCborMap::extract().
Here is the call graph for this function:
Here is the caller graph for this function:| QCborValue QCborContainerPrivate::extractAt_complex | ( | QtCbor::Element | e | ) |
Definition at line 1044 of file qcborvalue.cpp.
References appendByteData(), byteData(), compact(), data, e, elements, QtCbor::Element::HasByteData, makeValue(), Q_ASSERT, QByteArray::reserve(), QList< T >::size(), and usedData.
Referenced by extractAt().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 404 of file qcborvalue_p.h.
References elements, and QList< T >::size().
Here is the call graph for this function:
|
inline |
Definition at line 385 of file qcborvalue_p.h.
References QList< T >::at(), compareElement(), e, elements, i, QCborValue::Integer, QList< T >::size(), and stringEqualsElement().
Referenced by QCborMap::constFind(), QCborMap::constFind(), QCborMap::constFind(), QCborMap::constFind(), findOrAddMapKey(), QCborValue::operator[](), QCborValue::operator[](), and QCborValue::operator[]().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 414 of file qcborvalue_p.h.
References append(), detach(), elements, findCborMapKey(), i, Q_ASSERT, qMax(), and QList< T >::size().
Referenced by QCborMap::operator[](), QCborValue::operator[](), QCborMap::operator[](), QCborValue::operator[](), QCborMap::operator[](), and QCborValue::operator[]().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 765 of file qcbormap.cpp.
References map.
|
inlinestatic |
Definition at line 2276 of file qcborvalue.cpp.
References assignContainer(), convertArrayToMap(), and QCborValue::Map.
Here is the call graph for this function:
|
static |
Definition at line 2292 of file qcborvalue.cpp.
References QCborValue::Array, assignContainer(), convertArrayToMap(), e, QtCbor::Element::IsContainer, and QCborValue::Map.
Here is the call graph for this function:
|
static |
Prepare for an insertion at position index.
Detaches and ensures there are at least index entries in the array, padding with Undefined as needed.
Definition at line 971 of file qcborvalue.cpp.
References d, detach(), j, and Q_ASSERT.
Referenced by QCborArray::insert(), QCborArray::insert(), and maybeGrow().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 185 of file qcborvalue_p.h.
References QList< T >::begin(), elements, QList< T >::insert(), and replaceAt_internal().
Referenced by append(), QCborArray::insert(), and QCborArray::insert().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 272 of file qcborvalue_p.h.
References CopyContainer, and d.
Referenced by StashedContainer::~StashedContainer(), extractAt(), extractAt_complex(), QJsonPrivate::Parser::parse(), and valueAt().
Here is the caller graph for this function:Definition at line 378 of file qcborvalue_p.h.
References elements, QList< T >::remove(), and replaceAt().
Referenced by QCborMap::erase(), QCborArray::extract(), QCborMap::extract(), and QCborArray::removeAt().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 173 of file qcborvalue_p.h.
References byteData(), e, elements, QtCbor::Element::IsContainer, replaceAt_internal(), and usedData.
Referenced by removeAt().
Here is the call graph for this function:
Here is the caller graph for this function:| void QCborContainerPrivate::replaceAt_complex | ( | QtCbor::Element & | e, |
| const QCborValue & | value, | ||
| ContainerDisposition | disp | ||
| ) |
Definition at line 987 of file qcborvalue.cpp.
References addByteData(), clone(), CopyContainer, d, e, QtCbor::Element::IsContainer, MoveContainer, Q_ASSERT, and Q_UNLIKELY.
Referenced by replaceAt_internal().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 164 of file qcborvalue_p.h.
References e, and replaceAt_complex().
Referenced by insertAt(), and replaceAt().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 267 of file qcborvalue_p.h.
Referenced by QCborArray::insert().
Here is the caller graph for this function:Definition at line 254 of file qcborvalue_p.h.
References QList< T >::at(), byteData(), e, elements, QtCbor::Element::StringIsAscii, and QtCbor::Element::StringIsUtf16.
Referenced by QJsonValueConstRef::concreteString(), QJsonObject::keys(), QJsonValueConstRef::objectKey(), and QCborValue::toString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 343 of file qcborvalue_p.h.
References byteData(), QtPrivate::compareStrings(), compareUtf8(), e, QCborValue::String, and QtCbor::Element::StringIsUtf16.
Referenced by stringEqualsElement().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 358 of file qcborvalue_p.h.
References e, and stringCompareElement().
Referenced by findCborMapKey(), and stringEqualsElement().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 364 of file qcborvalue_p.h.
References QList< T >::at(), elements, and stringEqualsElement().
Here is the call graph for this function:
|
inline |
Definition at line 283 of file qcborvalue_p.h.
References QList< T >::at(), e, elements, QtCbor::Element::HasByteData, QCborValue::Invalid, QtCbor::Element::IsContainer, makeValue(), and QCborValue::Tag.
Referenced by QCborArray::at(), QCborMap::keys(), QJsonObject::operator==(), QCborValueConstRef::operator[](), QCborValue::operator[](), QCborValueConstRef::operator[](), QCborValueConstRef::operator[](), and QCborValue::taggedValue().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 85 of file qcborvalue_p.h.
| QByteArray QCborContainerPrivate::data |
Definition at line 102 of file qcborvalue_p.h.
Referenced by extractAt_complex().
| QList<QtCbor::Element> QCborContainerPrivate::elements |
Definition at line 103 of file qcborvalue_p.h.
Referenced by QCborValue::QCborValue(), QCborValue::QCborValue(), append(), append(), append(), append(), appendAsciiString(), byteArrayAt(), byteData(), compareContainer(), compareElement(), QJsonValueConstRef::concreteString(), containerAt(), elementFromValue(), extractAt(), extractAt_complex(), findCborMapKey(), findCborMapKey(), findOrAddMapKey(), insertAt(), QJsonObject::isEmpty(), QCborMap::keys(), QJsonObject::keys(), QJsonObject::operator==(), QCborValue::operator[](), removeAt(), replaceAt(), shouldArrayRemainArray(), QJsonObject::size(), QCborArray::size(), QCborMap::size(), sortContainer(), stringAt(), stringEqualsElement(), QCborValue::tag(), QCborValue::taggedValue(), QCborValue::toDateTime(), QAnyStringViewUtils::toStringView(), QCborValue::toUrl(), QCborValue::toUuid(), and valueAt().
| QByteArray::size_type QCborContainerPrivate::usedData = 0 |
Definition at line 101 of file qcborvalue_p.h.
Referenced by addByteData(), compact(), extractAt_complex(), and replaceAt().