WPILibC++ 2023.4.3-108-ge5452e3
wpi::detail::primitive_iterator_t Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/json/include/wpi/json.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 const operator++ (int) noexcept
 
primitive_iterator_toperator-- () noexcept
 
primitive_iterator_t const 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 wpi::detail::primitive_iterator_t::get_value ( ) const
inlineconstexprnoexcept

◆ is_begin()

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

return whether the iterator can be dereferenced

◆ is_end()

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

return whether the iterator is at end

◆ operator+()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

primitive_iterator_t const wpi::detail::primitive_iterator_t::operator++ ( int  )
inlinenoexcept

◆ operator+=()

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

◆ operator--() [1/2]

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

◆ operator--() [2/2]

primitive_iterator_t const wpi::detail::primitive_iterator_t::operator-- ( int  )
inlinenoexcept

◆ operator-=()

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

◆ set_begin()

void wpi::detail::primitive_iterator_t::set_begin ( )
inlinenoexcept

set iterator to a defined beginning

◆ set_end()

void wpi::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: