WPILibC++ 2024.3.2
detail::primitive_iterator_t Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/json/include/wpi/detail/iterators/primitive_iterator.h>

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
 

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
 

Member Function Documentation

◆ get_value()

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

◆ is_begin()

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

return whether the iterator can be dereferenced

◆ is_end()

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

return whether the iterator is at end

◆ operator+()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator+=()

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

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

◆ operator-=()

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

◆ set_begin()

void detail::primitive_iterator_t::set_begin ( )
inlinenoexcept

set iterator to a defined beginning

◆ set_end()

void detail::primitive_iterator_t::set_end ( )
inlinenoexcept

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: