Public Member Functions | Private Types | Private Attributes | Static Private Attributes | Friends | List of all members
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 operator++ (int) &noexcept
 
primitive_iterator_toperator+= (difference_type n) noexcept
 
primitive_iterator_toperator-- () noexcept
 
primitive_iterator_t 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...
 

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 friend difference_type operator- (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 
constexpr friend bool operator< (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 
constexpr friend bool operator== (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 

Detailed Description

Definition at line 12732 of file json.hpp.

Member Typedef Documentation

◆ difference_type

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

Definition at line 12735 of file json.hpp.

Member Function Documentation

◆ get_value()

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

Definition at line 12744 of file json.hpp.

◆ is_begin()

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

return whether the iterator can be dereferenced

Definition at line 12762 of file json.hpp.

◆ is_end()

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

return whether the iterator is at end

Definition at line 12768 of file json.hpp.

◆ operator+()

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

Definition at line 12783 of file json.hpp.

◆ operator++() [1/2]

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

Definition at line 12795 of file json.hpp.

◆ operator++() [2/2]

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

Definition at line 12801 of file json.hpp.

◆ operator+=()

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

Definition at line 12821 of file json.hpp.

◆ operator--() [1/2]

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

Definition at line 12808 of file json.hpp.

◆ operator--() [2/2]

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

Definition at line 12814 of file json.hpp.

◆ operator-=()

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

Definition at line 12827 of file json.hpp.

◆ set_begin()

void detail::primitive_iterator_t::set_begin ( )
inlinenoexcept

set iterator to a defined beginning

Definition at line 12750 of file json.hpp.

◆ set_end()

void detail::primitive_iterator_t::set_end ( )
inlinenoexcept

set iterator to a defined past the end

Definition at line 12756 of file json.hpp.

Friends And Related Function Documentation

◆ operator-

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

Definition at line 12790 of file json.hpp.

◆ operator<

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

Definition at line 12778 of file json.hpp.

◆ operator==

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

Definition at line 12773 of file json.hpp.

Member Data Documentation

◆ __pad0__

JSON_PRIVATE_UNLESS_TESTED detail::primitive_iterator_t::__pad0__
private

Definition at line 12741 of file json.hpp.

◆ begin_value

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

Definition at line 12736 of file json.hpp.

◆ end_value

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

Definition at line 12737 of file json.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19