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

#include <SlicedGraphs.h>

Public Types

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

Public Member Functions

 SlicedICFGChildIterImpl ()=default
 
 SlicedICFGChildIterImpl (SlicedICFGEdgeIterImpl< Forward > it)
 
reference operator* () const
 
const SlicedICFGEdgeRefcurrentEdge () const
 
SlicedICFGChildIterImploperator++ ()
 
SlicedICFGChildIterImpl operator++ (int)
 

Private Attributes

SlicedICFGEdgeIterImpl< Forwarde {}
 

Friends

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

Detailed Description

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

Definition at line 576 of file SlicedGraphs.h.

Member Typedef Documentation

◆ difference_type

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

Definition at line 581 of file SlicedGraphs.h.

◆ iterator_category

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

Definition at line 579 of file SlicedGraphs.h.

◆ pointer

Definition at line 582 of file SlicedGraphs.h.

◆ reference

Definition at line 583 of file SlicedGraphs.h.

◆ value_type

template<bool Forward>
using SVF::SlicedICFGChildIterImpl< Forward >::value_type = SlicedICFGNodeRef

Definition at line 580 of file SlicedGraphs.h.

Constructor & Destructor Documentation

◆ SlicedICFGChildIterImpl() [1/2]

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

◆ SlicedICFGChildIterImpl() [2/2]

template<bool Forward>
SVF::SlicedICFGChildIterImpl< Forward >::SlicedICFGChildIterImpl ( SlicedICFGEdgeIterImpl< Forward it)
inlineexplicit

Definition at line 586 of file SlicedGraphs.h.

586: e(it) {}
SlicedICFGEdgeIterImpl< Forward > e

Member Function Documentation

◆ currentEdge()

template<bool Forward>
const SlicedICFGEdgeRef & SVF::SlicedICFGChildIterImpl< Forward >::currentEdge ( ) const
inline

Definition at line 592 of file SlicedGraphs.h.

593 {
594 return *e;
595 }

◆ operator*()

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

Definition at line 588 of file SlicedGraphs.h.

589 {
590 return e.target();
591 }

◆ operator++() [1/2]

Definition at line 597 of file SlicedGraphs.h.

598 {
599 ++e;
600 return *this;
601 }

◆ operator++() [2/2]

Definition at line 602 of file SlicedGraphs.h.

603 {
604 SlicedICFGChildIterImpl t = *this;
605 ++e;
606 return t;
607 }

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 613 of file SlicedGraphs.h.

614 {
615 return !(a == b);
616 }
cJSON * a
Definition cJSON.cpp:2560
const cJSON *const b
Definition cJSON.h:255

◆ operator==

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

Definition at line 609 of file SlicedGraphs.h.

610 {
611 return a.e == b.e;
612 }

Member Data Documentation

◆ e

Definition at line 619 of file SlicedGraphs.h.

619{};

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