ROSE 0.11.145.192
Public Types | Public Member Functions | Protected Attributes | List of all members
CGFunction::iterator Class Reference

Description

Definition at line 109 of file CallGraphTraverse.h.

Collaboration diagram for CGFunction::iterator:
Collaboration graph
[legend]

Public Types

enum  direction {
  fw =0 ,
  bw =1
}
 

Public Member Functions

 iterator (const CGFunction *const func, direction dir)
 
const CGFunctiongetTarget (std::set< CGFunction > &functions)
 
Function getTarget ()
 
void operator++ (int)
 
void advanceToNextValidPoint ()
 
bool operator== (const iterator &that)
 
bool operator!= (const iterator &that)
 

Protected Attributes

direction dir
 
std::set< SgGraphNode * >::iterator itn
 
std::set< SgDirectedGraphEdge * > edges
 
std::set< SgDirectedGraphEdge * >::iterator ite
 
std::set< SgGraphNode * > visitedCGNodes
 
const CGFunctionfunc
 
bool finished
 

Member Enumeration Documentation

◆ direction

enum CGFunction::iterator::direction

Definition at line 119 of file CallGraphTraverse.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

CGFunction::iterator::iterator ( )
inline

Definition at line 137 of file CallGraphTraverse.h.

◆ iterator() [2/2]

CGFunction::iterator::iterator ( const CGFunction *const  func,
direction  dir 
)
inline

Definition at line 142 of file CallGraphTraverse.h.

Member Function Documentation

◆ getTarget() [1/2]

const CGFunction * CGFunction::iterator::getTarget ( std::set< CGFunction > &  functions)
inline

Definition at line 159 of file CallGraphTraverse.h.

◆ getTarget() [2/2]

Function CGFunction::iterator::getTarget ( )
inline

Definition at line 186 of file CallGraphTraverse.h.

◆ operator++()

void CGFunction::iterator::operator++ ( int  )
inline

Definition at line 195 of file CallGraphTraverse.h.

◆ advanceToNextValidPoint()

void CGFunction::iterator::advanceToNextValidPoint ( )
inline

Definition at line 204 of file CallGraphTraverse.h.

◆ operator==()

bool CGFunction::iterator::operator== ( const iterator that)
inline

Definition at line 248 of file CallGraphTraverse.h.

◆ operator!=()

bool CGFunction::iterator::operator!= ( const iterator that)
inline

Definition at line 262 of file CallGraphTraverse.h.

Member Data Documentation

◆ dir

direction CGFunction::iterator::dir
protected

Definition at line 121 of file CallGraphTraverse.h.

◆ itn

std::set<SgGraphNode*>::iterator CGFunction::iterator::itn
protected

Definition at line 123 of file CallGraphTraverse.h.

◆ edges

std::set<SgDirectedGraphEdge*> CGFunction::iterator::edges
protected

Definition at line 124 of file CallGraphTraverse.h.

◆ ite

std::set<SgDirectedGraphEdge*>::iterator CGFunction::iterator::ite
protected

Definition at line 125 of file CallGraphTraverse.h.

◆ visitedCGNodes

std::set<SgGraphNode*> CGFunction::iterator::visitedCGNodes
protected

Definition at line 129 of file CallGraphTraverse.h.

◆ func

const CGFunction* CGFunction::iterator::func
protected

Definition at line 131 of file CallGraphTraverse.h.

◆ finished

bool CGFunction::iterator::finished
protected

Definition at line 134 of file CallGraphTraverse.h.


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