Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
SVF::SlicedPAGChildIterImpl< Forward > Class Template Reference

#include <SlicedGraphs.h>

Public Types

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

Public Member Functions

 SlicedPAGChildIterImpl ()=default
 
 SlicedPAGChildIterImpl (SlicedPAGEdgeIterImpl< Forward > it)
 
reference operator* () const
 
const SlicedPAGEdgeRefcurrentEdge () const
 
SlicedPAGChildIterImploperator++ ()
 
SlicedPAGChildIterImpl operator++ (int)
 

Private Attributes

SlicedPAGEdgeIterImpl< Forwarde {}
 

Friends

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

Detailed Description

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

Definition at line 964 of file SlicedGraphs.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 969 of file SlicedGraphs.h.

◆ iterator_category

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

Definition at line 967 of file SlicedGraphs.h.

◆ pointer

Definition at line 970 of file SlicedGraphs.h.

◆ reference

template<bool Forward>
using SVF::SlicedPAGChildIterImpl< Forward >::reference = SlicedPAGNodeRef

Definition at line 971 of file SlicedGraphs.h.

◆ value_type

template<bool Forward>
using SVF::SlicedPAGChildIterImpl< Forward >::value_type = SlicedPAGNodeRef

Definition at line 968 of file SlicedGraphs.h.

Constructor & Destructor Documentation

◆ SlicedPAGChildIterImpl() [1/2]

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

◆ SlicedPAGChildIterImpl() [2/2]

template<bool Forward>
SVF::SlicedPAGChildIterImpl< Forward >::SlicedPAGChildIterImpl ( SlicedPAGEdgeIterImpl< Forward it)
inlineexplicit

Definition at line 974 of file SlicedGraphs.h.

974: e(it) {}
SlicedPAGEdgeIterImpl< Forward > e

Member Function Documentation

◆ currentEdge()

template<bool Forward>
const SlicedPAGEdgeRef & SVF::SlicedPAGChildIterImpl< Forward >::currentEdge ( ) const
inline

Definition at line 980 of file SlicedGraphs.h.

981 {
982 return *e;
983 }

◆ operator*()

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

Definition at line 976 of file SlicedGraphs.h.

977 {
978 return e.target();
979 }

◆ operator++() [1/2]

Definition at line 984 of file SlicedGraphs.h.

985 {
986 ++e;
987 return *this;
988 }

◆ operator++() [2/2]

Definition at line 989 of file SlicedGraphs.h.

990 {
991 SlicedPAGChildIterImpl t = *this;
992 ++e;
993 return t;
994 }

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 999 of file SlicedGraphs.h.

1000 {
1001 return !(a == b);
1002 }
cJSON * a
Definition cJSON.cpp:2560
const cJSON *const b
Definition cJSON.h:255

◆ operator==

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

Definition at line 995 of file SlicedGraphs.h.

996 {
997 return a.e == b.e;
998 }

Member Data Documentation

◆ e

Definition at line 1005 of file SlicedGraphs.h.

1005{};

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