BmnRoot
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:
[legend]
Collaboration diagram for nlohmann::detail::invalid_iterator:
[legend]

Static Public Member Functions

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

Additional Inherited Members

- Public Member Functions inherited from nlohmann::detail::exception
const char * what () const noexcept override
 returns the explanatory string
 
const char * what () const noexcept override
 returns the explanatory string
 
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)
 
 exception (int id_, const char *what_arg)
 
 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)
 
static std::string name (const std::string &ename, int id_)
 
template<typename BasicJsonType >
static std::string diagnostics (const BasicJsonType &leaf_element)
 
static std::string name (const std::string &ename, int id_)
 
template<typename BasicJsonType >
static std::string diagnostics (const BasicJsonType &leaf_element)
 

Detailed Description

exception indicating errors with iterators

See also
https://json.nlohmann.me/api/basic_json/invalid_iterator/

Definition at line 2953 of file json.hpp.

Member Function Documentation

◆ create() [1/3]

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

Definition at line 2957 of file json.hpp.

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

Referenced by nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::basic_json(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::erase(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::erase(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::insert(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::insert(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::insert(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::insert(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::insert(), nlohmann::detail::iter_impl< BasicJsonType >::key(), nlohmann::detail::iter_impl< BasicJsonType >::operator*(), nlohmann::detail::iter_impl< BasicJsonType >::operator+=(), nlohmann::detail::iter_impl< BasicJsonType >::operator-(), nlohmann::detail::iter_impl< BasicJsonType >::operator->(), nlohmann::detail::iter_impl< BasicJsonType >::operator<(), nlohmann::detail::iter_impl< BasicJsonType >::operator==(), nlohmann::detail::iter_impl< BasicJsonType >::operator[](), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::update().

◆ create() [2/3]

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

◆ create() [3/3]

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

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