#include <qcborvalue_p.h>
|
void | deref () |
|
void | compact (qsizetype reserved) |
|
qptrdiff | addByteData (const char *block, qsizetype len) |
|
const QtCbor::ByteData * | byteData (QtCbor::Element e) const |
|
const QtCbor::ByteData * | byteData (qsizetype idx) const |
|
QCborContainerPrivate * | containerAt (qsizetype idx, QCborValue::Type type) const |
|
void | replaceAt_complex (QtCbor::Element &e, const QCborValue &value, ContainerDisposition disp) |
|
void | replaceAt_internal (QtCbor::Element &e, const QCborValue &value, ContainerDisposition disp) |
|
void | replaceAt (qsizetype idx, const QCborValue &value, ContainerDisposition disp=CopyContainer) |
|
void | insertAt (qsizetype idx, const QCborValue &value, ContainerDisposition disp=CopyContainer) |
|
void | append (QtCbor::Undefined) |
|
void | append (qint64 value) |
|
void | append (QCborTag tag) |
|
void | appendByteData (const char *data, qsizetype len, QCborValue::Type type, QtCbor::Element::ValueFlags extraFlags={}) |
|
void | appendAsciiString (const QString &s) |
|
void | appendAsciiString (const char *str, qsizetype len) |
|
void | appendUtf8String (const char *str, qsizetype len) |
|
void | append (QLatin1String s) |
|
void | appendAsciiString (QStringView s) |
|
void | append (const QString &s) |
|
void | append (QStringView s) |
|
void | append (const QCborValue &v) |
|
QByteArray | byteArrayAt (qsizetype idx) const |
|
QString | stringAt (qsizetype idx) const |
|
QCborValue | valueAt (qsizetype idx) const |
|
QCborValue | extractAt_complex (QtCbor::Element e) |
|
QCborValue | extractAt (qsizetype idx) |
|
template<typename String > |
int | stringCompareElement (const QtCbor::Element &e, String s) const |
|
template<typename String > |
bool | stringEqualsElement (const QtCbor::Element &e, String s) const |
|
template<typename String > |
bool | stringEqualsElement (qsizetype idx, String s) const |
|
int | compareElement (qsizetype idx, const QCborValue &value) const |
|
void | removeAt (qsizetype idx) |
|
| QSharedData () noexcept |
|
| QSharedData (const QSharedData &) noexcept |
|
QSharedData & | operator= (const QSharedData &)=delete |
|
| ~QSharedData ()=default |
|
|
static QCborContainerPrivate * | clone (QCborContainerPrivate *d, qsizetype reserved=-1) |
|
static QCborContainerPrivate * | detach (QCborContainerPrivate *d, qsizetype reserved) |
|
static QCborContainerPrivate * | grow (QCborContainerPrivate *d, qsizetype index) |
|
static void | resetValue (QCborValue &v) |
|
static QCborValue | makeValue (QCborValue::Type type, qint64 n, QCborContainerPrivate *d=nullptr, ContainerDisposition disp=CopyContainer) |
|
static QtCbor::Element | elementFromValue (const QCborValue &value) |
|
static int | compareUtf8 (const QtCbor::ByteData *b, const QLatin1String &s) |
|
static int | compareUtf8 (const QtCbor::ByteData *b, QStringView s) |
|
static int | compareElement_helper (const QCborContainerPrivate *c1, QtCbor::Element e1, const QCborContainerPrivate *c2, QtCbor::Element e2) |
|
Definition at line 128 of file qcborvalue_p.h.
◆ ContainerDisposition
◆ addByteData()
◆ append() [1/7]
◆ append() [2/7]
◆ append() [3/7]
◆ append() [4/7]
void QCborContainerPrivate::append |
( |
qint64 |
value | ) |
|
|
inline |
◆ append() [5/7]
◆ append() [6/7]
◆ append() [7/7]
◆ appendAsciiString() [1/3]
◆ appendAsciiString() [2/3]
◆ appendAsciiString() [3/3]
Q_NEVER_INLINE void QCborContainerPrivate::appendAsciiString |
( |
QStringView |
s | ) |
|
◆ appendByteData()
◆ appendUtf8String()
◆ byteArrayAt()
◆ byteData() [1/2]
◆ byteData() [2/2]
◆ clone()
◆ compact()
◆ compareElement()
◆ compareElement_helper()
◆ compareUtf8() [1/2]
◆ compareUtf8() [2/2]
◆ containerAt()
◆ deref()
void QCborContainerPrivate::deref |
( |
| ) |
|
|
inline |
◆ detach()
◆ elementFromValue()
◆ extractAt()
◆ extractAt_complex()
◆ grow()
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 972 of file qcborvalue.cpp.
◆ insertAt()
◆ makeValue()
◆ removeAt()
◆ replaceAt()
◆ replaceAt_complex()
◆ replaceAt_internal()
◆ resetValue()
◆ stringAt()
◆ stringCompareElement()
template<typename String >
◆ stringEqualsElement() [1/2]
template<typename String >
◆ stringEqualsElement() [2/2]
template<typename String >
bool QCborContainerPrivate::stringEqualsElement |
( |
qsizetype |
idx, |
|
|
String |
s |
|
) |
| const |
|
inline |
◆ valueAt()
◆ QExplicitlySharedDataPointer< QCborContainerPrivate >
◆ data
◆ elements
◆ usedData
The documentation for this class was generated from the following files: