LLVM 20.0.0git
Public Member Functions | List of all members
llvm::mapped_iterator< ItTy, FuncTy, ReferenceTy > Class Template Reference

#include "llvm/ADT/STLExtras.h"

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

Public Member Functions

 mapped_iterator ()=default
 
 mapped_iterator (ItTy U, FuncTy F)
 
ItTy getCurrent ()
 
const FuncTy & getFunction () const
 
ReferenceTy operator* () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT & operator+= (difference_type n)
 
DerivedT & operator-= (difference_type n)
 
difference_type operator- (const DerivedT &RHS) const
 
DerivedT & operator++ ()
 
DerivedT & operator-- ()
 
ReferenceT operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT operator+ (DifferenceTypeT n) const
 
DerivedT operator- (DifferenceTypeT n) const
 
DerivedT & operator++ ()
 
DerivedT operator++ (int)
 
DerivedT & operator-- ()
 
DerivedT operator-- (int)
 
bool operator!= (const DerivedT &RHS) const
 
bool operator> (const DerivedT &RHS) const
 
bool operator<= (const DerivedT &RHS) const
 
bool operator>= (const DerivedT &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using difference_type = DifferenceTypeT
 
- Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using iterator_category = IteratorCategoryT
 
using value_type = T
 
using difference_type = DifferenceTypeT
 
using pointer = PointerT
 
using reference = ReferenceT
 
- Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess , IsBidirectional }
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (WrappedIteratorT u)
 
const WrappedIteratorTwrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
WrappedIteratorT I
 

Detailed Description

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

Definition at line 347 of file STLExtras.h.

Constructor & Destructor Documentation

◆ mapped_iterator() [1/2]

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

◆ mapped_iterator() [2/2]

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

Definition at line 356 of file STLExtras.h.

References F.

Member Function Documentation

◆ getCurrent()

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

◆ getFunction()

template<typename ItTy , typename FuncTy , typename ReferenceTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
const FuncTy & llvm::mapped_iterator< ItTy, FuncTy, ReferenceTy >::getFunction ( ) const
inline

Definition at line 361 of file STLExtras.h.

◆ operator*()

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

Definition at line 363 of file STLExtras.h.


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