LLVM API Documentation

llvm::mapped_iterator< RootIt, UnaryFunc > Class Template Reference

#include <STLExtras.h>

Collaboration diagram for llvm::mapped_iterator< RootIt, UnaryFunc >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::iterator_traits<
RootIt >::iterator_category 
iterator_category
typedef std::iterator_traits<
RootIt >::difference_type 
difference_type
typedef UnaryFunc::result_type value_type
typedef void pointer
typedef void reference
typedef RootIt iterator_type
typedef mapped_iterator< RootIt,
UnaryFunc > 
_Self

Public Member Functions

RootIt & getCurrent () const
 mapped_iterator (const RootIt &I, UnaryFunc F)
 mapped_iterator (const mapped_iterator &It)
value_type operator * () const
_Selfoperator++ ()
_Selfoperator-- ()
_Self operator++ (int)
_Self operator-- (int)
_Self operator+ (difference_type n) const
_Selfoperator+= (difference_type n)
_Self operator- (difference_type n) const
_Selfoperator-= (difference_type n)
reference operator[] (difference_type n) const
bool operator!= (const _Self &X) const
bool operator== (const _Self &X) const
bool operator< (const _Self &X) const
difference_type operator- (const _Self &X) const

Detailed Description

template<class RootIt, class UnaryFunc>
class llvm::mapped_iterator< RootIt, UnaryFunc >

Definition at line 57 of file STLExtras.h.


Member Typedef Documentation

template<class RootIt, class UnaryFunc>
typedef mapped_iterator<RootIt, UnaryFunc> llvm::mapped_iterator< RootIt, UnaryFunc >::_Self

Definition at line 72 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
typedef std::iterator_traits<RootIt>::difference_type llvm::mapped_iterator< RootIt, UnaryFunc >::difference_type

Definition at line 64 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
typedef std::iterator_traits<RootIt>::iterator_category llvm::mapped_iterator< RootIt, UnaryFunc >::iterator_category

Definition at line 62 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
typedef RootIt llvm::mapped_iterator< RootIt, UnaryFunc >::iterator_type

Definition at line 71 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
typedef void llvm::mapped_iterator< RootIt, UnaryFunc >::pointer

Definition at line 67 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
typedef void llvm::mapped_iterator< RootIt, UnaryFunc >::reference

Definition at line 69 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
typedef UnaryFunc::result_type llvm::mapped_iterator< RootIt, UnaryFunc >::value_type

Definition at line 65 of file STLExtras.h.


Constructor & Destructor Documentation

template<class RootIt, class UnaryFunc>
llvm::mapped_iterator< RootIt, UnaryFunc >::mapped_iterator ( const RootIt &  I,
UnaryFunc  F 
) [inline, explicit]

Definition at line 76 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
llvm::mapped_iterator< RootIt, UnaryFunc >::mapped_iterator ( const mapped_iterator< RootIt, UnaryFunc > &  It  )  [inline]

Definition at line 78 of file STLExtras.h.


Member Function Documentation

template<class RootIt, class UnaryFunc>
RootIt& llvm::mapped_iterator< RootIt, UnaryFunc >::getCurrent (  )  const [inline]

Definition at line 74 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
value_type llvm::mapped_iterator< RootIt, UnaryFunc >::operator * (  )  const [inline]

Definition at line 81 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
bool llvm::mapped_iterator< RootIt, UnaryFunc >::operator!= ( const _Self X  )  const [inline]

Definition at line 95 of file STLExtras.h.

References llvm::mapped_iterator< RootIt, UnaryFunc >::operator==(), and llvm::X.

template<class RootIt, class UnaryFunc>
_Self llvm::mapped_iterator< RootIt, UnaryFunc >::operator+ ( difference_type  n  )  const [inline]

Definition at line 89 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
_Self llvm::mapped_iterator< RootIt, UnaryFunc >::operator++ ( int   )  [inline]

Definition at line 87 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
_Self& llvm::mapped_iterator< RootIt, UnaryFunc >::operator++ (  )  [inline]

Definition at line 85 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
_Self& llvm::mapped_iterator< RootIt, UnaryFunc >::operator+= ( difference_type  n  )  [inline]

Definition at line 90 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
difference_type llvm::mapped_iterator< RootIt, UnaryFunc >::operator- ( const _Self X  )  const [inline]

Definition at line 99 of file STLExtras.h.

References llvm::X.

template<class RootIt, class UnaryFunc>
_Self llvm::mapped_iterator< RootIt, UnaryFunc >::operator- ( difference_type  n  )  const [inline]

Definition at line 91 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
_Self llvm::mapped_iterator< RootIt, UnaryFunc >::operator-- ( int   )  [inline]

Definition at line 88 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
_Self& llvm::mapped_iterator< RootIt, UnaryFunc >::operator-- (  )  [inline]

Definition at line 86 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
_Self& llvm::mapped_iterator< RootIt, UnaryFunc >::operator-= ( difference_type  n  )  [inline]

Definition at line 92 of file STLExtras.h.

template<class RootIt, class UnaryFunc>
bool llvm::mapped_iterator< RootIt, UnaryFunc >::operator< ( const _Self X  )  const [inline]

Definition at line 97 of file STLExtras.h.

References llvm::X.

template<class RootIt, class UnaryFunc>
bool llvm::mapped_iterator< RootIt, UnaryFunc >::operator== ( const _Self X  )  const [inline]

Definition at line 96 of file STLExtras.h.

References llvm::X.

Referenced by llvm::mapped_iterator< RootIt, UnaryFunc >::operator!=().

template<class RootIt, class UnaryFunc>
reference llvm::mapped_iterator< RootIt, UnaryFunc >::operator[] ( difference_type  n  )  const [inline]

Definition at line 93 of file STLExtras.h.


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