Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | Friends | List of all members
SVF::SlicedCGNodeIter Class 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

 SlicedCGNodeIter ()=default
 
 SlicedCGNodeIter (const SlicedThreadCallGraphView *v, OrderedSet< const CallGraphNode * >::const_iterator i)
 
reference operator* () const
 
SlicedCGNodeIteroperator++ ()
 
SlicedCGNodeIter operator++ (int)
 

Private Attributes

const SlicedThreadCallGraphViewview = nullptr
 
OrderedSet< constCallGraphNode * >::const_iterator it {}
 

Friends

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

Detailed Description

Definition at line 824 of file SlicedGraphs.h.

Member Typedef Documentation

◆ difference_type

Definition at line 829 of file SlicedGraphs.h.

◆ iterator_category

using SVF::SlicedCGNodeIter::iterator_category = std::forward_iterator_tag

Definition at line 827 of file SlicedGraphs.h.

◆ pointer

Definition at line 830 of file SlicedGraphs.h.

◆ reference

Definition at line 831 of file SlicedGraphs.h.

◆ value_type

Definition at line 828 of file SlicedGraphs.h.

Constructor & Destructor Documentation

◆ SlicedCGNodeIter() [1/2]

SVF::SlicedCGNodeIter::SlicedCGNodeIter ( )
default

◆ SlicedCGNodeIter() [2/2]

SVF::SlicedCGNodeIter::SlicedCGNodeIter ( const SlicedThreadCallGraphView v,
OrderedSet< const CallGraphNode * >::const_iterator  i 
)
inline

Definition at line 834 of file SlicedGraphs.h.

835 : view(v), it(i) {}
OrderedSet< constCallGraphNode * >::const_iterator it
const SlicedThreadCallGraphView * view
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76

Member Function Documentation

◆ operator*()

reference SVF::SlicedCGNodeIter::operator* ( ) const
inline

Definition at line 837 of file SlicedGraphs.h.

838 {
840 }
SlicedNodeRef< SlicedThreadCallGraphView, CallGraphNode > SlicedCallGraphNodeRef

◆ operator++() [1/2]

SlicedCGNodeIter & SVF::SlicedCGNodeIter::operator++ ( )
inline

Definition at line 841 of file SlicedGraphs.h.

842 {
843 ++it;
844 return *this;
845 }

◆ operator++() [2/2]

SlicedCGNodeIter SVF::SlicedCGNodeIter::operator++ ( int  )
inline

Definition at line 846 of file SlicedGraphs.h.

847 {
848 SlicedCGNodeIter t = *this;
849 ++it;
850 return t;
851 }
SlicedCGNodeIter()=default

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const SlicedCGNodeIter a,
const SlicedCGNodeIter b 
)
friend

Definition at line 856 of file SlicedGraphs.h.

857 {
858 return !(a == b);
859 }
cJSON * a
Definition cJSON.cpp:2560
const cJSON *const b
Definition cJSON.h:255

◆ operator==

Definition at line 852 of file SlicedGraphs.h.

853 {
854 return a.it == b.it;
855 }

Member Data Documentation

◆ it

OrderedSet<constCallGraphNode*>::const_iterator SVF::SlicedCGNodeIter::it {}
private

Definition at line 863 of file SlicedGraphs.h.

863{};

◆ view

const SlicedThreadCallGraphView* SVF::SlicedCGNodeIter::view = nullptr
private

Definition at line 862 of file SlicedGraphs.h.


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