187 if (!d ||
size_t(
i) >=
size_t(
size()))
669void QCborArray::detach(
qsizetype reserved)
1174#if !defined(QT_NO_DEBUG_STREAM)
1178 dbg.nospace() <<
"QCborArray{";
1179 const char *comma =
"";
1188#ifndef QT_NO_DATASTREAM
1189#if QT_CONFIG(cborstreamwriter)
1202 value = QCborValue::fromCbor(
buffer, &parseError).toArray();
1203 if (parseError.error)
\inmodule QtCore\reentrant
QCborArray & operator=(const QCborArray &other) noexcept
Replaces the contents of this array with that found in other, then returns a reference to this object...
bool contains(const QCborValue &value) const
Returns true if this array contains an element that is equal to value.
void removeAt(qsizetype i)
Removes the item at position i from the array.
QCborArray() noexcept
Constructs an empty QCborArray.
qsizetype size() const noexcept
Returns the size of this array.
void insert(qsizetype i, const QCborValue &value)
~QCborArray()
Destroys this QCborArray and frees any associated resources.
QCborValue extract(ConstIterator it)
Extracts a value from the array at the position indicated by iterator it and returns the value so ext...
void clear()
Empties this array.
QCborValue at(qsizetype i) const
Returns the QCborValue element at position i in the array.
void insertAt(qsizetype idx, const QCborValue &value, ContainerDisposition disp=CopyContainer)
static QCborContainerPrivate * grow(QCborContainerPrivate *d, qsizetype index)
Prepare for an insertion at position index.
static QCborContainerPrivate * detach(QCborContainerPrivate *d, qsizetype reserved)
void removeAt(qsizetype idx)
QList< QtCbor::Element > elements
QCborValue extractAt(qsizetype idx)
int compareElement(qsizetype idx, const QCborValue &value) const
static void resetValue(QCborValue &v)
QCborValue valueAt(qsizetype idx) const
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
void reset(T *ptr=nullptr) noexcept
T * data() const noexcept
Returns a pointer to the shared data object.
qsizetype size() const noexcept
QSet< QString >::iterator it
Combined button and popup list for selecting options.
QDebug operator<<(QDebug dbg, const QCborArray &a)
size_t qHash(const QCborArray &array, size_t seed)
QDataStream & operator>>(QDataStream &stream, QCborArray &value)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
size_t qHashRange(InputIterator first, InputIterator last, size_t seed=0) noexcept(noexcept(qHash(*first)))
GLsizei const GLfloat * v
[13]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
\inmodule QtCore\reentrant