ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SgGraphTemplate.h File Reference
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/astar_search.hpp>
#include <staticCFG.h>
#include <interproceduralCFG.h>
#include <rose.h>
Include dependency graph for SgGraphTemplate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Vertex
 
struct  Edge
 

Typedefs

typedef boost::adjacency_list
< boost::vecS, boost::vecS,
boost::bidirectionalS, Vertex,
Edge
myGraph
 
typedef myGraph::vertex_descriptor VertexID
 
typedef myGraph::edge_descriptor EdgeID
 

Functions

std::pair< std::vector
< SgGraphNode * >, std::vector
< SgDirectedGraphEdge * > > 
getAllNodesAndEdges (SgIncidenceDirectedGraph *g, SgGraphNode *start)
 
myGraphinstantiateGraph (SgIncidenceDirectedGraph *&g, StaticCFG::InterproceduralCFG &cfg, SgNode *pstart)
 
myGraphinstantiateGraph (SgIncidenceDirectedGraph *&g, StaticCFG::CFG &cfg)
 

Variables

std::map< VertexID, SgGraphNode * > getGraphNode
 
std::map< SgGraphNode *, VertexIDVSlink
 

Typedef Documentation

typedef boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, Vertex, Edge> myGraph

Definition at line 22 of file SgGraphTemplate.h.

typedef myGraph::vertex_descriptor VertexID

Definition at line 24 of file SgGraphTemplate.h.

typedef myGraph::edge_descriptor EdgeID

Definition at line 25 of file SgGraphTemplate.h.

Function Documentation

std::pair< std::vector< SgGraphNode * >, std::vector< SgDirectedGraphEdge * > > getAllNodesAndEdges ( SgIncidenceDirectedGraph g,
SgGraphNode start 
)

Variable Documentation

std::map<VertexID, SgGraphNode*> getGraphNode

Definition at line 29 of file SgGraphTemplate.h.

Referenced by instantiateGraph().

std::map<SgGraphNode*, VertexID> VSlink

Definition at line 30 of file SgGraphTemplate.h.

Referenced by instantiateGraph().