LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::mapped_iterator< ItTy, FuncTy, FuncReturnTy > Class Template Reference

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::mapped_iterator< ItTy, FuncTy, FuncReturnTy >:
Inheritance graph
[legend]
Collaboration diagram for llvm::mapped_iterator< ItTy, FuncTy, FuncReturnTy >:
Collaboration graph
[legend]

Public Member Functions

 mapped_iterator (ItTy U, FuncTy F)
 
ItTy getCurrent ()
 
FuncReturnTy operator* ()
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< mapped_iterator< ItTy, FuncTy >, ItTy, std::iterator_traits< ItTy >::iterator_category, std::remove_reference< FuncReturnTy >::type >
mapped_iterator< ItTy, FuncTy > & operator+= (difference_type n)
 
mapped_iterator< ItTy, FuncTy > & operator-= (difference_type n)
 
difference_type operator- (const mapped_iterator< ItTy, FuncTy > &RHS) const
 
mapped_iterator< ItTy, FuncTy > & operator++ ()
 
mapped_iterator< ItTy, FuncTy > & operator-- ()
 
bool operator== (const mapped_iterator< ItTy, FuncTy > &RHS) const
 
bool operator< (const mapped_iterator< ItTy, FuncTy > &RHS) const
 
typename std::conditional< std::is_same< std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::value_type >::value, typename std::iterator_traits< ItTy >::reference, std::remove_reference< FuncReturnTy >::type & >::type operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< mapped_iterator< ItTy, FuncTy >, std::iterator_traits< ItTy >::iterator_category, std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::difference_type, typename std::conditional< std::is_same< std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::value_type >::value, typename std::iterator_traits< ItTy >::pointer, std::remove_reference< FuncReturnTy >::type * >::type, typename std::conditional< std::is_same< std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::value_type >::value, typename std::iterator_traits< ItTy >::reference, std::remove_reference< FuncReturnTy >::type & >::type >
mapped_iterator< ItTy, FuncTy > operator+ (typename std::iterator_traits< ItTy >::difference_type n) const
 
mapped_iterator< ItTy, FuncTy > operator- (typename std::iterator_traits< ItTy >::difference_type n) const
 
mapped_iterator< ItTy, FuncTy > & operator++ ()
 
mapped_iterator< ItTy, FuncTy > operator++ (int)
 
mapped_iterator< ItTy, FuncTy > & operator-- ()
 
mapped_iterator< ItTy, FuncTy > operator-- (int)
 
bool operator!= (const mapped_iterator< ItTy, FuncTy > &RHS) const
 
bool operator> (const mapped_iterator< ItTy, FuncTy > &RHS) const
 
bool operator<= (const mapped_iterator< ItTy, FuncTy > &RHS) const
 
bool operator>= (const mapped_iterator< ItTy, FuncTy > &RHS) const
 
typename std::conditional< std::is_same< std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::value_type >::value, typename std::iterator_traits< ItTy >::pointer, std::remove_reference< FuncReturnTy >::type *>::type operator-> ()
 
typename std::conditional< std::is_same< std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::value_type >::value, typename std::iterator_traits< ItTy >::pointer, std::remove_reference< FuncReturnTy >::type *>::type operator-> () const
 
ReferenceProxy operator[] (typename std::iterator_traits< ItTy >::difference_type n)
 
ReferenceProxy operator[] (typename std::iterator_traits< ItTy >::difference_type n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< mapped_iterator< ItTy, FuncTy >, ItTy, std::iterator_traits< ItTy >::iterator_category, std::remove_reference< FuncReturnTy >::type >
using difference_type = typename std::iterator_traits< ItTy >::difference_type
 
- Protected Types inherited from llvm::iterator_facade_base< mapped_iterator< ItTy, FuncTy >, std::iterator_traits< ItTy >::iterator_category, std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::difference_type, typename std::conditional< std::is_same< std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::value_type >::value, typename std::iterator_traits< ItTy >::pointer, std::remove_reference< FuncReturnTy >::type * >::type, typename std::conditional< std::is_same< std::remove_reference< FuncReturnTy >::type, typename std::iterator_traits< ItTy >::value_type >::value, typename std::iterator_traits< ItTy >::reference, std::remove_reference< FuncReturnTy >::type & >::type >
enum  
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< mapped_iterator< ItTy, FuncTy >, ItTy, std::iterator_traits< ItTy >::iterator_category, std::remove_reference< FuncReturnTy >::type >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (ItTy u)
 
const ItTywrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< mapped_iterator< ItTy, FuncTy >, ItTy, std::iterator_traits< ItTy >::iterator_category, std::remove_reference< FuncReturnTy >::type >
ItTy I
 

Detailed Description

template<typename ItTy, typename FuncTy, typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
class llvm::mapped_iterator< ItTy, FuncTy, FuncReturnTy >

Definition at line 185 of file STLExtras.h.

Constructor & Destructor Documentation

◆ mapped_iterator()

template<typename ItTy , typename FuncTy , typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
llvm::mapped_iterator< ItTy, FuncTy, FuncReturnTy >::mapped_iterator ( ItTy  U,
FuncTy  F 
)
inline

Definition at line 191 of file STLExtras.h.

Member Function Documentation

◆ getCurrent()

template<typename ItTy , typename FuncTy , typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
ItTy llvm::mapped_iterator< ItTy, FuncTy, FuncReturnTy >::getCurrent ( )
inline

Definition at line 194 of file STLExtras.h.

References I.

Referenced by llvm::CatchSwitchInst::removeHandler().

◆ operator*()

template<typename ItTy , typename FuncTy , typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
FuncReturnTy llvm::mapped_iterator< ItTy, FuncTy, FuncReturnTy >::operator* ( )
inline

Definition at line 196 of file STLExtras.h.

References F(), and I.


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