7#include <QtCore/qjsonvalue.h>
8#include <QtCore/qiterator.h>
9#include <QtCore/qpair.h>
10#include <QtCore/qshareddata.h>
11#include <initializer_list>
220 const_iterator constFind(
const QString &
key)
const;
236 inline bool empty()
const {
return isEmpty(); }
252 template <
typename T>
void removeImpl(T
key);
254 template <
typename T>
bool containsImpl(T
key)
const;
259#if QT_VERSION < QT_VERSION_CHECK(7, 0, 0) && !defined(QT_BOOTSTRAPPED)
272#if QT_VERSION >= QT_VERSION_CHECK(7, 0, 0) || defined(QT_BOOTSTRAPPED)
280#if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_JSON_READONLY)
284#ifndef QT_NO_DATASTREAM
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
bool operator==(const const_iterator &other) const
const QJsonValueConstRef * pointer
const_iterator & operator-=(qsizetype j)
Makes the iterator go back by j items.
const QJsonValueConstRef reference
const_iterator & operator--()
The prefix {–} operator, {–i}, makes the preceding item current and returns an iterator pointing to t...
const QJsonValueConstRef operator*() const
Returns the current item's value.
const_iterator(const QJsonObject *obj, qsizetype index)
constexpr const_iterator(const const_iterator &other)=default
const_iterator operator--(int)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const_iterator(const iterator &other)
Constructs a copy of other.
std::random_access_iterator_tag iterator_category
A synonym for {std::random_access_iterator_tag} indicating this iterator is a random-access iterator.
qsizetype difference_type
QJsonValueConstRef value() const
Returns the current item's value.
const_iterator operator-(qsizetype j) const
Returns an iterator to the item at j positions backward from this iterator.
const_iterator & operator++()
The prefix {++} operator, {++i}, advances the iterator to the next item in the object and returns an ...
bool operator==(const iterator &other) const
Returns true if other points to the same item as this iterator; otherwise returns false.
QString key() const
Returns the current item's key.
bool operator<(const const_iterator &other) const
Returns true if the item pointed to by this iterator is less than the item pointed to by the other it...
QJsonValueConstRef operator[](qsizetype j) const
Returns the item at offset j from the item pointed to by this iterator (the item at position {*this +...
bool operator>(const iterator &other) const
bool operator<=(const iterator &other) const
bool operator<=(const const_iterator &other) const
Returns true if the item pointed to by this iterator is less than or equal to the item pointed to by ...
bool operator>=(const const_iterator &other) const
Returns true if the item pointed to by this iterator is greater than or equal to the item pointed to ...
const_iterator operator+(qsizetype j) const
Returns an iterator to the item at j positions forward from this iterator.
const_iterator operator++(int)
This is an overloaded member function, provided for convenience. It differs from the above function o...
const_iterator & operator=(const const_iterator &other)
const_iterator & operator+=(qsizetype j)
Advances the iterator by j items.
const_iterator()
Constructs an uninitialized iterator.
const QJsonValueConstRef * operator->() const
Returns a pointer to the current item.
qsizetype operator-(const_iterator j) const
Returns the number of items between the item pointed to by other and the item pointed to by this iter...
bool operator!=(const iterator &other) const
Returns true if other points to a different item than this iterator; otherwise returns false.
bool operator<(const iterator &other) const
bool operator>=(const iterator &other) const
bool operator>(const const_iterator &other) const
Returns true if the item pointed to by this iterator is greater than the item pointed to by the other...
bool operator!=(const const_iterator &other) const
\inmodule QtCore\reentrant
iterator operator--(int)
This is an overloaded member function, provided for convenience. It differs from the above function o...
iterator()
Constructs an uninitialized iterator.
bool operator<=(const const_iterator &other) const
Returns true if the item pointed to by this iterator is less than or equal to the item pointed to by ...
QJsonValueRef operator[](qsizetype j) const
Returns a modifiable reference to the item at offset j from the item pointed to by this iterator (the...
bool operator!=(const const_iterator &other) const
Returns true if other points to a different item than this iterator; otherwise returns false.
bool operator<=(const iterator &other) const
iterator operator-(qsizetype j) const
Returns an iterator to the item at j positions backward from this iterator.
qsizetype operator-(iterator j) const
Returns the number of items between the item pointed to by other and the item pointed to by this iter...
iterator & operator++()
The prefix {++} operator, {++i}, advances the iterator to the next item in the object and returns an ...
bool operator==(const const_iterator &other) const
Returns true if other points to the same item as this iterator; otherwise returns false.
bool operator>=(const const_iterator &other) const
Returns true if the item pointed to by this iterator is greater than or equal to the item pointed to ...
QJsonValueRef value() const
Returns a modifiable reference to the current item's value.
iterator operator++(int)
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool operator>(const iterator &other) const
bool operator<(const const_iterator &other) const
Returns true if the item pointed to by this iterator is less than the item pointed to by the other it...
QJsonValueRef * operator->()
Returns a pointer to a modifiable reference to the current item.
iterator & operator-=(qsizetype j)
Makes the iterator go back by j items.
bool operator>(const const_iterator &other) const
Returns true if the item pointed to by this iterator is greater than the item pointed to by the other...
QString key() const
Returns the current item's key.
qsizetype difference_type
bool operator==(const iterator &other) const
iterator & operator--()
The prefix {–} operator, {–i}, makes the preceding item current and returns an iterator pointing to t...
iterator & operator=(const iterator &other)
bool operator>=(const iterator &other) const
iterator operator+(qsizetype j) const
Returns an iterator to the item at j positions forward from this iterator.
iterator & operator+=(qsizetype j)
Advances the iterator by j items.
std::random_access_iterator_tag iterator_category
A synonym for {std::random_access_iterator_tag} indicating this iterator is a random-access iterator.
const QJsonValueConstRef * operator->() const
Returns a pointer to a constant reference to the current item.
constexpr iterator(const iterator &other)=default
QJsonValueRef operator*() const
Returns a modifiable reference to the current item's value.
iterator(QJsonObject *obj, qsizetype index)
bool operator!=(const iterator &other) const
bool operator<(const iterator &other) const
\inmodule QtCore\reentrant
const_iterator find(QStringView key) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
iterator Iterator
Qt-style synonym for QJsonObject::iterator.
~QJsonObject()
Destroys the object.
const_iterator constBegin() const
Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the first item in the object.
iterator end()
Returns an \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the last ...
QJsonValue mapped_type
Typedef for QJsonValue.
const_iterator end() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool empty() const
This function is provided for STL compatibility.
void swap(QJsonObject &other) noexcept
QJsonObject(const QJsonObject &other) noexcept
Creates a copy of other.
QString key_type
Typedef for QString.
qsizetype size_type
Typedef for qsizetype.
const_iterator constEnd() const
Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the imaginary item after the ...
const_iterator find(const QString &key) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
const_iterator find(QLatin1StringView key) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
qsizetype count() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
QJsonObject()
Constructs an empty JSON object.
iterator begin()
Returns an \l{STL-style iterators}{STL-style iterator} pointing to the first item in the object.
qsizetype length() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
const_iterator begin() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
const_iterator ConstIterator
Qt-style synonym for QJsonObject::const_iterator.
QJsonValueConstRef(const QJsonValueConstRef &)=default
\inmodule QtCore \reentrant
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
QMap< QString, QString > map
[6]
cache insert(employee->id(), employee)
QSet< QString >::iterator it
Combined button and popup list for selecting options.
qsizetype erase(QByteArray &ba, const T &t)
std::pair< T1, T2 > QPair
constexpr bool operator!=(const timespec &t1, const timespec &t2)
constexpr timespec operator+(const timespec &t1, const timespec &t2)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
Q_CORE_EXPORT QDataStream & operator>>(QDataStream &, QJsonObject &)
Q_CORE_EXPORT size_t qHash(const QJsonObject &object, size_t seed=0)
Q_CORE_EXPORT QDebug operator<<(QDebug, const QJsonObject &)
static bool contains(const QJsonArray &haystack, unsigned needle)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
static qreal valueAt(const QQuickRangeSlider *slider, qreal position)
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
unsigned long long quint64
settings remove("monkey")