43 #include <QtCore/qjsonvalue.h>
44 #include <QtCore/qiterator.h>
45 #include <QtCore/qshareddata.h>
46 #include <initializer_list>
134 {
return item.a ==
o.item.a &&
item.index ==
o.item.index; }
143 {
return item.a ==
o.item.a &&
item.index ==
o.item.index; }
196 {
return item.a ==
o.item.a &&
item.index ==
o.item.index; }
232 {
insert(before.item.index,
value);
return before; }
234 { removeAt(
it.item.index);
return it; }
253 inline bool empty()
const {
return isEmpty(); }
278 #if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_JSON_READONLY)
282 #ifndef QT_NO_DATASTREAM
small capitals from c petite p scientific i
[1]
The QCborArray class is used to hold an array of CBOR elements.
The QDataStream class provides serialization of binary data to a QIODevice.
operator>>(QDataStream &ds, qfloat16 &f)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
template< typename Enum > size_t qHash(QFlags< Enum > flags, size_t seed=0) noexcept
The QJsonArray::const_iterator class provides an STL-style const iterator for QJsonArray.
QJsonValueRef operator[](qsizetype j) const
qsizetype operator-(const_iterator j) const
const QJsonValueRef operator*() const
bool operator>=(const const_iterator &other) const
bool operator>(const const_iterator &other) const
const_iterator(const iterator &o)
const_iterator & operator-=(qsizetype j)
std::random_access_iterator_tag iterator_category
const_iterator & operator=(const const_iterator &other)
const_iterator & operator++()
const_iterator & operator--()
const_iterator(const QJsonArray *array, qsizetype index)
bool operator<=(const const_iterator &other) const
bool operator==(const const_iterator &o) const
const_iterator operator-(qsizetype j) const
const QJsonValueRef * operator->() const
const QJsonValueRef * pointer
constexpr const_iterator(const const_iterator &other)=default
const QJsonValueRef reference
bool operator<(const const_iterator &other) const
bool operator!=(const const_iterator &o) const
const_iterator operator+(qsizetype j) const
const_iterator operator++(int)
const_iterator & operator+=(qsizetype j)
const_iterator operator--(int)
The QJsonArray::iterator class provides an STL-style non-const iterator for QJsonArray.
iterator & operator+=(qsizetype j)
bool operator!=(const iterator &o) const
bool operator>=(const iterator &other) const
qsizetype operator-(iterator j) const
iterator operator+(qsizetype j) const
bool operator!=(const const_iterator &o) const
bool operator>(const const_iterator &other) const
QJsonValueRef * operator->() const
iterator(QJsonArray *array, qsizetype index)
QJsonValueRef operator*() const
iterator operator-(qsizetype j) const
QJsonValueRef operator[](qsizetype j) const
constexpr iterator(const iterator &other)=default
bool operator<(const const_iterator &other) const
std::random_access_iterator_tag iterator_category
qsizetype difference_type
bool operator==(const const_iterator &o) const
iterator & operator=(const iterator &other)
bool operator>(const iterator &other) const
iterator & operator-=(qsizetype j)
bool operator==(const iterator &o) const
bool operator<=(const const_iterator &other) const
bool operator<=(const iterator &other) const
bool operator>=(const const_iterator &other) const
bool operator<(const iterator &other) const
The QJsonArray class encapsulates a JSON array.
qsizetype difference_type
const_iterator end() const
QJsonValue const_reference
QJsonArray operator+(const QJsonValue &v) const
iterator insert(iterator before, const QJsonValue &value)
const_iterator cend() const
void push_front(const QJsonValue &t)
const_iterator constBegin() const
const_iterator constEnd() const
iterator erase(iterator it)
const_iterator cbegin() const
QJsonArray & operator+=(const QJsonValue &v)
const value_type * const_pointer
void swap(QJsonArray &other) noexcept
const_iterator begin() const
const_iterator ConstIterator
void push_back(const QJsonValue &t)
The QJsonDocument class provides a way to read and write JSON documents.
The QJsonValue class encapsulates a value in JSON.
The QJsonValueRef class is a helper class for QJsonValue.
The QStringList class provides a list of strings.
map insert("Paris", "France")
list append(new Employee("Blackpool", "Stephen"))
typename C::const_iterator const_iterator
typename C::iterator iterator
constexpr bool operator!=(const timespec &t1, const timespec &t2)
EGLOutputLayerEXT EGLint EGLAttrib value
unsigned long long quint64
Q_CORE_EXPORT QDebug operator<<(QDebug, const QJsonArray &)
bool operator==(const QMakeBaseKey &one, const QMakeBaseKey &two)
GLsizei const GLfloat * v
[13]
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
#define Q_DECLARE_SHARED(TYPE)