1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/graph/graph_selectors.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,36 @@
1.4 +//=======================================================================
1.5 +// Copyright 2002 Indiana University.
1.6 +// Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
1.7 +//
1.8 +// Distributed under the Boost Software License, Version 1.0. (See
1.9 +// accompanying file LICENSE_1_0.txt or copy at
1.10 +// http://www.boost.org/LICENSE_1_0.txt)
1.11 +//=======================================================================
1.12 +
1.13 +#ifndef BOOST_GRAPH_SELECTORS_HPP
1.14 +#define BOOST_GRAPH_SELECTORS_HPP
1.15 +
1.16 +namespace boost {
1.17 +
1.18 + //===========================================================================
1.19 + // Selectors for the Directed template parameter of adjacency_list
1.20 + // and adjacency_matrix.
1.21 +
1.22 + struct directedS { enum { is_directed = true, is_bidir = false };
1.23 + typedef true_type is_directed_t;
1.24 + typedef false_type is_bidir_t;
1.25 + };
1.26 + struct undirectedS {
1.27 + enum { is_directed = false, is_bidir = false };
1.28 + typedef false_type is_directed_t;
1.29 + typedef false_type is_bidir_t;
1.30 + };
1.31 + struct bidirectionalS {
1.32 + enum { is_directed = true, is_bidir = true };
1.33 + typedef true_type is_directed_t;
1.34 + typedef true_type is_bidir_t;
1.35 + };
1.36 +
1.37 +} // namespace boost
1.38 +
1.39 +#endif // BOOST_GRAPH_SELECTORS_HPP