Public Types |
Public Member Functions |
Private Types |
Private Member Functions |
Private Attributes |
Friends |
List of all members
nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType > Class Template Reference a template for a bidirectional iterator for the basic_json class This class implements a both iterators (iterator and const_iterator) for the basic_json class. More...
Collaboration diagram for nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >:
![]()
Detailed Descriptiontemplate<typename BasicJsonType> class nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType > a template for a bidirectional iterator for the basic_json class This class implements a both iterators (iterator and const_iterator) for the basic_json class.
Member Typedef Documentation◆ array_t
template<typename BasicJsonType >
◆ difference_type
template<typename BasicJsonType >
◆ iterator_category
template<typename BasicJsonType >
The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17. The C++ Standard has never required user-defined iterators to derive from std::iterator. A user-defined iterator should provide publicly accessible typedefs named iterator_category, value_type, difference_type, pointer, and reference. Note that value_type is required to be non-const, even for constant iterators. ◆ object_t
template<typename BasicJsonType >
◆ other_iter_impl
template<typename BasicJsonType >
◆ pointer
template<typename BasicJsonType >
◆ reference
template<typename BasicJsonType >
◆ value_type
template<typename BasicJsonType >
Constructor & Destructor Documentation◆ iter_impl() [1/5]
template<typename BasicJsonType >
◆ ~iter_impl()
template<typename BasicJsonType >
◆ iter_impl() [2/5]
template<typename BasicJsonType >
◆ iter_impl() [3/5]
template<typename BasicJsonType >
constructor for a given JSON instance
Definition at line 12968 of file json.hpp. References JSON_ASSERT. ◆ iter_impl() [4/5]
template<typename BasicJsonType >
const copy constructor
◆ iter_impl() [5/5]
template<typename BasicJsonType >
Member Function Documentation◆ key()
template<typename BasicJsonType >
return the key of an object iterator
Definition at line 13590 of file json.hpp. References JSON_ASSERT, JSON_HEDLEY_LIKELY, and JSON_THROW. ◆ operator!=()
template<typename BasicJsonType >
template<typename IterImpl , detail::enable_if_t<(std::is_same< IterImpl, iter_impl >::value||std::is_same< IterImpl, other_iter_impl >::value), std::nullptr_t > = nullptr>
◆ operator*()
template<typename BasicJsonType >
return a reference to the value pointed to by the iterator
Definition at line 13148 of file json.hpp. References JSON_ASSERT, JSON_HEDLEY_LIKELY, and JSON_THROW. ◆ operator+()
template<typename BasicJsonType >
◆ operator++() [1/2]
template<typename BasicJsonType >
pre-increment (++it)
Definition at line 13245 of file json.hpp. References JSON_ASSERT. ◆ operator++() [2/2]
template<typename BasicJsonType >
◆ operator+=()
template<typename BasicJsonType >
add to iterator
Definition at line 13444 of file json.hpp. References JSON_ASSERT, and JSON_THROW. ◆ operator-() [1/2]
template<typename BasicJsonType >
return difference
Definition at line 13523 of file json.hpp. References nlohmann::json_abi_v3_11_3::detail::internal_iterator< BasicJsonType >::array_iterator, JSON_ASSERT, JSON_THROW, nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::m_it, and nlohmann::json_abi_v3_11_3::detail::internal_iterator< BasicJsonType >::primitive_iterator. ◆ operator-() [2/2]
template<typename BasicJsonType >
◆ operator--() [1/2]
template<typename BasicJsonType >
pre-decrement (–it)
Definition at line 13296 of file json.hpp. References JSON_ASSERT. ◆ operator--() [2/2]
template<typename BasicJsonType >
◆ operator-=()
template<typename BasicJsonType >
◆ operator->()
template<typename BasicJsonType >
dereference the iterator
Definition at line 13192 of file json.hpp. References JSON_ASSERT, JSON_HEDLEY_LIKELY, and JSON_THROW. ◆ operator<()
template<typename BasicJsonType >
comparison: smaller
Definition at line 13382 of file json.hpp. References nlohmann::json_abi_v3_11_3::detail::internal_iterator< BasicJsonType >::array_iterator, JSON_ASSERT, JSON_HEDLEY_UNLIKELY, JSON_THROW, nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::m_it, nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::m_object, and nlohmann::json_abi_v3_11_3::detail::internal_iterator< BasicJsonType >::primitive_iterator. ◆ operator<=()
template<typename BasicJsonType >
◆ operator=() [1/3]
template<typename BasicJsonType >
converting assignment
Definition at line 13028 of file json.hpp. References nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::m_object. ◆ operator=() [2/3]
template<typename BasicJsonType >
converting assignment
Definition at line 13053 of file json.hpp. References nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::m_object. ◆ operator=() [3/3]
template<typename BasicJsonType >
◆ operator==()
template<typename BasicJsonType >
template<typename IterImpl , detail::enable_if_t<(std::is_same< IterImpl, iter_impl >::value||std::is_same< IterImpl, other_iter_impl >::value), std::nullptr_t > = nullptr>
comparison: equal
Definition at line 13337 of file json.hpp. References JSON_ASSERT, JSON_HEDLEY_UNLIKELY, and JSON_THROW. ◆ operator>()
template<typename BasicJsonType >
◆ operator>=()
template<typename BasicJsonType >
◆ operator[]()
template<typename BasicJsonType >
access to successor
Definition at line 13552 of file json.hpp. References JSON_ASSERT, JSON_HEDLEY_LIKELY, and JSON_THROW. ◆ set_begin()
template<typename BasicJsonType >
set the iterator to the first value
Definition at line 13065 of file json.hpp. References JSON_ASSERT. ◆ set_end()
template<typename BasicJsonType >
set the iterator past the last value
Definition at line 13109 of file json.hpp. References JSON_ASSERT. ◆ value()
template<typename BasicJsonType >
Friends And Related Symbol Documentation◆ operator+
template<typename BasicJsonType >
Member Data Documentation◆ BasicJsonType
template<typename BasicJsonType >
◆ iteration_proxy< iter_impl >
template<typename BasicJsonType >
◆ iteration_proxy_value< iter_impl >
template<typename BasicJsonType >
◆ m_it
template<typename BasicJsonType >
the actual iterator of the associated instance Definition at line 13615 of file json.hpp. Referenced by nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::operator-(), and nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::operator<(). ◆ m_object
template<typename BasicJsonType >
associated JSON instance Definition at line 13613 of file json.hpp. Referenced by nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::operator<(), nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::operator=(), and nlohmann::json_abi_v3_11_3::detail::iter_impl< BasicJsonType >::operator=(). ◆ other_iter_impl
template<typename BasicJsonType >
allow basic_json to access private members The documentation for this class was generated from the following file: Generated on Sun Apr 6 2025 11:10:38 for FlexibleSUSY by |