Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
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 SlicedCallGraphEdgeRefcurrentEdge () const
 
SlicedCGChildIterImploperator++ ()
 
SlicedCGChildIterImpl operator++ (int)
 

Private Attributes

SlicedCGEdgeIterImpl< Forwarde {}
 

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

Definition at line 770 of file SlicedGraphs.h.

◆ reference

Definition at line 771 of file SlicedGraphs.h.

◆ value_type

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]

Definition at line 784 of file SlicedGraphs.h.

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

◆ operator++() [2/2]

Definition at line 789 of file SlicedGraphs.h.

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

Friends And Related Symbol Documentation

◆ 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 }
cJSON * a
Definition cJSON.cpp:2560
const cJSON *const b
Definition cJSON.h:255

◆ 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

Definition at line 805 of file SlicedGraphs.h.

805{};

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