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

const 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

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


Member Typedef Documentation

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

Definition at line 73 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 65 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 63 of file STLExtras.h.

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

Definition at line 72 of file STLExtras.h.

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

Definition at line 68 of file STLExtras.h.

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

Definition at line 70 of file STLExtras.h.

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

Definition at line 66 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 77 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 79 of file STLExtras.h.


Member Function Documentation

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

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

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::operator==().

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

Definition at line 90 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 91 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 100 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 92 of file STLExtras.h.

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

Definition at line 89 of file STLExtras.h.

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

Definition at line 87 of file STLExtras.h.

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

Definition at line 93 of file STLExtras.h.

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

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

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

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

Definition at line 94 of file STLExtras.h.


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


This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.