24 #define BOOST_NO_HASH 1
25 #include <boost/graph/graph_traits.hpp>
26 #include <boost/graph/adjacency_list.hpp>
27 #include <boost/graph/topological_sort.hpp>
31 enum vertex_properties_t { vertex_properties };
36 template<>
struct property_kind<
drizzled::vertex_properties_t>
38 typedef vertex_property_tag type;
54 explicit Vertex(
const std::string& name) :
72 const std::string &getName()
const
76 void setModule(
Module *module)
86 typedef std::pair<std::string, std::string> ModuleEdge;
87 typedef boost::adjacency_list<boost::vecS,
89 boost::bidirectionalS,
90 boost::property<boost::vertex_color_t,
91 boost::default_color_type,
92 boost::property<vertex_properties_t, Vertex> >
94 typedef boost::graph_traits<VertexGraph>::vertex_descriptor VertexDesc;
95 typedef std::vector<VertexDesc> VertexList;
97 typedef boost::graph_traits<VertexGraph>::vertex_iterator vertex_iter;
TODO: Rename this file - func.h is stupid.