ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqliteDatabaseGraph.h File Reference
#include <cstring>
#include <algorithm>
#include "boost/graph/adjacency_list.hpp"
#include "boost/graph/topological_sort.hpp"
#include "boost/graph/exception.hpp"
#include <boost/graph/graphviz.hpp>
#include <rose.h>
#include "sqlite3x.h"
Include dependency graph for SqliteDatabaseGraph.h:

Go to the source code of this file.

Classes

class  dbTable
 
class  dbRow
 
class  projectsRow
 
class  cgData
 
class  cgNode
 
class  cgEdge
 
class  DatabaseGraph< VertexType, EdgeType, BoostVertexList, BoostEdgeList, BoostDirection, BoostVertexProperty, BoostEdgeProperty, BoostGraphProperty >
 graph database storage class More...
 
struct  always_true_predicate< Vertex, Graph >
 helper predicate for clearSuccessors function, always returns true More...
 

Namespaces

 boost
 

Constant Groups

 boost
 

Macros

#define GTYPE_CALLGRAPH   1
 the different graph types, used for graphdata.graphType field More...
 
#define GTYPE_CLASSHIERARCHY   2
 
#define GTYPE_TESTGRAPH   3
 
#define GTYPE_SIMPLECALLGRAPH   4
 
#define GTYPE_USERDEFINED   100
 
#define PROJECTSTBL   "projects"
 
#define GRAPHDATATBL   "graphData"
 
#define GRAPHNODETBL   "graphNode"
 
#define GRAPHEDGETBL   "graphEdge"
 
#define DBG_TEMPLATE_DEF
 
#define DBG_TEMPLATE_CLASSES   VertexType, EdgeType, BoostVertexList, BoostEdgeList, BoostDirection, BoostVertexProperty, BoostEdgeProperty, BoostGraphProperty
 

Enumerations

enum  boost::vertex_dbg_data_t { boost::vertex_dbg_data }
 
enum  boost::edge_dbg_data_t { boost::edge_dbg_data }
 
enum  boost::graph_dbg_data_t { boost::graph_dbg_data }
 

Functions

bool define_schema (sqlite3x::sqlite3_connection &gDB)
 
 boost::BOOST_INSTALL_PROPERTY (vertex, dbg_data)
 
 boost::BOOST_INSTALL_PROPERTY (edge, dbg_data)
 
 boost::BOOST_INSTALL_PROPERTY (graph, dbg_data)
 
template<typename Vertex , typename Graph >
always_true_predicate< Vertex,
Graph > 
always_true_pred (Vertex u, const Graph &g)
 

Macro Definition Documentation

#define GTYPE_CALLGRAPH   1

the different graph types, used for graphdata.graphType field

Definition at line 26 of file SqliteDatabaseGraph.h.

#define GTYPE_CLASSHIERARCHY   2

Definition at line 27 of file SqliteDatabaseGraph.h.

#define GTYPE_TESTGRAPH   3

Definition at line 28 of file SqliteDatabaseGraph.h.

#define GTYPE_SIMPLECALLGRAPH   4

Definition at line 29 of file SqliteDatabaseGraph.h.

#define GTYPE_USERDEFINED   100

Definition at line 30 of file SqliteDatabaseGraph.h.

#define PROJECTSTBL   "projects"

Definition at line 36 of file SqliteDatabaseGraph.h.

Referenced by define_schema(), and projectsRow::insert().

#define GRAPHDATATBL   "graphData"

Definition at line 37 of file SqliteDatabaseGraph.h.

Referenced by define_schema(), and cgData::insert().

#define DBG_TEMPLATE_DEF
Value:
template<class VertexType, class EdgeType,\
class BoostVertexList, class BoostEdgeList, class BoostDirection,\
class BoostVertexProperty, class BoostEdgeProperty, class BoostGraphProperty>

Definition at line 507 of file SqliteDatabaseGraph.h.

#define DBG_TEMPLATE_CLASSES   VertexType, EdgeType, BoostVertexList, BoostEdgeList, BoostDirection, BoostVertexProperty, BoostEdgeProperty, BoostGraphProperty

Definition at line 510 of file SqliteDatabaseGraph.h.

Function Documentation

bool define_schema ( sqlite3x::sqlite3_connection &  gDB)

Definition at line 343 of file SqliteDatabaseGraph.h.

References GRAPHDATATBL, GRAPHEDGETBL, GRAPHNODETBL, and PROJECTSTBL.

template<typename Vertex , typename Graph >
always_true_predicate<Vertex, Graph> always_true_pred ( Vertex  u,
const Graph &  g 
)
inline