SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Private Types | Private Attributes | Static Private Attributes | Friends | List of all members
detail::primitive_iterator_t Class Reference

Public Member Functions

constexpr difference_type get_value () const 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...
 
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 operator++ (int) &noexcept
 
primitive_iterator_toperator-- () noexcept
 
primitive_iterator_t operator-- (int) &noexcept
 
primitive_iterator_toperator+= (difference_type n) noexcept
 
primitive_iterator_toperator-= (difference_type n) noexcept
 

Private Types

using difference_type = std::ptrdiff_t
 

Private Attributes

JSON_PRIVATE_UNLESS_TESTED __pad0__: difference_type m_it = (std::numeric_limits<std::ptrdiff_t>::min)()
 

Static Private Attributes

static constexpr difference_type begin_value = 0
 
static constexpr difference_type end_value = begin_value + 1
 

Friends

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

Detailed Description

Definition at line 12654 of file nlohmann_json.hpp.

Member Typedef Documentation

◆ difference_type

using detail::primitive_iterator_t::difference_type = std::ptrdiff_t
private

Definition at line 12657 of file nlohmann_json.hpp.

Member Function Documentation

◆ get_value()

constexpr difference_type detail::primitive_iterator_t::get_value ( ) const
inlineconstexprnoexcept

Definition at line 12666 of file nlohmann_json.hpp.

◆ set_begin()

void detail::primitive_iterator_t::set_begin ( )
inlinenoexcept

set iterator to a defined beginning

Definition at line 12672 of file nlohmann_json.hpp.

◆ set_end()

void detail::primitive_iterator_t::set_end ( )
inlinenoexcept

set iterator to a defined past the end

Definition at line 12678 of file nlohmann_json.hpp.

◆ is_begin()

constexpr bool detail::primitive_iterator_t::is_begin ( ) const
inlineconstexprnoexcept

return whether the iterator can be dereferenced

Definition at line 12684 of file nlohmann_json.hpp.

◆ is_end()

constexpr bool detail::primitive_iterator_t::is_end ( ) const
inlineconstexprnoexcept

return whether the iterator is at end

Definition at line 12690 of file nlohmann_json.hpp.

◆ operator+()

primitive_iterator_t detail::primitive_iterator_t::operator+ ( difference_type  n)
inlinenoexcept

Definition at line 12705 of file nlohmann_json.hpp.

◆ operator++() [1/2]

primitive_iterator_t & detail::primitive_iterator_t::operator++ ( )
inlinenoexcept

Definition at line 12717 of file nlohmann_json.hpp.

◆ operator++() [2/2]

primitive_iterator_t detail::primitive_iterator_t::operator++ ( int  ) &
inlinenoexcept

Definition at line 12723 of file nlohmann_json.hpp.

◆ operator--() [1/2]

primitive_iterator_t & detail::primitive_iterator_t::operator-- ( )
inlinenoexcept

Definition at line 12730 of file nlohmann_json.hpp.

◆ operator--() [2/2]

primitive_iterator_t detail::primitive_iterator_t::operator-- ( int  ) &
inlinenoexcept

Definition at line 12736 of file nlohmann_json.hpp.

◆ operator+=()

primitive_iterator_t & detail::primitive_iterator_t::operator+= ( difference_type  n)
inlinenoexcept

Definition at line 12743 of file nlohmann_json.hpp.

◆ operator-=()

primitive_iterator_t & detail::primitive_iterator_t::operator-= ( difference_type  n)
inlinenoexcept

Definition at line 12749 of file nlohmann_json.hpp.

Friends And Related Function Documentation

◆ operator==

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

Definition at line 12695 of file nlohmann_json.hpp.

◆ operator<

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

Definition at line 12700 of file nlohmann_json.hpp.

◆ operator-

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

Definition at line 12712 of file nlohmann_json.hpp.

Member Data Documentation

◆ begin_value

constexpr difference_type detail::primitive_iterator_t::begin_value = 0
staticconstexprprivate

Definition at line 12658 of file nlohmann_json.hpp.

◆ end_value

constexpr difference_type detail::primitive_iterator_t::end_value = begin_value + 1
staticconstexprprivate

Definition at line 12659 of file nlohmann_json.hpp.

◆ __pad0__

JSON_PRIVATE_UNLESS_TESTED detail::primitive_iterator_t::__pad0__
private

Definition at line 12661 of file nlohmann_json.hpp.


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