ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TraverseCallGraphTopDown< InheritedAttribute > Class Template Referenceabstract

#include <CallGraphTraverse.h>

Inheritance diagram for TraverseCallGraphTopDown< InheritedAttribute >:
Collaboration diagram for TraverseCallGraphTopDown< InheritedAttribute >:

Classes

class  funcRecord
 

Public Member Functions

 TraverseCallGraphTopDown (SgIncidenceDirectedGraph *graph)
 
void traverse ()
 
virtual InheritedAttribute visit (const CGFunction *func, std::list< InheritedAttribute > &fromCallers)=0
 
virtual InheritedAttribute defaultAttrVal ()
 
virtual ~TraverseCallGraphTopDown ()
 
- 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
 

Detailed Description

template<class InheritedAttribute>
class TraverseCallGraphTopDown< InheritedAttribute >

Definition at line 346 of file CallGraphTraverse.h.

Constructor & Destructor Documentation

template<class InheritedAttribute >
TraverseCallGraphTopDown< InheritedAttribute >::TraverseCallGraphTopDown ( SgIncidenceDirectedGraph graph)
template<class InheritedAttribute >
virtual TraverseCallGraphTopDown< InheritedAttribute >::~TraverseCallGraphTopDown ( )
virtual

Member Function Documentation

template<class InheritedAttribute >
void TraverseCallGraphTopDown< InheritedAttribute >::traverse ( )
template<class InheritedAttribute >
virtual InheritedAttribute TraverseCallGraphTopDown< InheritedAttribute >::visit ( const CGFunction func,
std::list< InheritedAttribute > &  fromCallers 
)
pure virtual
template<class InheritedAttribute >
virtual InheritedAttribute TraverseCallGraphTopDown< InheritedAttribute >::defaultAttrVal ( )
inlinevirtual

Definition at line 362 of file CallGraphTraverse.h.

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

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