LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 90 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 105 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 97 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 95 of file STLExtras.h.

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

Definition at line 104 of file STLExtras.h.

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

Definition at line 100 of file STLExtras.h.

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

Definition at line 102 of file STLExtras.h.

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

Definition at line 98 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 109 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 111 of file STLExtras.h.


Member Function Documentation

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

Definition at line 107 of file STLExtras.h.

Referenced by llvm::operator+().

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

Definition at line 114 of file STLExtras.h.

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

Definition at line 128 of file STLExtras.h.

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

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

Definition at line 122 of file STLExtras.h.

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

Definition at line 120 of file STLExtras.h.

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

Definition at line 118 of file STLExtras.h.

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

Definition at line 123 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 132 of file STLExtras.h.

References llvm::mapped_iterator< RootIt, UnaryFunc >::current.

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

Definition at line 124 of file STLExtras.h.

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

Definition at line 121 of file STLExtras.h.

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

Definition at line 119 of file STLExtras.h.

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

Definition at line 125 of file STLExtras.h.

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

Definition at line 130 of file STLExtras.h.

References llvm::mapped_iterator< RootIt, UnaryFunc >::current.

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

Definition at line 129 of file STLExtras.h.

References llvm::mapped_iterator< RootIt, UnaryFunc >::current.

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 126 of file STLExtras.h.


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