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

#include <iterator.h>

Inheritance diagram for SVF::pointer_iterator< WrappedIteratorT, T >:
SVF::iter_adaptor_base< DerivedT, WrappedIteratorT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT > SVF::iter_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >

Public Member Functions

 pointer_iterator ()=default
 
 pointer_iterator (WrappedIteratorT u)
 
Toperator* ()
 
const Toperator* () 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

T Ptr
 

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 WrappedIteratorT, typename T = decltype(&*std::declval<WrappedIteratorT>())>
class SVF::pointer_iterator< WrappedIteratorT, T >

Definition at line 364 of file iterator.h.

Constructor & Destructor Documentation

◆ pointer_iterator() [1/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
SVF::pointer_iterator< WrappedIteratorT, T >::pointer_iterator ( )
default

◆ pointer_iterator() [2/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
SVF::pointer_iterator< WrappedIteratorT, T >::pointer_iterator ( WrappedIteratorT  u)
inlineexplicit

Definition at line 375 of file iterator.h.

llvm::IRBuilder IRBuilder
Definition BasicTypes.h:74

Member Function Documentation

◆ operator*() [1/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
T & SVF::pointer_iterator< WrappedIteratorT, T >::operator* ( )
inline

Definition at line 378 of file iterator.h.

379 {
380 return Ptr = &*this->I;
381 }
WrappedIteratorT I
Definition iterator.h:242

◆ operator*() [2/2]

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
const T & SVF::pointer_iterator< WrappedIteratorT, T >::operator* ( ) const
inline

Definition at line 382 of file iterator.h.

383 {
384 return Ptr = &*this->I;
385 }

Member Data Documentation

◆ Ptr

template<typename WrappedIteratorT , typename T = decltype(&*std::declval<WrappedIteratorT>())>
T SVF::pointer_iterator< WrappedIteratorT, T >::Ptr
mutableprivate

Definition at line 370 of file iterator.h.


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