LLVM  6.0.0svn
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 >, WrappedIteratorT, T >
pointer_iterator< WrappedIteratorT > & operator+= (difference_type n)
 
pointer_iterator< WrappedIteratorT > & operator-= (difference_type n)
 
difference_type operator- (const pointer_iterator< WrappedIteratorT > &RHS) const
 
pointer_iterator< WrappedIteratorT > & operator++ ()
 
pointer_iterator< WrappedIteratorT > & operator-- ()
 
bool operator== (const pointer_iterator< WrappedIteratorT > &RHS) const
 
bool operator< (const pointer_iterator< WrappedIteratorT > &RHS) const
 
typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, typename std::iterator_traits< WrappedIteratorT >::value_type & >::type operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< pointer_iterator< WrappedIteratorT >, T, typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::difference_type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type * >::type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, typename std::iterator_traits< WrappedIteratorT >::value_type & >::type >
pointer_iterator< WrappedIteratorT > operator+ (typename std::iterator_traits< WrappedIteratorT >::difference_type n) const
 
pointer_iterator< WrappedIteratorT > operator- (typename std::iterator_traits< WrappedIteratorT >::difference_type n) const
 
pointer_iterator< WrappedIteratorT > & operator++ ()
 
pointer_iterator< WrappedIteratorT > operator++ (int)
 
pointer_iterator< WrappedIteratorT > & operator-- ()
 
pointer_iterator< WrappedIteratorT > operator-- (int)
 
bool operator!= (const pointer_iterator< WrappedIteratorT > &RHS) const
 
bool operator> (const pointer_iterator< WrappedIteratorT > &RHS) const
 
bool operator<= (const pointer_iterator< WrappedIteratorT > &RHS) const
 
bool operator>= (const pointer_iterator< WrappedIteratorT > &RHS) const
 
typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type *>::type operator-> ()
 
typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type *>::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 >, WrappedIteratorT, T >
using difference_type = typename std::iterator_traits< WrappedIteratorT >::difference_type
 
- Protected Types inherited from llvm::iterator_facade_base< pointer_iterator< WrappedIteratorT >, T, typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::difference_type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::pointer, typename std::iterator_traits< WrappedIteratorT >::value_type * >::type, typename std::conditional< std::is_same< typename std::iterator_traits< WrappedIteratorT >::value_type, typename std::iterator_traits< WrappedIteratorT >::value_type >::value, typename std::iterator_traits< WrappedIteratorT >::reference, typename std::iterator_traits< WrappedIteratorT >::value_type & >::type >
enum  
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< pointer_iterator< WrappedIteratorT >, WrappedIteratorT, 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 >, WrappedIteratorT, T >
WrappedIteratorT I
 

Detailed Description

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

Definition at line 313 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: