QtBase  v6.3.1
Public Types | Public Member Functions | Static Public Attributes | List of all members
hb_iota_iter_t< T, S > Struct Template Reference

#include <hb-iter.hh>

Inheritance diagram for hb_iota_iter_t< T, S >:
Inheritance graph
[legend]
Collaboration diagram for hb_iota_iter_t< T, S >:
Collaboration graph
[legend]

Public Types

typedef T __item_t__
 
- Public Types inherited from hb_iter_t< iter_t, Item >
typedef Item item_t
 

Public Member Functions

 hb_iota_iter_t (T start, S step)
 
__item_t__ __item__ () const
 
bool __more__ () const
 
unsigned __len__ () const
 
void __next__ ()
 
void __prev__ ()
 
hb_iota_iter_t __end__ () const
 
bool operator!= (const hb_iota_iter_t &o) const
 
- Public Member Functions inherited from hb_iter_t< iter_t, Item >
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) &&
 
- Public Member Functions inherited from hb_iter_fallback_mixin_t< iter_t, item_t >
item_t __item__ () const
 
item_t __item_at__ (unsigned i) const
 
bool __more__ () const
 
unsigned __len__ () const
 
void __next__ ()
 
void __forward__ (unsigned n)
 
void __prev__ ()
 
void __rewind__ (unsigned n)
 
iter_t __end__ () const
 

Static Public Attributes

static constexpr bool is_random_access_iterator = true
 
static constexpr bool is_sorted_iterator = true
 
- Static Public Attributes inherited from hb_iter_t< iter_t, Item >
static constexpr bool is_iterator = true
 
static constexpr bool is_random_access_iterator = false
 
static constexpr bool is_sorted_iterator = false
 

Additional Inherited Members

- Protected Member Functions inherited from hb_iter_with_fallback_t< hb_iota_iter_t< T, S >, T >
 hb_iter_with_fallback_t ()=default
 
 hb_iter_with_fallback_t (const hb_iter_with_fallback_t &o HB_UNUSED)=default
 
 hb_iter_with_fallback_t (hb_iter_with_fallback_t &&o HB_UNUSED)=default
 
hb_iter_with_fallback_toperator= (const hb_iter_with_fallback_t &o HB_UNUSED)=default
 
hb_iter_with_fallback_toperator= (hb_iter_with_fallback_t &&o HB_UNUSED)=default
 
- Protected Member Functions inherited from hb_iter_t< iter_t, Item >
 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
 
- Protected Member Functions inherited from hb_iter_fallback_mixin_t< iter_t, item_t >
 hb_iter_fallback_mixin_t ()=default
 
 hb_iter_fallback_mixin_t (const hb_iter_fallback_mixin_t &o HB_UNUSED)=default
 
 hb_iter_fallback_mixin_t (hb_iter_fallback_mixin_t &&o HB_UNUSED)=default
 
hb_iter_fallback_mixin_toperator= (const hb_iter_fallback_mixin_t &o HB_UNUSED)=default
 
hb_iter_fallback_mixin_toperator= (hb_iter_fallback_mixin_t &&o HB_UNUSED)=default
 

Detailed Description

template<typename T, typename S>
struct hb_iota_iter_t< T, S >

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

Member Typedef Documentation

◆ __item_t__

template<typename T , typename S >
typedef T hb_iota_iter_t< T, S >::__item_t__

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

Constructor & Destructor Documentation

◆ hb_iota_iter_t()

template<typename T , typename S >
hb_iota_iter_t< T, S >::hb_iota_iter_t ( T  start,
S  step 
)
inline

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

Member Function Documentation

◆ __end__()

template<typename T , typename S >
hb_iota_iter_t hb_iota_iter_t< T, S >::__end__ ( ) const
inline

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

◆ __item__()

template<typename T , typename S >
__item_t__ hb_iota_iter_t< T, S >::__item__ ( ) const
inline

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

◆ __len__()

template<typename T , typename S >
unsigned hb_iota_iter_t< T, S >::__len__ ( ) const
inline

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

◆ __more__()

template<typename T , typename S >
bool hb_iota_iter_t< T, S >::__more__ ( ) const
inline

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

◆ __next__()

template<typename T , typename S >
void hb_iota_iter_t< T, S >::__next__ ( )
inline

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

◆ __prev__()

template<typename T , typename S >
void hb_iota_iter_t< T, S >::__prev__ ( )
inline

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

◆ operator!=()

template<typename T , typename S >
bool hb_iota_iter_t< T, S >::operator!= ( const hb_iota_iter_t< T, S > &  o) const
inline

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

Member Data Documentation

◆ is_random_access_iterator

template<typename T , typename S >
constexpr bool hb_iota_iter_t< T, S >::is_random_access_iterator = true
staticconstexpr

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

◆ is_sorted_iterator

template<typename T , typename S >
constexpr bool hb_iota_iter_t< T, S >::is_sorted_iterator = true
staticconstexpr

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


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