root/sandbox/orkney/edge_visitors.hpp

Revision 82, 1.6 KB (checked in by anton, 3 years ago)
Line 
1/*
2 * Copyright (c) 2007 Anton A. Patrushev, Orkney, Inc.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 *
18 */
19 
20#ifndef EDGE_VISITORS_HPP
21#define EDGE_VISITORS_HPP
22
23#include <iosfwd>
24#include <boost/config.hpp>
25#include <boost/property_map.hpp>
26#include <boost/graph/graph_traits.hpp>
27#include <boost/limits.hpp>
28#include <boost/graph/detail/is_same.hpp>
29
30namespace boost
31{
32
33  //========================================================================
34  // Event Tags
35
36  namespace detail
37  {
38    // For partial specialization workaround
39    enum event_edge_visitor_enum
40    {
41      on_initialize_edge_num, on_start_edge_num,
42      on_discover_edge_num, on_finish_edge_num
43    };
44  }
45                                                           
46  struct on_initialize_edge { enum { num = detail::on_initialize_edge_num }; };
47  struct on_start_edge { enum { num = detail::on_start_edge_num }; };
48  struct on_discover_edge { enum { num = detail::on_discover_edge_num }; };
49  struct on_finish_edge { enum { num = detail::on_finish_edge_num }; };
50
51}
52
53#endif
Note: See TracBrowser for help on using the browser.