ROSE 0.11.145.192
Classes | Public Member Functions | Protected Member Functions | List of all members
TraverseCallGraphTopDown< InheritedAttribute > Class Template Referenceabstract

Description

template<class InheritedAttribute>
class TraverseCallGraphTopDown< InheritedAttribute >

Definition at line 339 of file CallGraphTraverse.h.

Inheritance diagram for TraverseCallGraphTopDown< InheritedAttribute >:
Inheritance graph
[legend]
Collaboration diagram for TraverseCallGraphTopDown< InheritedAttribute >:
Collaboration graph
[legend]

Public Member Functions

 TraverseCallGraphTopDown (SgIncidenceDirectedGraph *graph)
 
void traverse ()
 
virtual InheritedAttribute visit (const CGFunction *func, std::list< InheritedAttribute > &fromCallers)=0
 
virtual InheritedAttribute defaultAttrVal ()
 
- Public Member Functions inherited from TraverseCallGraph
 TraverseCallGraph (SgIncidenceDirectedGraph *graph)
 
const CGFunctiongetFunc (SgFunctionDeclaration *decl)
 
const CGFunctiongetFunc (const Function &func)
 

Protected Member Functions

void traverse_rec (const CGFunction *fd, std::map< const CGFunction *, funcRecord > &visitRecords, std::set< std::pair< const CGFunction *, const CGFunction * > > &touchedEdges, InheritedAttribute &fromCaller)
 

Additional Inherited Members

- Protected Attributes inherited from TraverseCallGraph
SgIncidenceDirectedGraphgraph
 
std::set< CGFunctionfunctions
 
std::map< const CGFunction *, int > numCallers
 
std::set< const CGFunction * > noPred
 

Member Function Documentation

◆ defaultAttrVal()

template<class InheritedAttribute >
virtual InheritedAttribute TraverseCallGraphTopDown< InheritedAttribute >::defaultAttrVal ( )
inlinevirtual

Definition at line 355 of file CallGraphTraverse.h.


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