25#define BOOST_NO_HASH 1
27#include <boost/graph/graph_traits.hpp>
28#include <boost/graph/adjacency_list.hpp>
29#include <boost/graph/topological_sort.hpp>
33 enum vertex_properties_t { vertex_properties };
38 template<>
struct property_kind<
drizzled::vertex_properties_t>
40 typedef vertex_property_tag type;
56 explicit Vertex(
const std::string& name) :
60 Vertex(
const std::string& name,
Module *module) :
64 Vertex(
const Vertex& old) :
68 Vertex& operator=(
const Vertex& old)
74 const std::string &getName()
const
78 void setModule(
Module *module)
88typedef std::pair<std::string, std::string> ModuleEdge;
89typedef boost::adjacency_list<boost::vecS,
91 boost::bidirectionalS,
92 boost::property<boost::vertex_color_t,
93 boost::default_color_type,
94 boost::property<vertex_properties_t, Vertex> >
96typedef boost::graph_traits<VertexGraph>::vertex_descriptor VertexDesc;
97typedef std::vector<VertexDesc> VertexList;
99typedef boost::graph_traits<VertexGraph>::vertex_iterator vertex_iter;
TODO: Rename this file - func.h is stupid.