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

#include <hb-iter.hh>

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

Public Types

typedef T __item_t__
 
- Public Types inherited from hb_iter_t< hb_range_iter_t< T, S >, T >
typedef T item_t
 

Public Member Functions

 hb_range_iter_t (T start, T end_, S step)
 
__item_t__ __item__ () const
 
__item_t__ __item_at__ (unsigned j) const
 
bool __more__ () const
 
unsigned __len__ () const
 
void __next__ ()
 
void __forward__ (unsigned n)
 
void __prev__ ()
 
void __rewind__ (unsigned n)
 
hb_range_iter_t __end__ () const
 
bool operator!= (const hb_range_iter_t &o) const
 
- Public Member Functions inherited from hb_iter_t< hb_range_iter_t< T, S >, T >
constexpr unsigned get_item_size () const
 
hb_range_iter_t< T, Siter () const
 
hb_range_iter_t< T, Soperator+ () const
 
hb_range_iter_t< T, Soperator+ (unsigned count) const
 
hb_range_iter_t< T, Sbegin () const
 
hb_range_iter_t< T, Send () const
 
 operator bool () const
 
unsigned len () const
 
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)
 
hb_range_iter_t< T, S > & operator+= (unsigned count) &
 
hb_range_iter_t< T, Soperator+= (unsigned count) &&
 
hb_range_iter_t< T, S > & operator++ () &
 
hb_range_iter_t< T, Soperator++ () &&
 
hb_range_iter_t< T, Soperator++ (int)
 
hb_range_iter_t< T, S > & operator-= (unsigned count) &
 
hb_range_iter_t< T, Soperator-= (unsigned count) &&
 
hb_range_iter_t< T, S > & operator-- () &
 
hb_range_iter_t< T, Soperator-- () &&
 
hb_range_iter_t< T, Soperator-- (int)
 
hb_range_iter_t< T, Soperator- (unsigned count) const
 
hb_range_iter_t< T, S > & operator>> (T &v) &
 
hb_range_iter_t< T, Soperator>> (T &v) &&
 
hb_range_iter_t< T, S > & operator<< (const T v) &
 
hb_range_iter_t< T, Soperator<< (const T v) &&
 

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< hb_range_iter_t< T, S >, T >
static constexpr bool is_iterator
 
static constexpr bool is_random_access_iterator
 
static constexpr bool is_sorted_iterator
 

Additional Inherited Members

- Protected Member Functions inherited from hb_iter_t< hb_range_iter_t< T, S >, T >
 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
 

Detailed Description

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

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

Member Typedef Documentation

◆ __item_t__

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

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

Constructor & Destructor Documentation

◆ hb_range_iter_t()

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

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

Here is the caller graph for this function:

Member Function Documentation

◆ __end__()

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

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

Here is the call graph for this function:

◆ __forward__()

template<typename T , typename S >
void hb_range_iter_t< T, S >::__forward__ ( unsigned  n)
inline

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

◆ __item__()

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

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

◆ __item_at__()

template<typename T , typename S >
__item_t__ hb_range_iter_t< T, S >::__item_at__ ( unsigned  j) const
inline

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

◆ __len__()

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

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

◆ __more__()

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

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

◆ __next__()

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

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

◆ __prev__()

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

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

◆ __rewind__()

template<typename T , typename S >
void hb_range_iter_t< T, S >::__rewind__ ( unsigned  n)
inline

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

◆ operator!=()

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

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

Member Data Documentation

◆ is_random_access_iterator

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

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

◆ is_sorted_iterator

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

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


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