Static Value-Flow Analysis
Loading...
Searching...
No Matches
SVF::SlicedCGChildIterImpl< Forward > Class Template Reference

#include <SlicedGraphs.h>

Public Types

using iterator_category = std::forward_iterator_tag
using value_type = SlicedCallGraphNodeRef
using difference_type = std::ptrdiff_t
using pointer = const SlicedCallGraphNodeRef*
using reference = SlicedCallGraphNodeRef

Public Member Functions

 SlicedCGChildIterImpl ()=default
 SlicedCGChildIterImpl (SlicedCGEdgeIterImpl< Forward > it)
reference operator* () const
const SlicedCallGraphEdgeRef & currentEdge () const
SlicedCGChildIterImpl & operator++ ()
SlicedCGChildIterImpl operator++ (int)

Private Attributes

SlicedCGEdgeIterImpl< Forward > e {}

Friends

bool operator== (const SlicedCGChildIterImpl &a, const SlicedCGChildIterImpl &b)
bool operator!= (const SlicedCGChildIterImpl &a, const SlicedCGChildIterImpl &b)

Detailed Description

template<bool Forward>
class SVF::SlicedCGChildIterImpl< Forward >

Definition at line 764 of file SlicedGraphs.h.

Member Typedef Documentation

◆ difference_type

template<bool Forward>
using SVF::SlicedCGChildIterImpl< Forward >::difference_type = std::ptrdiff_t

Definition at line 769 of file SlicedGraphs.h.

◆ iterator_category

template<bool Forward>
using SVF::SlicedCGChildIterImpl< Forward >::iterator_category = std::forward_iterator_tag

Definition at line 767 of file SlicedGraphs.h.

◆ pointer

template<bool Forward>
using SVF::SlicedCGChildIterImpl< Forward >::pointer = const SlicedCallGraphNodeRef*

Definition at line 770 of file SlicedGraphs.h.

◆ reference

template<bool Forward>
using SVF::SlicedCGChildIterImpl< Forward >::reference = SlicedCallGraphNodeRef

Definition at line 771 of file SlicedGraphs.h.

◆ value_type

template<bool Forward>
using SVF::SlicedCGChildIterImpl< Forward >::value_type = SlicedCallGraphNodeRef

Definition at line 768 of file SlicedGraphs.h.

Constructor & Destructor Documentation

◆ SlicedCGChildIterImpl() [1/2]

template<bool Forward>
SVF::SlicedCGChildIterImpl< Forward >::SlicedCGChildIterImpl ( )
default

◆ SlicedCGChildIterImpl() [2/2]

template<bool Forward>
SVF::SlicedCGChildIterImpl< Forward >::SlicedCGChildIterImpl ( SlicedCGEdgeIterImpl< Forward > it)
inlineexplicit

Definition at line 774 of file SlicedGraphs.h.

774: e(it) {}
SlicedCGEdgeIterImpl< Forward > e

Member Function Documentation

◆ currentEdge()

template<bool Forward>
const SlicedCallGraphEdgeRef & SVF::SlicedCGChildIterImpl< Forward >::currentEdge ( ) const
inline

Definition at line 780 of file SlicedGraphs.h.

781 {
782 return *e;
783 }

◆ operator*()

template<bool Forward>
reference SVF::SlicedCGChildIterImpl< Forward >::operator* ( ) const
inline

Definition at line 776 of file SlicedGraphs.h.

777 {
778 return e.target();
779 }

◆ operator++() [1/2]

template<bool Forward>
SlicedCGChildIterImpl & SVF::SlicedCGChildIterImpl< Forward >::operator++ ( )
inline

Definition at line 784 of file SlicedGraphs.h.

785 {
786 ++e;
787 return *this;
788 }

◆ operator++() [2/2]

template<bool Forward>
SlicedCGChildIterImpl SVF::SlicedCGChildIterImpl< Forward >::operator++ ( int )
inline

Definition at line 789 of file SlicedGraphs.h.

790 {
791 SlicedCGChildIterImpl t = *this;
792 ++e;
793 return t;
794 }

◆ operator!=

template<bool Forward>
bool operator!= ( const SlicedCGChildIterImpl< Forward > & a,
const SlicedCGChildIterImpl< Forward > & b )
friend

Definition at line 799 of file SlicedGraphs.h.

800 {
801 return !(a == b);
802 }

◆ operator==

template<bool Forward>
bool operator== ( const SlicedCGChildIterImpl< Forward > & a,
const SlicedCGChildIterImpl< Forward > & b )
friend

Definition at line 795 of file SlicedGraphs.h.

796 {
797 return a.e == b.e;
798 }

Member Data Documentation

◆ e

template<bool Forward>
SlicedCGEdgeIterImpl<Forward> SVF::SlicedCGChildIterImpl< Forward >::e {}
private

Definition at line 805 of file SlicedGraphs.h.

805{};

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