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

 SlicedICFGNodeIter ()=default
 
 SlicedICFGNodeIter (const SlicedICFGView *v, OrderedSet< const ICFGNode * >::const_iterator i)
 
reference operator* () const
 
SlicedICFGNodeIteroperator++ ()
 
SlicedICFGNodeIter operator++ (int)
 

Private Attributes

const SlicedICFGViewview = nullptr
 
OrderedSet< constICFGNode * >::const_iterator it {}
 

Friends

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

Detailed Description

Definition at line 623 of file SlicedGraphs.h.

Member Typedef Documentation

◆ difference_type

Definition at line 628 of file SlicedGraphs.h.

◆ iterator_category

Definition at line 626 of file SlicedGraphs.h.

◆ pointer

Definition at line 629 of file SlicedGraphs.h.

◆ reference

Definition at line 630 of file SlicedGraphs.h.

◆ value_type

Definition at line 627 of file SlicedGraphs.h.

Constructor & Destructor Documentation

◆ SlicedICFGNodeIter() [1/2]

SVF::SlicedICFGNodeIter::SlicedICFGNodeIter ( )
default

◆ SlicedICFGNodeIter() [2/2]

SVF::SlicedICFGNodeIter::SlicedICFGNodeIter ( const SlicedICFGView v,
OrderedSet< const ICFGNode * >::const_iterator  i 
)
inline

Definition at line 633 of file SlicedGraphs.h.

634 : view(v), it(i) {}
OrderedSet< constICFGNode * >::const_iterator it
const SlicedICFGView * view
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76

Member Function Documentation

◆ operator*()

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

Definition at line 636 of file SlicedGraphs.h.

637 {
638 return SlicedICFGNodeRef{view, *it};
639 }
SlicedNodeRef< SlicedICFGView, ICFGNode > SlicedICFGNodeRef

◆ operator++() [1/2]

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

Definition at line 640 of file SlicedGraphs.h.

641 {
642 ++it;
643 return *this;
644 }

◆ operator++() [2/2]

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

Definition at line 645 of file SlicedGraphs.h.

646 {
647 SlicedICFGNodeIter t = *this;
648 ++it;
649 return t;
650 }

Friends And Related Symbol Documentation

◆ operator!=

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

Definition at line 656 of file SlicedGraphs.h.

657 {
658 return !(a == b);
659 }
cJSON * a
Definition cJSON.cpp:2560
const cJSON *const b
Definition cJSON.h:255

◆ operator==

Definition at line 652 of file SlicedGraphs.h.

653 {
654 return a.it == b.it;
655 }

Member Data Documentation

◆ it

OrderedSet<constICFGNode*>::const_iterator SVF::SlicedICFGNodeIter::it {}
private

Definition at line 663 of file SlicedGraphs.h.

663{};

◆ view

const SlicedICFGView* SVF::SlicedICFGNodeIter::view = nullptr
private

Definition at line 662 of file SlicedGraphs.h.


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