• Home
  • Raw
  • Download

Lines Matching refs:value_t

172     template<detail::value_t> friend struct detail::external_constructor;
226 using value_t = detail::value_t; typedef in nlohmann::basic_json
992 json_value(value_t t) in json_value()
996 case value_t::object: in json_value()
1002 case value_t::array: in json_value()
1008 case value_t::string: in json_value()
1014 case value_t::binary: in json_value()
1020 case value_t::boolean: in json_value()
1026 case value_t::number_integer: in json_value()
1032 case value_t::number_unsigned: in json_value()
1038 case value_t::number_float: in json_value()
1044 case value_t::null: in json_value()
1053 if (JSON_HEDLEY_UNLIKELY(t == value_t::null)) in json_value()
1122 void destroy(value_t t) noexcept in destroy()
1128 if (t == value_t::array) in destroy()
1133 else if (t == value_t::object) in destroy()
1173 case value_t::object: in destroy()
1181 case value_t::array: in destroy()
1189 case value_t::string: in destroy()
1197 case value_t::binary: in destroy()
1224 JSON_ASSERT(m_type != value_t::object || m_value.object != nullptr); in assert_invariant()
1225 JSON_ASSERT(m_type != value_t::array || m_value.array != nullptr); in assert_invariant()
1226 JSON_ASSERT(m_type != value_t::string || m_value.string != nullptr); in assert_invariant()
1227 JSON_ASSERT(m_type != value_t::binary || m_value.binary != nullptr); in assert_invariant()
1342 basic_json(const value_t v) in basic_json()
1367 : basic_json(value_t::null) in basic_json()
1489 case value_t::boolean: in basic_json()
1492 case value_t::number_float: in basic_json()
1495 case value_t::number_integer: in basic_json()
1498 case value_t::number_unsigned: in basic_json()
1501 case value_t::string: in basic_json()
1504 case value_t::object: in basic_json()
1507 case value_t::array: in basic_json()
1510 case value_t::binary: in basic_json()
1513 case value_t::null: in basic_json()
1516 case value_t::discarded: in basic_json()
1517 m_type = value_t::discarded; in basic_json()
1601 value_t manual_type = value_t::array) in basic_json()
1615 if (manual_type == value_t::array) in basic_json()
1621 if (JSON_HEDLEY_UNLIKELY(manual_type == value_t::object && !is_an_object)) in basic_json()
1630 m_type = value_t::object; in basic_json()
1631 m_value = value_t::object; in basic_json()
1644 m_type = value_t::array; in basic_json()
1682 res.m_type = value_t::binary; in binary()
1719 res.m_type = value_t::binary; in binary()
1729 res.m_type = value_t::binary; in binary()
1739 res.m_type = value_t::binary; in binary()
1784 return basic_json(init, false, value_t::array);
1828 return basic_json(init, false, value_t::object);
1854 : m_type(value_t::array) in basic_json()
1935 case value_t::boolean: in basic_json()
1936 case value_t::number_float: in basic_json()
1937 case value_t::number_integer: in basic_json()
1938 case value_t::number_unsigned: in basic_json()
1939 case value_t::string: in basic_json()
1955 case value_t::number_integer: in basic_json()
1961 case value_t::number_unsigned: in basic_json()
1967 case value_t::number_float: in basic_json()
1973 case value_t::boolean: in basic_json()
1979 case value_t::string: in basic_json()
1985 case value_t::object: in basic_json()
1992 case value_t::array: in basic_json()
1999 case value_t::binary: in basic_json()
2056 case value_t::object: in basic_json()
2062 case value_t::array: in basic_json()
2068 case value_t::string: in basic_json()
2074 case value_t::boolean: in basic_json()
2080 case value_t::number_integer: in basic_json()
2086 case value_t::number_unsigned: in basic_json()
2092 case value_t::number_float: in basic_json()
2098 case value_t::binary: in basic_json()
2145 other.m_type = value_t::null; in basic_json()
2175 std::is_nothrow_move_constructible<value_t>::value&& in operator =()
2176 std::is_nothrow_move_assignable<value_t>::value&& in operator =()
2324 constexpr value_t type() const noexcept in type()
2406 return m_type == value_t::null; in is_null()
2428 return m_type == value_t::boolean; in is_boolean()
2487 return m_type == value_t::number_integer || m_type == value_t::number_unsigned; in is_number_integer()
2515 return m_type == value_t::number_unsigned; in is_number_unsigned()
2543 return m_type == value_t::number_float; in is_number_float()
2565 return m_type == value_t::object; in is_object()
2587 return m_type == value_t::array; in is_array()
2609 return m_type == value_t::string; in is_string()
2631 return m_type == value_t::binary; in is_binary()
2658 return m_type == value_t::discarded; in is_discarded()
2682 constexpr operator value_t() const noexcept in operator value_t()
3505 m_type = value_t::array; in operator []()
3589 m_type = value_t::object; in operator []()
3679 m_type = value_t::object; in operator []()
3680 m_value = value_t::object; in operator []()
3790 && !std::is_same<value_t, ValueType>::value, int >::type = 0 >
4040 case value_t::boolean: in erase()
4041 case value_t::number_float: in erase()
4042 case value_t::number_integer: in erase()
4043 case value_t::number_unsigned: in erase()
4044 case value_t::string: in erase()
4045 case value_t::binary: in erase()
4067 m_type = value_t::null; in erase()
4072 case value_t::object: in erase()
4078 case value_t::array: in erase()
4153 case value_t::boolean: in erase()
4154 case value_t::number_float: in erase()
4155 case value_t::number_integer: in erase()
4156 case value_t::number_unsigned: in erase()
4157 case value_t::string: in erase()
4158 case value_t::binary: in erase()
4181 m_type = value_t::null; in erase()
4186 case value_t::object: in erase()
4193 case value_t::array: in erase()
4937 case value_t::null: in empty()
4943 case value_t::array: in empty()
4949 case value_t::object: in empty()
5010 case value_t::null: in size()
5016 case value_t::array: in size()
5022 case value_t::object: in size()
5081 case value_t::array: in max_size()
5087 case value_t::object: in max_size()
5152 case value_t::number_integer: in clear()
5158 case value_t::number_unsigned: in clear()
5164 case value_t::number_float: in clear()
5170 case value_t::boolean: in clear()
5176 case value_t::string: in clear()
5182 case value_t::binary: in clear()
5188 case value_t::array: in clear()
5194 case value_t::object: in clear()
5236 m_type = value_t::array; in push_back()
5237 m_value = value_t::array; in push_back()
5271 m_type = value_t::array; in push_back()
5272 m_value = value_t::array; in push_back()
5321 m_type = value_t::object; in push_back()
5322 m_value = value_t::object; in push_back()
5424 m_type = value_t::array; in emplace_back()
5425 m_value = value_t::array; in emplace_back()
5477 m_type = value_t::object; in emplace()
5478 m_value = value_t::object; in emplace()
5774 m_type = value_t::object; in update()
5825 m_type = value_t::object; in update()
5872 std::is_nothrow_move_constructible<value_t>::value&& in swap()
5873 std::is_nothrow_move_assignable<value_t>::value&& in swap()
5902 std::is_nothrow_move_constructible<value_t>::value&& in swap()
5903 std::is_nothrow_move_assignable<value_t>::value&& in swap()
6131 case value_t::array: in operator ==()
6134 case value_t::object: in operator ==()
6137 case value_t::null: in operator ==()
6140 case value_t::string: in operator ==()
6143 case value_t::boolean: in operator ==()
6146 case value_t::number_integer: in operator ==()
6149 case value_t::number_unsigned: in operator ==()
6152 case value_t::number_float: in operator ==()
6155 case value_t::binary: in operator ==()
6162 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) in operator ==()
6166 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) in operator ==()
6170 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float) in operator ==()
6174 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned) in operator ==()
6178 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer) in operator ==()
6182 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned) in operator ==()
6292 case value_t::array: in operator <()
6297 case value_t::object: in operator <()
6300 case value_t::null: in operator <()
6303 case value_t::string: in operator <()
6306 case value_t::boolean: in operator <()
6309 case value_t::number_integer: in operator <()
6312 case value_t::number_unsigned: in operator <()
6315 case value_t::number_float: in operator <()
6318 case value_t::binary: in operator <()
6325 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) in operator <()
6329 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) in operator <()
6333 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float) in operator <()
6337 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned) in operator <()
6341 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned) in operator <()
6345 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer) in operator <()
6929 case value_t::null: in type_name()
6931 case value_t::object: in type_name()
6933 case value_t::array: in type_name()
6935 case value_t::string: in type_name()
6937 case value_t::boolean: in type_name()
6939 case value_t::binary: in type_name()
6941 case value_t::discarded: in type_name()
6956 value_t m_type = value_t::null;
7481 return res ? result : basic_json(value_t::discarded); in from_cbor()
7498 return res ? result : basic_json(value_t::discarded); in from_cbor()
7524 return res ? result : basic_json(value_t::discarded); in from_cbor()
7623 return res ? result : basic_json(value_t::discarded); in from_msgpack()
7639 return res ? result : basic_json(value_t::discarded); in from_msgpack()
7663 return res ? result : basic_json(value_t::discarded); in from_msgpack()
7739 return res ? result : basic_json(value_t::discarded); in from_ubjson()
7755 return res ? result : basic_json(value_t::discarded); in from_ubjson()
7778 return res ? result : basic_json(value_t::discarded); in from_ubjson()
7852 return res ? result : basic_json(value_t::discarded); in from_bson()
7868 return res ? result : basic_json(value_t::discarded); in from_bson()
7891 return res ? result : basic_json(value_t::discarded); in from_bson()
8078 basic_json result(value_t::object); in flatten()
8236 case value_t::null: in patch()
8237 case value_t::object: in patch()
8244 case value_t::array: in patch()
8474 basic_json result(value_t::array); in diff()
8494 case value_t::array: in diff()
8538 case value_t::object: in diff()
8717 struct less<::nlohmann::detail::value_t>
8723 bool operator()(nlohmann::detail::value_t lhs, in operator ()()
8724 nlohmann::detail::value_t rhs) const noexcept in operator ()()