Google Cloud C++ Client  2.1.0
C++ Client Library for Google Cloud Platform
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.

Definition at line 98 of file stream_range.h.

Member Typedef Documentation

◆ const_pointer

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

Definition at line 106 of file stream_range.h.

◆ const_reference

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

Definition at line 105 of file stream_range.h.

◆ difference_type

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

Definition at line 102 of file stream_range.h.

◆ iterator_category

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

Definition at line 100 of file stream_range.h.

◆ pointer

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

Definition at line 104 of file stream_range.h.

◆ reference

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

Definition at line 103 of file stream_range.h.

◆ value_type

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

Definition at line 101 of file stream_range.h.

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

Definition at line 111 of file stream_range.h.

◆ operator*() [2/2]

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

Definition at line 113 of file stream_range.h.

◆ operator++() [1/2]

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

Definition at line 116 of file stream_range.h.

◆ operator++() [2/2]

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

Definition at line 122 of file stream_range.h.

◆ operator->() [1/2]

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

Definition at line 112 of file stream_range.h.

◆ operator->() [2/2]

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

Definition at line 114 of file stream_range.h.

Friends And Related Function Documentation

◆ operator!=

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

Definition at line 132 of file stream_range.h.

◆ operator==

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

Definition at line 128 of file stream_range.h.

◆ StreamRange

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

Definition at line 137 of file stream_range.h.