neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r > Class Template Reference

#include <plf_hive.h>

Classes

struct  hive_iterator_tag
 

Public Types

typedef std::bidirectional_iterator_tag iterator_category
 
typedef std::bidirectional_iterator_tag iterator_concept
 
typedef iterator iterator_type
 
typedef hive::value_type value_type
 
typedef hive::difference_type difference_type
 
typedef std::conditional_t< is_const_r, typename hive::const_pointer, typename hive::pointerpointer
 
typedef std::conditional_t< is_const_r, typename hive::const_reference, typename hive::referencereference
 

Public Member Functions

 hive_reverse_iterator () noexcept
 
 hive_reverse_iterator (const hive_reverse_iterator &source) noexcept
 
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
 hive_reverse_iterator (const hive_reverse_iterator< false > &source) noexcept
 
 hive_reverse_iterator (const hive_iterator< is_const_r > &source) noexcept
 
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
 hive_reverse_iterator (const hive_iterator< false > &source) noexcept
 
 hive_reverse_iterator (hive_reverse_iterator &&source) noexcept
 
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
 hive_reverse_iterator (hive_reverse_iterator< false > &&source) noexcept
 
hive_reverse_iteratoroperator= (const hive_iterator< is_const_r > &source) noexcept
 
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
hive_reverse_iteratoroperator= (const hive_iterator< false > &source) noexcept
 
hive_reverse_iteratoroperator= (const hive_reverse_iterator &source) noexcept
 
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
hive_reverse_iteratoroperator= (const hive_reverse_iterator< false > &source) noexcept
 
hive_reverse_iteratoroperator= (hive_reverse_iterator &&source) noexcept
 
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
hive_reverse_iteratoroperator= (hive_reverse_iterator< false > &&source) noexcept
 
bool operator== (const hive_reverse_iterator &rh) const noexcept
 
bool operator== (const hive_reverse_iterator<!is_const_r > &rh) const noexcept
 
bool operator!= (const hive_reverse_iterator &rh) const noexcept
 
bool operator!= (const hive_reverse_iterator<!is_const_r > &rh) const noexcept
 
reference operator* () const noexcept
 
pointer operator-> () const noexcept
 
hive_reverse_iteratoroperator++ ()
 
hive_reverse_iterator operator++ (int)
 
hive_reverse_iteratoroperator-- ()
 
hive_reverse_iterator operator-- (int)
 
hive_iterator< is_const_r > base () const noexcept
 
template<bool is_const_it>
bool operator> (const hive_reverse_iterator< is_const_it > &rh) const noexcept
 
template<bool is_const_it>
bool operator< (const hive_reverse_iterator< is_const_it > &rh) const noexcept
 
template<bool is_const_it>
bool operator>= (const hive_reverse_iterator< is_const_it > &rh) const noexcept
 
template<bool is_const_it>
bool operator<= (const hive_reverse_iterator< is_const_it > &rh) const noexcept
 
template<bool is_const_it>
std::strong_ordering operator<=> (const hive_reverse_iterator< is_const_it > &rh) const noexcept
 

Protected Attributes

iterator current
 

Friends

class hive
 
template<hive_iterator_concept it_type, typename distance_type >
void std::advance (it_type &it, const distance_type distance)
 
template<hive_iterator_concept it_type>
it_type std::next (it_type it, const typename std::iterator_traits< it_type >::difference_type distance)
 
template<hive_iterator_concept it_type>
it_type std::prev (it_type it, const typename std::iterator_traits< it_type >::difference_type distance)
 
template<hive_iterator_concept it_type>
std::iterator_traits< it_type >::difference_type std::distance (const it_type first, const it_type last)
 

Detailed Description

template<class element_type, class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
class plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >

Definition at line 4228 of file plf_hive.h.

Member Typedef Documentation

◆ difference_type

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
typedef hive::difference_type plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::difference_type

Definition at line 4244 of file plf_hive.h.

◆ iterator_category

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
typedef std::bidirectional_iterator_tag plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::iterator_category

Definition at line 4240 of file plf_hive.h.

◆ iterator_concept

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
typedef std::bidirectional_iterator_tag plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::iterator_concept

Definition at line 4241 of file plf_hive.h.

◆ iterator_type

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
typedef iterator plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::iterator_type

Definition at line 4242 of file plf_hive.h.

◆ pointer

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
typedef std::conditional_t<is_const_r, typename hive::const_pointer, typename hive::pointer> plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::pointer

Definition at line 4245 of file plf_hive.h.

◆ reference

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
typedef std::conditional_t<is_const_r, typename hive::const_reference, typename hive::reference> plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::reference

Definition at line 4246 of file plf_hive.h.

◆ value_type

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
typedef hive::value_type plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::value_type

Definition at line 4243 of file plf_hive.h.

Constructor & Destructor Documentation

◆ hive_reverse_iterator() [1/7]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::hive_reverse_iterator ( )
inlinenoexcept

Definition at line 4264 of file plf_hive.h.

◆ hive_reverse_iterator() [2/7]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::hive_reverse_iterator ( const hive_reverse_iterator< is_const_r > &  source)
inlinenoexcept

Definition at line 4268 of file plf_hive.h.

◆ hive_reverse_iterator() [3/7]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::hive_reverse_iterator ( const hive_reverse_iterator< false > &  source)
inlinenoexcept

Definition at line 4274 of file plf_hive.h.

◆ hive_reverse_iterator() [4/7]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::hive_reverse_iterator ( const hive_iterator< is_const_r > &  source)
inlinenoexcept

Definition at line 4279 of file plf_hive.h.

◆ hive_reverse_iterator() [5/7]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::hive_reverse_iterator ( const hive_iterator< false > &  source)
inlinenoexcept

Definition at line 4287 of file plf_hive.h.

◆ hive_reverse_iterator() [6/7]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::hive_reverse_iterator ( hive_reverse_iterator< is_const_r > &&  source)
inlinenoexcept

Definition at line 4294 of file plf_hive.h.

◆ hive_reverse_iterator() [7/7]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::hive_reverse_iterator ( hive_reverse_iterator< false > &&  source)
inlinenoexcept

Definition at line 4300 of file plf_hive.h.

Member Function Documentation

◆ base()

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
hive_iterator< is_const_r > plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::base ( ) const
inlinenoexcept

Definition at line 4461 of file plf_hive.h.

◆ operator!=() [1/2]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
bool plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator!= ( const hive_reverse_iterator< is_const_r > &  rh) const
inlinenoexcept

Definition at line 4369 of file plf_hive.h.

◆ operator!=() [2/2]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
bool plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator!= ( const hive_reverse_iterator<!is_const_r > &  rh) const
inlinenoexcept

Definition at line 4376 of file plf_hive.h.

◆ operator*()

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
reference plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator* ( ) const
inlinenoexcept

Definition at line 4383 of file plf_hive.h.

◆ operator++() [1/2]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
hive_reverse_iterator & plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator++ ( )
inline

Definition at line 4398 of file plf_hive.h.

◆ operator++() [2/2]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
hive_reverse_iterator plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator++ ( int  )
inline

Definition at line 4435 of file plf_hive.h.

◆ operator--() [1/2]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
hive_reverse_iterator & plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator-- ( )
inline

Definition at line 4444 of file plf_hive.h.

◆ operator--() [2/2]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
hive_reverse_iterator plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator-- ( int  )
inline

Definition at line 4452 of file plf_hive.h.

◆ operator->()

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
pointer plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator-> ( ) const
inlinenoexcept

Definition at line 4390 of file plf_hive.h.

◆ operator<()

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_it>
bool plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator< ( const hive_reverse_iterator< is_const_it > &  rh) const
inlinenoexcept

Definition at line 4477 of file plf_hive.h.

◆ operator<=()

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_it>
bool plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator<= ( const hive_reverse_iterator< is_const_it > &  rh) const
inlinenoexcept

Definition at line 4493 of file plf_hive.h.

◆ operator<=>()

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_it>
std::strong_ordering plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator<=> ( const hive_reverse_iterator< is_const_it > &  rh) const
inlinenoexcept

Definition at line 4501 of file plf_hive.h.

◆ operator=() [1/6]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
hive_reverse_iterator & plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator= ( const hive_iterator< false > &  source)
inlinenoexcept

Definition at line 4314 of file plf_hive.h.

◆ operator=() [2/6]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
hive_reverse_iterator & plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator= ( const hive_iterator< is_const_r > &  source)
inlinenoexcept

Definition at line 4305 of file plf_hive.h.

◆ operator=() [3/6]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
hive_reverse_iterator & plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator= ( const hive_reverse_iterator< is_const_r > &  source)
inlinenoexcept

Definition at line 4322 of file plf_hive.h.

◆ operator=() [4/6]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
hive_reverse_iterator & plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator= ( const hive_reverse_iterator< false > &  source)
inlinenoexcept

Definition at line 4330 of file plf_hive.h.

◆ operator=() [5/6]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
hive_reverse_iterator & plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator= ( hive_reverse_iterator< is_const_r > &&  source)
inlinenoexcept

Definition at line 4337 of file plf_hive.h.

◆ operator=() [6/6]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_rit = is_const_r, class = std::enable_if_t<is_const_rit>>
hive_reverse_iterator & plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator= ( hive_reverse_iterator< false > &&  source)
inlinenoexcept

Definition at line 4346 of file plf_hive.h.

◆ operator==() [1/2]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
bool plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator== ( const hive_reverse_iterator< is_const_r > &  rh) const
inlinenoexcept

Definition at line 4355 of file plf_hive.h.

◆ operator==() [2/2]

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
bool plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator== ( const hive_reverse_iterator<!is_const_r > &  rh) const
inlinenoexcept

Definition at line 4362 of file plf_hive.h.

◆ operator>()

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_it>
bool plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator> ( const hive_reverse_iterator< is_const_it > &  rh) const
inlinenoexcept

Definition at line 4469 of file plf_hive.h.

◆ operator>=()

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<bool is_const_it>
bool plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::operator>= ( const hive_reverse_iterator< is_const_it > &  rh) const
inlinenoexcept

Definition at line 4485 of file plf_hive.h.

Friends And Related Symbol Documentation

◆ hive

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
friend class hive
friend

Definition at line 4248 of file plf_hive.h.

◆ std::advance

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<hive_iterator_concept it_type, typename distance_type >
void std::advance ( it_type &  it,
const distance_type  distance 
)
friend

◆ std::distance

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<hive_iterator_concept it_type>
std::iterator_traits< it_type >::difference_type std::distance ( const it_type  first,
const it_type  last 
)
friend

◆ std::next

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<hive_iterator_concept it_type>
it_type std::next ( it_type  it,
const typename std::iterator_traits< it_type >::difference_type  distance 
)
friend

◆ std::prev

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
template<hive_iterator_concept it_type>
it_type std::prev ( it_type  it,
const typename std::iterator_traits< it_type >::difference_type  distance 
)
friend

Member Data Documentation

◆ current

template<class element_type , class allocator_type = std::allocator<element_type>>
template<bool is_const_r>
iterator plf::hive< element_type, allocator_type >::hive_reverse_iterator< is_const_r >::current
protected

Definition at line 4236 of file plf_hive.h.


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