• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2008-2010 Gordon Woodhull
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4 
5 #ifndef BOOST_MSM_MPL_GRAPH_INCIDENCE_LIST_GRAPH_HPP_INCLUDED
6 #define BOOST_MSM_MPL_GRAPH_INCIDENCE_LIST_GRAPH_HPP_INCLUDED
7 
8 // graph implementation based on a an mpl sequence of sequences <Edge,Source,Target>
9 
10 // incidence_list_graph labels such a sequence as manipulable by the metafunctions
11 // in the corresponding implementation header detail/incidence_list_graph.ipp
12 // to produce the metadata structures needed by mpl_graph.hpp
13 
14 // the public interface
15 #include <boost/msm/mpl_graph/mpl_graph.hpp>
16 
17 // the implementation
18 #include <boost/msm/mpl_graph/detail/incidence_list_graph.ipp>
19 
20 namespace boost {
21 namespace msm {
22 namespace mpl_graph {
23 
24 template<typename EdgeSequence>
25 struct incidence_list_graph {
26     typedef detail::incidence_list_tag representation;
27     typedef EdgeSequence data;
28 };
29 
30 }
31 }
32 }
33 
34 #endif // BOOST_MSM_MPL_GRAPH_INCIDENCE_LIST_GRAPH_HPP_INCLUDED
35