nlohmann::detail::primitive_iterator_t Class Reference

#include <json.hpp>

Public Member Functions

constexpr difference_type get_value () const noexcept
 
constexpr bool is_begin () const noexcept
 return whether the iterator can be dereferenced More...
 
constexpr bool is_end () const noexcept
 return whether the iterator is at end More...
 
primitive_iterator_t operator+ (difference_type n) noexcept
 
primitive_iterator_toperator++ () noexcept
 
primitive_iterator_t const operator++ (int) noexcept
 
primitive_iterator_toperator+= (difference_type n) noexcept
 
primitive_iterator_toperator-- () noexcept
 
primitive_iterator_t const operator-- (int) noexcept
 
primitive_iterator_toperator-= (difference_type n) noexcept
 
void set_begin () noexcept
 set iterator to a defined beginning More...
 
void set_end () noexcept
 set iterator to a defined past the end More...
 

Friends

constexpr difference_type operator- (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 
constexpr bool operator< (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 
constexpr bool operator== (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 

Member Function Documentation

◆ get_value()

constexpr difference_type nlohmann::detail::primitive_iterator_t::get_value ( ) const
constexprnoexcept

◆ is_begin()

constexpr bool nlohmann::detail::primitive_iterator_t::is_begin ( ) const
constexprnoexcept

◆ is_end()

constexpr bool nlohmann::detail::primitive_iterator_t::is_end ( ) const
constexprnoexcept

return whether the iterator is at end

◆ operator+()

primitive_iterator_t nlohmann::detail::primitive_iterator_t::operator+ ( difference_type  n)
noexcept

◆ operator++() [1/2]

primitive_iterator_t & nlohmann::detail::primitive_iterator_t::operator++ ( )
noexcept

◆ operator++() [2/2]

primitive_iterator_t const nlohmann::detail::primitive_iterator_t::operator++ ( int  )
noexcept

◆ operator+=()

primitive_iterator_t & nlohmann::detail::primitive_iterator_t::operator+= ( difference_type  n)
noexcept

◆ operator--() [1/2]

primitive_iterator_t & nlohmann::detail::primitive_iterator_t::operator-- ( )
noexcept

◆ operator--() [2/2]

primitive_iterator_t const nlohmann::detail::primitive_iterator_t::operator-- ( int  )
noexcept

◆ operator-=()

primitive_iterator_t & nlohmann::detail::primitive_iterator_t::operator-= ( difference_type  n)
noexcept

◆ set_begin()

void nlohmann::detail::primitive_iterator_t::set_begin ( )
noexcept

set iterator to a defined beginning

◆ set_end()

void nlohmann::detail::primitive_iterator_t::set_end ( )
noexcept

set iterator to a defined past the end

Friends And Related Function Documentation

◆ operator-

constexpr difference_type operator- ( primitive_iterator_t  lhs,
primitive_iterator_t  rhs 
)
friend

◆ operator<

constexpr bool operator< ( primitive_iterator_t  lhs,
primitive_iterator_t  rhs 
)
friend

◆ operator==

constexpr bool operator== ( primitive_iterator_t  lhs,
primitive_iterator_t  rhs 
)
friend

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