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

Member Typedef Documentation

◆ difference_type

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

Definition at line 565 of file SlicedGraphs.h.

◆ iterator_category

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

Definition at line 563 of file SlicedGraphs.h.

◆ pointer

Definition at line 566 of file SlicedGraphs.h.

◆ reference

Definition at line 567 of file SlicedGraphs.h.

◆ value_type

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

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

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

Member Function Documentation

◆ currentEdge()

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

Definition at line 576 of file SlicedGraphs.h.

577 {
578 return *e;
579 }

◆ operator*()

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

Definition at line 572 of file SlicedGraphs.h.

573 {
574 return e.target();
575 }

◆ operator++() [1/2]

Definition at line 581 of file SlicedGraphs.h.

582 {
583 ++e;
584 return *this;
585 }

◆ operator++() [2/2]

Definition at line 586 of file SlicedGraphs.h.

587 {
588 SlicedICFGChildIterImpl t = *this;
589 ++e;
590 return t;
591 }

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 597 of file SlicedGraphs.h.

598 {
599 return !(a == b);
600 }
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 593 of file SlicedGraphs.h.

594 {
595 return a.e == b.e;
596 }

Member Data Documentation

◆ e

Definition at line 603 of file SlicedGraphs.h.

603{};

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