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 780 of file SlicedGraphs.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 785 of file SlicedGraphs.h.

◆ iterator_category

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

Definition at line 783 of file SlicedGraphs.h.

◆ pointer

Definition at line 786 of file SlicedGraphs.h.

◆ reference

Definition at line 787 of file SlicedGraphs.h.

◆ value_type

Definition at line 784 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 790 of file SlicedGraphs.h.

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

Member Function Documentation

◆ currentEdge()

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

Definition at line 796 of file SlicedGraphs.h.

797 {
798 return *e;
799 }

◆ operator*()

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

Definition at line 792 of file SlicedGraphs.h.

793 {
794 return e.target();
795 }

◆ operator++() [1/2]

Definition at line 800 of file SlicedGraphs.h.

801 {
802 ++e;
803 return *this;
804 }

◆ operator++() [2/2]

Definition at line 805 of file SlicedGraphs.h.

806 {
807 SlicedCGChildIterImpl t = *this;
808 ++e;
809 return t;
810 }

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 815 of file SlicedGraphs.h.

816 {
817 return !(a == b);
818 }
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 811 of file SlicedGraphs.h.

812 {
813 return a.e == b.e;
814 }

Member Data Documentation

◆ e

Definition at line 821 of file SlicedGraphs.h.

821{};

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