LLVM API Documentation

Public Types | Public Member Functions
llvm::mapped_iterator< RootIt, UnaryFunc > Class Template Reference

#include <STLExtras.h>

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
const UnaryFunc & getFunc () const
 mapped_iterator (const RootIt &I, UnaryFunc F)
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 203 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 218 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 210 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 208 of file STLExtras.h.

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

Definition at line 217 of file STLExtras.h.

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

Definition at line 213 of file STLExtras.h.

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

Definition at line 215 of file STLExtras.h.

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

Definition at line 211 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 223 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 220 of file STLExtras.h.

Referenced by llvm::operator+().

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

Definition at line 221 of file STLExtras.h.

Referenced by llvm::operator+().

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

Definition at line 226 of file STLExtras.h.

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

Definition at line 234 of file STLExtras.h.

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

Definition at line 230 of file STLExtras.h.

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

Definition at line 232 of file STLExtras.h.

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

Definition at line 237 of file STLExtras.h.

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

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

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

Definition at line 231 of file STLExtras.h.

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

Definition at line 233 of file STLExtras.h.

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

Definition at line 241 of file STLExtras.h.

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

Definition at line 246 of file STLExtras.h.

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

Definition at line 245 of file STLExtras.h.

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


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