epoc32/include/stdapis/boost/graph/graph_selectors.hpp
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 //=======================================================================
     2 // Copyright 2002 Indiana University.
     3 // Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek
     4 //
     5 // Distributed under the Boost Software License, Version 1.0. (See
     6 // accompanying file LICENSE_1_0.txt or copy at
     7 // http://www.boost.org/LICENSE_1_0.txt)
     8 //=======================================================================
     9 
    10 #ifndef BOOST_GRAPH_SELECTORS_HPP
    11 #define BOOST_GRAPH_SELECTORS_HPP
    12 
    13 namespace boost {
    14 
    15   //===========================================================================
    16   // Selectors for the Directed template parameter of adjacency_list
    17   // and adjacency_matrix.
    18 
    19   struct directedS { enum { is_directed = true, is_bidir = false }; 
    20     typedef true_type is_directed_t; 
    21     typedef false_type is_bidir_t;
    22   };
    23   struct undirectedS { 
    24     enum { is_directed = false, is_bidir = false }; 
    25     typedef false_type is_directed_t;
    26     typedef false_type is_bidir_t;
    27   };
    28   struct bidirectionalS { 
    29     enum { is_directed = true, is_bidir = true }; 
    30     typedef true_type is_directed_t;
    31     typedef true_type is_bidir_t;
    32   };
    33 
    34 } // namespace boost
    35 
    36 #endif // BOOST_GRAPH_SELECTORS_HPP