Google Cloud C++ Client 2.10.1
C++ Client Library for Google Cloud Platform
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
google::cloud::StreamRange< T >::IteratorImpl< U > Class Template Reference

An input iterator for a StreamRange<T> – DO NOT USE DIRECTLY. More...

#include <google/cloud/stream_range.h>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = U
 
using difference_type = std::size_t
 
using reference = value_type &
 
using pointer = value_type *
 
using const_reference = value_type const &
 
using const_pointer = value_type const *
 

Public Member Functions

 IteratorImpl ()=default
 Constructs an "end" iterator. More...
 
reference operator* ()
 
pointer operator-> ()
 
const_reference operator* () const
 
const_pointer operator-> () const
 
IteratorImploperator++ ()
 
IteratorImpl operator++ (int)
 

Friends

class StreamRange
 
bool operator== (IteratorImpl const &a, IteratorImpl const &b)
 
bool operator!= (IteratorImpl const &a, IteratorImpl const &b)
 

Detailed Description

template<typename T>
template<typename U>
class google::cloud::StreamRange< T >::IteratorImpl< U >

An input iterator for a StreamRange<T> – DO NOT USE DIRECTLY.

Use StreamRange::iterator instead.

Member Typedef Documentation

◆ const_pointer

template<typename T >
template<typename U >
using google::cloud::StreamRange< T >::IteratorImpl< U >::const_pointer = value_type const*

◆ const_reference

template<typename T >
template<typename U >
using google::cloud::StreamRange< T >::IteratorImpl< U >::const_reference = value_type const&

◆ difference_type

template<typename T >
template<typename U >
using google::cloud::StreamRange< T >::IteratorImpl< U >::difference_type = std::size_t

◆ iterator_category

template<typename T >
template<typename U >
using google::cloud::StreamRange< T >::IteratorImpl< U >::iterator_category = std::input_iterator_tag

◆ pointer

template<typename T >
template<typename U >
using google::cloud::StreamRange< T >::IteratorImpl< U >::pointer = value_type*

◆ reference

template<typename T >
template<typename U >
using google::cloud::StreamRange< T >::IteratorImpl< U >::reference = value_type&

◆ value_type

template<typename T >
template<typename U >
using google::cloud::StreamRange< T >::IteratorImpl< U >::value_type = U

Constructor & Destructor Documentation

◆ IteratorImpl()

template<typename T >
template<typename U >
google::cloud::StreamRange< T >::IteratorImpl< U >::IteratorImpl ( )
explicitdefault

Constructs an "end" iterator.

Member Function Documentation

◆ operator*() [1/2]

template<typename T >
template<typename U >
reference google::cloud::StreamRange< T >::IteratorImpl< U >::operator* ( )
inline

◆ operator*() [2/2]

template<typename T >
template<typename U >
const_reference google::cloud::StreamRange< T >::IteratorImpl< U >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename T >
template<typename U >
IteratorImpl & google::cloud::StreamRange< T >::IteratorImpl< U >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T >
template<typename U >
IteratorImpl google::cloud::StreamRange< T >::IteratorImpl< U >::operator++ ( int  )
inline

◆ operator->() [1/2]

template<typename T >
template<typename U >
pointer google::cloud::StreamRange< T >::IteratorImpl< U >::operator-> ( )
inline

◆ operator->() [2/2]

template<typename T >
template<typename U >
const_pointer google::cloud::StreamRange< T >::IteratorImpl< U >::operator-> ( ) const
inline

Friends And Related Function Documentation

◆ operator!=

template<typename T >
template<typename U >
bool operator!= ( IteratorImpl< U > const &  a,
IteratorImpl< U > const &  b 
)
friend

◆ operator==

template<typename T >
template<typename U >
bool operator== ( IteratorImpl< U > const &  a,
IteratorImpl< U > const &  b 
)
friend

◆ StreamRange

template<typename T >
template<typename U >
friend class StreamRange
friend