ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CGFunction::iterator Class Reference

#include <CallGraphTraverse.h>

Collaboration diagram for CGFunction::iterator:

Public Types

enum  direction {
  fw =0,
  bw =1
}
 

Public Member Functions

 iterator ()
 
 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
 

Detailed Description

Definition at line 111 of file CallGraphTraverse.h.

Member Enumeration Documentation

Enumerator
fw 
bw 

Definition at line 121 of file CallGraphTraverse.h.

Constructor & Destructor Documentation

CGFunction::iterator::iterator ( )
inline

Definition at line 139 of file CallGraphTraverse.h.

References finished.

Member Function Documentation

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

Definition at line 197 of file CallGraphTraverse.h.

References advanceToNextValidPoint(), and ite.

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

Definition at line 250 of file CallGraphTraverse.h.

References dir, edges, finished, func, ite, and itn.

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

Definition at line 264 of file CallGraphTraverse.h.

Member Data Documentation

direction CGFunction::iterator::dir
protected

Definition at line 123 of file CallGraphTraverse.h.

Referenced by advanceToNextValidPoint(), getTarget(), iterator(), and operator==().

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

Definition at line 125 of file CallGraphTraverse.h.

Referenced by advanceToNextValidPoint(), iterator(), and operator==().

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

Definition at line 126 of file CallGraphTraverse.h.

Referenced by advanceToNextValidPoint(), iterator(), and operator==().

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

Definition at line 127 of file CallGraphTraverse.h.

Referenced by advanceToNextValidPoint(), iterator(), operator++(), and operator==().

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

Definition at line 131 of file CallGraphTraverse.h.

Referenced by advanceToNextValidPoint().

const CGFunction* CGFunction::iterator::func
protected

Definition at line 133 of file CallGraphTraverse.h.

Referenced by advanceToNextValidPoint(), iterator(), and operator==().

bool CGFunction::iterator::finished
protected

Definition at line 136 of file CallGraphTraverse.h.

Referenced by advanceToNextValidPoint(), iterator(), and operator==().


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