QtBase  v6.3.1
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
hb_iter_t< iter_t, Item > Struct Template Reference

#include <hb-iter.hh>

Inheritance diagram for hb_iter_t< iter_t, Item >:
Inheritance graph
[legend]

Public Types

typedef Item item_t
 

Public Member Functions

constexpr unsigned get_item_size () const
 
iter_t iter () const
 
iter_t operator+ () const
 
iter_t begin () const
 
iter_t end () const
 
 operator bool () const
 
unsigned len () const
 
template<typename T = item_t, hb_enable_if(std::is_reference< T >::value) >
hb_remove_reference< item_t > * operator-> () const
 
item_t operator* () const
 
item_t operator* ()
 
item_t operator[] (unsigned i) const
 
item_t operator[] (unsigned i)
 
iter_t & operator+= (unsigned count) &
 
iter_t operator+= (unsigned count) &&
 
iter_t & operator++ () &
 
iter_t operator++ () &&
 
iter_t & operator-= (unsigned count) &
 
iter_t operator-= (unsigned count) &&
 
iter_t & operator-- () &
 
iter_t operator-- () &&
 
iter_t operator+ (unsigned count) const
 
iter_t operator++ (int)
 
iter_t operator- (unsigned count) const
 
iter_t operator-- (int)
 
template<typename T >
iter_t & operator>> (T &v) &
 
template<typename T >
iter_t operator>> (T &v) &&
 
template<typename T >
iter_t & operator<< (const T v) &
 
template<typename T >
iter_t operator<< (const T v) &&
 

Static Public Attributes

static constexpr bool is_iterator = true
 
static constexpr bool is_random_access_iterator = false
 
static constexpr bool is_sorted_iterator = false
 

Protected Member Functions

 hb_iter_t ()=default
 
 hb_iter_t (const hb_iter_t &o HB_UNUSED)=default
 
 hb_iter_t (hb_iter_t &&o HB_UNUSED)=default
 
hb_iter_toperator= (const hb_iter_t &o HB_UNUSED)=default
 
hb_iter_toperator= (hb_iter_t &&o HB_UNUSED)=default
 

Friends

iter_t operator+ (unsigned count, const iter_t &it)
 

Detailed Description

template<typename iter_t, typename Item = typename iter_t::__item_t__>
struct hb_iter_t< iter_t, Item >

Definition at line 64 of file hb-iter.hh.

Member Typedef Documentation

◆ item_t

template<typename iter_t , typename Item = typename iter_t::__item_t__>
typedef Item hb_iter_t< iter_t, Item >::item_t

Definition at line 66 of file hb-iter.hh.

Constructor & Destructor Documentation

◆ hb_iter_t() [1/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
hb_iter_t< iter_t, Item >::hb_iter_t ( )
protecteddefault

◆ hb_iter_t() [2/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
hb_iter_t< iter_t, Item >::hb_iter_t ( const hb_iter_t< iter_t, Item > &o  HB_UNUSED)
protecteddefault

◆ hb_iter_t() [3/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
hb_iter_t< iter_t, Item >::hb_iter_t ( hb_iter_t< iter_t, Item > &&o  HB_UNUSED)
protecteddefault

Member Function Documentation

◆ begin()

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::begin ( ) const
inline

Definition at line 85 of file hb-iter.hh.

◆ end()

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::end ( ) const
inline

Definition at line 86 of file hb-iter.hh.

◆ get_item_size()

template<typename iter_t , typename Item = typename iter_t::__item_t__>
constexpr unsigned hb_iter_t< iter_t, Item >::get_item_size ( ) const
inlineconstexpr

Definition at line 67 of file hb-iter.hh.

Here is the caller graph for this function:

◆ iter()

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::iter ( ) const
inline

Definition at line 83 of file hb-iter.hh.

◆ len()

template<typename iter_t , typename Item = typename iter_t::__item_t__>
unsigned hb_iter_t< iter_t, Item >::len ( ) const
inline

Definition at line 88 of file hb-iter.hh.

Here is the caller graph for this function:

◆ operator bool()

template<typename iter_t , typename Item = typename iter_t::__item_t__>
hb_iter_t< iter_t, Item >::operator bool ( ) const
inlineexplicit

Definition at line 87 of file hb-iter.hh.

◆ operator*() [1/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
item_t hb_iter_t< iter_t, Item >::operator* ( )
inline

Definition at line 96 of file hb-iter.hh.

◆ operator*() [2/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
item_t hb_iter_t< iter_t, Item >::operator* ( ) const
inline

Definition at line 95 of file hb-iter.hh.

◆ operator+() [1/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator+ ( ) const
inline

Definition at line 84 of file hb-iter.hh.

◆ operator+() [2/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator+ ( unsigned  count) const
inline

Definition at line 107 of file hb-iter.hh.

◆ operator++() [1/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t& hb_iter_t< iter_t, Item >::operator++ ( ) &
inline

Definition at line 101 of file hb-iter.hh.

◆ operator++() [2/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator++ ( ) &&
inline

Definition at line 102 of file hb-iter.hh.

◆ operator++() [3/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator++ ( int  )
inline

Definition at line 109 of file hb-iter.hh.

◆ operator+=() [1/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t& hb_iter_t< iter_t, Item >::operator+= ( unsigned  count) &
inline

Definition at line 99 of file hb-iter.hh.

◆ operator+=() [2/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator+= ( unsigned  count) &&
inline

Definition at line 100 of file hb-iter.hh.

◆ operator-()

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator- ( unsigned  count) const
inline

Definition at line 110 of file hb-iter.hh.

◆ operator--() [1/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t& hb_iter_t< iter_t, Item >::operator-- ( ) &
inline

Definition at line 105 of file hb-iter.hh.

◆ operator--() [2/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator-- ( ) &&
inline

Definition at line 106 of file hb-iter.hh.

◆ operator--() [3/3]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator-- ( int  )
inline

Definition at line 111 of file hb-iter.hh.

◆ operator-=() [1/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t& hb_iter_t< iter_t, Item >::operator-= ( unsigned  count) &
inline

Definition at line 103 of file hb-iter.hh.

◆ operator-=() [2/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t hb_iter_t< iter_t, Item >::operator-= ( unsigned  count) &&
inline

Definition at line 104 of file hb-iter.hh.

◆ operator->()

template<typename iter_t , typename Item = typename iter_t::__item_t__>
template<typename T = item_t, hb_enable_if(std::is_reference< T >::value) >
hb_remove_reference<item_t>* hb_iter_t< iter_t, Item >::operator-> ( ) const
inline

Definition at line 94 of file hb-iter.hh.

◆ operator<<() [1/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
template<typename T >
iter_t& hb_iter_t< iter_t, Item >::operator<< ( const T  v) &
inline

Definition at line 117 of file hb-iter.hh.

◆ operator<<() [2/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
template<typename T >
iter_t hb_iter_t< iter_t, Item >::operator<< ( const T  v) &&
inline

Definition at line 119 of file hb-iter.hh.

◆ operator=() [1/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
hb_iter_t& hb_iter_t< iter_t, Item >::operator= ( const hb_iter_t< iter_t, Item > &o  HB_UNUSED)
protecteddefault

◆ operator=() [2/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
hb_iter_t& hb_iter_t< iter_t, Item >::operator= ( hb_iter_t< iter_t, Item > &&o  HB_UNUSED)
protecteddefault

◆ operator>>() [1/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
template<typename T >
iter_t& hb_iter_t< iter_t, Item >::operator>> ( T v) &
inline

Definition at line 113 of file hb-iter.hh.

◆ operator>>() [2/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
template<typename T >
iter_t hb_iter_t< iter_t, Item >::operator>> ( T v) &&
inline

Definition at line 115 of file hb-iter.hh.

◆ operator[]() [1/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
item_t hb_iter_t< iter_t, Item >::operator[] ( unsigned  i)
inline

Definition at line 98 of file hb-iter.hh.

◆ operator[]() [2/2]

template<typename iter_t , typename Item = typename iter_t::__item_t__>
item_t hb_iter_t< iter_t, Item >::operator[] ( unsigned  i) const
inline

Definition at line 97 of file hb-iter.hh.

Friends And Related Function Documentation

◆ operator+

template<typename iter_t , typename Item = typename iter_t::__item_t__>
iter_t operator+ ( unsigned  count,
const iter_t &  it 
)
friend

Definition at line 108 of file hb-iter.hh.

Member Data Documentation

◆ is_iterator

template<typename iter_t , typename Item = typename iter_t::__item_t__>
constexpr bool hb_iter_t< iter_t, Item >::is_iterator = true
staticconstexpr

Definition at line 68 of file hb-iter.hh.

◆ is_random_access_iterator

template<typename iter_t , typename Item = typename iter_t::__item_t__>
constexpr bool hb_iter_t< iter_t, Item >::is_random_access_iterator = false
staticconstexpr

Definition at line 69 of file hb-iter.hh.

◆ is_sorted_iterator

template<typename iter_t , typename Item = typename iter_t::__item_t__>
constexpr bool hb_iter_t< iter_t, Item >::is_sorted_iterator = false
staticconstexpr

Definition at line 70 of file hb-iter.hh.


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