Lines Matching refs:m_object
5194 JSON_ASSERT(anchor.m_object != nullptr);
5196 switch (anchor.m_object->type())
12884 @post The iterator is initialized; i.e. `m_object != nullptr`.
12886 explicit iter_impl(pointer object) noexcept : m_object(object)
12888 JSON_ASSERT(m_object != nullptr);
12890 switch (m_object->m_type)
12937 : m_object(other.m_object), m_it(other.m_it)
12950 m_object = other.m_object;
12962 : m_object(other.m_object), m_it(other.m_it)
12973 m_object = other.m_object;
12981 @pre The iterator is initialized; i.e. `m_object != nullptr`.
12985 JSON_ASSERT(m_object != nullptr);
12987 switch (m_object->m_type)
12991 m_it.object_iterator = m_object->m_value.object->begin();
12997 m_it.array_iterator = m_object->m_value.array->begin();
13025 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13029 JSON_ASSERT(m_object != nullptr);
13031 switch (m_object->m_type)
13035 m_it.object_iterator = m_object->m_value.object->end();
13041 m_it.array_iterator = m_object->m_value.array->end();
13064 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13068 JSON_ASSERT(m_object != nullptr);
13070 switch (m_object->m_type)
13074 JSON_ASSERT(m_it.object_iterator != m_object->m_value.object->end());
13080 JSON_ASSERT(m_it.array_iterator != m_object->m_value.array->end());
13085 JSON_THROW(invalid_iterator::create(214, "cannot get value", m_object));
13098 return *m_object;
13101 JSON_THROW(invalid_iterator::create(214, "cannot get value", m_object));
13108 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13112 JSON_ASSERT(m_object != nullptr);
13114 switch (m_object->m_type)
13118 JSON_ASSERT(m_it.object_iterator != m_object->m_value.object->end());
13124 JSON_ASSERT(m_it.array_iterator != m_object->m_value.array->end());
13140 return m_object;
13143 JSON_THROW(invalid_iterator::create(214, "cannot get value", m_object));
13150 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13161 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13165 JSON_ASSERT(m_object != nullptr);
13167 switch (m_object->m_type)
13201 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13212 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13216 JSON_ASSERT(m_object != nullptr);
13218 switch (m_object->m_type)
13252 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13258 if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))
13260 JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", m_object));
13263 JSON_ASSERT(m_object != nullptr);
13265 switch (m_object->m_type)
13288 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13298 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13303 if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))
13305 JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", m_object));
13308 JSON_ASSERT(m_object != nullptr);
13310 switch (m_object->m_type)
13313 JSON_THROW(invalid_iterator::create(213, "cannot compare order of object iterators", m_object));
13333 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13342 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13351 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13360 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13364 JSON_ASSERT(m_object != nullptr);
13366 switch (m_object->m_type)
13369 JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators", m_object));
13397 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13406 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13417 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13428 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13439 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13443 JSON_ASSERT(m_object != nullptr);
13445 switch (m_object->m_type)
13448 JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators", m_object));
13468 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13472 JSON_ASSERT(m_object != nullptr);
13474 switch (m_object->m_type)
13477 JSON_THROW(invalid_iterator::create(208, "cannot use operator[] for object iterators", m_object));
13483 JSON_THROW(invalid_iterator::create(214, "cannot get value", m_object));
13496 return *m_object;
13499 JSON_THROW(invalid_iterator::create(214, "cannot get value", m_object));
13506 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13510 JSON_ASSERT(m_object != nullptr);
13512 if (JSON_HEDLEY_LIKELY(m_object->is_object()))
13517 JSON_THROW(invalid_iterator::create(207, "cannot use key() for non-object iterators", m_object));
13522 @pre The iterator is initialized; i.e. `m_object != nullptr`.
13531 pointer m_object = nullptr;
20200 JSON_ASSERT(first.m_object != nullptr);
20201 JSON_ASSERT(last.m_object != nullptr);
20204 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
20210 m_type = first.m_object->m_type;
20224 JSON_THROW(invalid_iterator::create(204, "iterators out of range", first.m_object));
20242 m_value.number_integer = first.m_object->m_value.number_integer;
20248 m_value.number_unsigned = first.m_object->m_value.number_unsigned;
20254 m_value.number_float = first.m_object->m_value.number_float;
20260 m_value.boolean = first.m_object->m_value.boolean;
20266 m_value = *first.m_object->m_value.string;
20286 m_value = *first.m_object->m_value.binary;
20293 JSON_THROW(invalid_iterator::create(206, detail::concat("cannot construct with iterators from ", first.m_object->type_name()), first.m_object));
21598 if (JSON_HEDLEY_UNLIKELY(this != pos.m_object))
21668 if (JSON_HEDLEY_UNLIKELY(this != first.m_object || this != last.m_object))
22461 if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
22488 if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
22511 if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
22517 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
22522 if (JSON_HEDLEY_UNLIKELY(first.m_object == this))
22542 if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
22562 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
22568 if (JSON_HEDLEY_UNLIKELY(!first.m_object->is_object()))
22601 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
22607 if (JSON_HEDLEY_UNLIKELY(!first.m_object->is_object()))
22609 JSON_THROW(type_error::create(312, detail::concat("cannot use update() with ", first.m_object->type_name()), first.m_object));