Revision 218, 0.8 KB
(checked in by anton, 2 years ago)
|
1.03 release tag created
|
Line | |
---|
1 | #ifndef EDGE_VISITORS_HPP |
---|
2 | #define EDGE_VISITORS_HPP |
---|
3 | |
---|
4 | #include <iosfwd> |
---|
5 | #include <boost/config.hpp> |
---|
6 | #include <boost/property_map.hpp> |
---|
7 | #include <boost/graph/graph_traits.hpp> |
---|
8 | #include <boost/limits.hpp> |
---|
9 | #include <boost/graph/detail/is_same.hpp> |
---|
10 | |
---|
11 | namespace boost |
---|
12 | { |
---|
13 | // Event Tags |
---|
14 | |
---|
15 | namespace detail |
---|
16 | { |
---|
17 | // For partial specialization workaround |
---|
18 | enum event_edge_visitor_enum |
---|
19 | { |
---|
20 | on_initialize_edge_num, on_start_edge_num, |
---|
21 | on_discover_edge_num, on_finish_edge_num |
---|
22 | }; |
---|
23 | } |
---|
24 | |
---|
25 | struct on_initialize_edge { enum { num = detail::on_initialize_edge_num }; }; |
---|
26 | struct on_start_edge { enum { num = detail::on_start_edge_num }; }; |
---|
27 | struct on_discover_edge { enum { num = detail::on_discover_edge_num }; }; |
---|
28 | struct on_finish_edge { enum { num = detail::on_finish_edge_num }; }; |
---|
29 | |
---|
30 | } |
---|
31 | |
---|
32 | #endif |
---|