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

#include <CallGraph.h>

Collaboration diagram for CallGraphBuilder:

Public Member Functions

 CallGraphBuilder (SgProject *proj)
 
void buildCallGraph ()
 Default builder filtering nothing in the call graph. More...
 
template<typename Predicate >
void buildCallGraph (Predicate pred)
 Builder accepting user defined predicate to filter certain functions. More...
 
SgIncidenceDirectedGraphgetGraph ()
 Grab the call graph built. More...
 
boost::unordered_map
< SgFunctionDeclaration
*, SgGraphNode * > & 
getGraphNodesMapping ()
 

Private Types

typedef boost::unordered_map
< SgFunctionDeclaration
*, SgGraphNode * > 
GraphNodes
 

Private Attributes

SgProjectproject
 
SgIncidenceDirectedGraphgraph
 
GraphNodes graphNodes
 

Detailed Description

Definition at line 120 of file CallGraph.h.

Member Typedef Documentation

typedef boost::unordered_map<SgFunctionDeclaration*, SgGraphNode*> CallGraphBuilder::GraphNodes
private

Definition at line 140 of file CallGraph.h.

Constructor & Destructor Documentation

CallGraphBuilder::CallGraphBuilder ( SgProject proj)

Member Function Documentation

void CallGraphBuilder::buildCallGraph ( )

Default builder filtering nothing in the call graph.

SgIncidenceDirectedGraph* CallGraphBuilder::getGraph ( )

Grab the call graph built.

boost::unordered_map<SgFunctionDeclaration*, SgGraphNode*>& CallGraphBuilder::getGraphNodesMapping ( )
inline

Definition at line 134 of file CallGraph.h.

Member Data Documentation

SgProject* CallGraphBuilder::project
private

Definition at line 137 of file CallGraph.h.

Referenced by buildCallGraph().

SgIncidenceDirectedGraph* CallGraphBuilder::graph
private

Definition at line 138 of file CallGraph.h.

Referenced by buildCallGraph().

GraphNodes CallGraphBuilder::graphNodes
private

Definition at line 141 of file CallGraph.h.

Referenced by buildCallGraph().


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