LLVM  8.0.1
Public Member Functions | List of all members
llvm::pointer_iterator< WrappedIteratorT, T > Class Template Reference

#include "llvm/ADT/iterator.h"

Inheritance diagram for llvm::pointer_iterator< WrappedIteratorT, T >:
Inheritance graph
[legend]
Collaboration diagram for llvm::pointer_iterator< WrappedIteratorT, T >:
Collaboration graph
[legend]

Public Member Functions

 pointer_iterator ()=default
 
 pointer_iterator (WrappedIteratorT u)
 
Toperator* ()
 
const Toperator* () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, T >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, T >
pointer_iterator< WrappedIteratorT, T > & operator+= (difference_type n)
 
pointer_iterator< WrappedIteratorT, T > & operator-= (difference_type n)
 
difference_type operator- (const pointer_iterator< WrappedIteratorT, T > &RHS) const
 
pointer_iterator< WrappedIteratorT, T > & operator++ ()
 
pointer_iterator< WrappedIteratorT, T > & operator-- ()
 
bool operator== (const pointer_iterator< WrappedIteratorT, T > &RHS) const
 
bool operator< (const pointer_iterator< WrappedIteratorT, T > &RHS) const
 
typename std::conditional< std::is_same< T, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, T & >::type operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< pointer_iterator< WrappedIteratorT, T >, std::iterator_traits< WrappedIteratorT >::iterator_category, T, typename std::iterator_traits< WrappedIteratorT >::difference_type, typename std::conditional< std::is_same< T, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, T * >::type, typename std::conditional< std::is_same< T, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, T & >::type >
pointer_iterator< WrappedIteratorT, Toperator+ (typename std::iterator_traits< WrappedIteratorT >::difference_type n) const
 
pointer_iterator< WrappedIteratorT, Toperator- (typename std::iterator_traits< WrappedIteratorT >::difference_type n) const
 
pointer_iterator< WrappedIteratorT, T > & operator++ ()
 
pointer_iterator< WrappedIteratorT, Toperator++ (int)
 
pointer_iterator< WrappedIteratorT, T > & operator-- ()
 
pointer_iterator< WrappedIteratorT, Toperator-- (int)
 
bool operator!= (const pointer_iterator< WrappedIteratorT, T > &RHS) const
 
bool operator> (const pointer_iterator< WrappedIteratorT, T > &RHS) const
 
bool operator<= (const pointer_iterator< WrappedIteratorT, T > &RHS) const
 
bool operator>= (const pointer_iterator< WrappedIteratorT, T > &RHS) const
 
typename std::conditional< std::is_same< T, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, T *>::type operator-> ()
 
typename std::conditional< std::is_same< T, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, T *>::type operator-> () const
 
ReferenceProxy operator[] (typename std::iterator_traits< WrappedIteratorT >::difference_type n)
 
ReferenceProxy operator[] (typename std::iterator_traits< WrappedIteratorT >::difference_type n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, T >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, T >
using difference_type = typename std::iterator_traits< WrappedIteratorT >::difference_type
 
- Protected Types inherited from llvm::iterator_facade_base< pointer_iterator< WrappedIteratorT, T >, std::iterator_traits< WrappedIteratorT >::iterator_category, T, typename std::iterator_traits< WrappedIteratorT >::difference_type, typename std::conditional< std::is_same< T, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, T * >::type, typename std::conditional< std::is_same< T, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, T & >::type >
enum  
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, T >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, T >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (WrappedIteratorT u)
 
const WrappedIteratorT & wrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT, T >, WrappedIteratorT, std::iterator_traits< WrappedIteratorT >::iterator_category, T >
WrappedIteratorT I
 

Detailed Description

template<typename WrappedIteratorT, typename T = decltype(&*std::declval<WrappedIteratorT>())>
class llvm::pointer_iterator< WrappedIteratorT, T >

Definition at line 311 of file iterator.h.

Constructor & Destructor Documentation

◆ pointer_iterator() [1/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
llvm::pointer_iterator< WrappedIteratorT, T >::pointer_iterator ( )
default

◆ pointer_iterator() [2/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
llvm::pointer_iterator< WrappedIteratorT, T >::pointer_iterator ( WrappedIteratorT  u)
inlineexplicit

Definition at line 321 of file iterator.h.

Member Function Documentation

◆ operator*() [1/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
T& llvm::pointer_iterator< WrappedIteratorT, T >::operator* ( )
inline

Definition at line 324 of file iterator.h.

References I.

◆ operator*() [2/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
const T& llvm::pointer_iterator< WrappedIteratorT, T >::operator* ( ) const
inline

Definition at line 325 of file iterator.h.

References llvm::sys::path::begin(), and I.


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