Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
SVF::mapped_iter< ItTy, FuncTy, FuncReturnTy > Class Template Reference

#include <GenericGraph.h>

Inheritance diagram for SVF::mapped_iter< ItTy, FuncTy, FuncReturnTy >:
SVF::iter_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT > SVF::iter_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >

Public Member Functions

 mapped_iter (ItTy U, FuncTy F)
 
ItTy getCurrent ()
 
FuncReturnTy operator* () const
 
- Public Member Functions inherited from SVF::iter_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedToperator+= (difference_type n)
 
DerivedToperator-= (difference_type n)
 
difference_type operator- (const DerivedT &RHS) const
 
DerivedToperator++ ()
 
DerivedToperator-- ()
 
ReferenceT operator* () const
 
- Public Member Functions inherited from SVF::iter_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT operator+ (DifferenceTypeT n) const
 
DerivedT operator- (DifferenceTypeT n) const
 
DerivedToperator++ ()
 
DerivedT operator++ (int)
 
DerivedToperator-- ()
 
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
 
PointerT operator-> ()
 
PointerT operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n)
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Private Attributes

FuncTy F
 

Additional Inherited Members

- Public Types inherited from SVF::iter_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using difference_type = DifferenceTypeT
 
- Public Types inherited from SVF::iter_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 SVF::iter_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess , IsBidirectional }
 
- Protected Member Functions inherited from SVF::iter_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
 iter_adaptor_base ()=default
 
 iter_adaptor_base (WrappedIteratorT u)
 
const WrappedIteratorTwrapped () const
 
- Protected Attributes inherited from SVF::iter_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
WrappedIteratorT I
 

Detailed Description

template<typename ItTy, typename FuncTy, typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
class SVF::mapped_iter< ItTy, FuncTy, FuncReturnTy >

Definition at line 722 of file GenericGraph.h.

Constructor & Destructor Documentation

◆ mapped_iter()

template<typename ItTy , typename FuncTy , typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
SVF::mapped_iter< ItTy, FuncTy, FuncReturnTy >::mapped_iter ( ItTy  U,
FuncTy  F 
)
inline

Definition at line 729 of file GenericGraph.h.

730 : mapped_iter::iter_adaptor_base(std::move(U)), F(std::move(F)) {}
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74

Member Function Documentation

◆ getCurrent()

template<typename ItTy , typename FuncTy , typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
ItTy SVF::mapped_iter< ItTy, FuncTy, FuncReturnTy >::getCurrent ( )
inline

Definition at line 732 of file GenericGraph.h.

733 {
734 return this->I;
735 }
WrappedIteratorT I
Definition iterator.h:242

◆ operator*()

template<typename ItTy , typename FuncTy , typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
FuncReturnTy SVF::mapped_iter< ItTy, FuncTy, FuncReturnTy >::operator* ( ) const
inline

Definition at line 737 of file GenericGraph.h.

738 {
739 return F(*this->I);
740 }

Member Data Documentation

◆ F

template<typename ItTy , typename FuncTy , typename FuncReturnTy = decltype(std::declval<FuncTy>()(*std::declval<ItTy>()))>
FuncTy SVF::mapped_iter< ItTy, FuncTy, FuncReturnTy >::F
private

Definition at line 743 of file GenericGraph.h.


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