BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
nlohmann::detail::invalid_iterator Class Reference

exception indicating errors with iterators More...

#include <json.hpp>

Inheritance diagram for nlohmann::detail::invalid_iterator:
Collaboration diagram for nlohmann::detail::invalid_iterator:

Static Public Member Functions

template<typename BasicJsonType>
static invalid_iterator create (int id_, const std::string &what_arg, const BasicJsonType &context)

Private Member Functions

 invalid_iterator (int id_, const char *what_arg)

Additional Inherited Members

Public Member Functions inherited from nlohmann::detail::exception
const char * what () const noexcept override
 returns the explanatory string
Public Attributes inherited from nlohmann::detail::exception
const int id
 the id of the exception
Protected Member Functions inherited from nlohmann::detail::exception
 exception (int id_, const char *what_arg)
Static Protected Member Functions inherited from nlohmann::detail::exception
static std::string name (const std::string &ename, int id_)
template<typename BasicJsonType>
static std::string diagnostics (const BasicJsonType &leaf_element)

Detailed Description

Constructor & Destructor Documentation

◆ invalid_iterator()

nlohmann::detail::invalid_iterator::invalid_iterator ( int id_,
const char * what_arg )
inlineprivate

Definition at line 2995 of file json.hpp.

References nlohmann::detail::exception::exception(), and invalid_iterator().

Referenced by invalid_iterator(), and create().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ create()

template<typename BasicJsonType>
invalid_iterator nlohmann::detail::invalid_iterator::create ( int id_,
const std::string & what_arg,
const BasicJsonType & context )
inlinestatic

Definition at line 2987 of file json.hpp.

References invalid_iterator(), nlohmann::BasicJsonType(), nlohmann::detail::exception::diagnostics(), and nlohmann::detail::exception::name().

Referenced by nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::key(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator*(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator+=(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator-(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator->(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator<(), nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator==(), and nlohmann::detail::iter_impl< typename std::conditional< std::is_const< BasicJsonType >::value, typename std::remove_const< BasicJsonType >::type, const BasicJsonType >::type >::operator[]().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: