Imported Upstream version 1.49.0
[platform/upstream/boost.git] / libs / spirit / example / scheme / output / generate_sexpr.hpp
1 //  Copyright (c) 2001-2010 Hartmut Kaiser, Bryce Lelbach
2 //
3 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #if !defined(SCHEME_OUTPUT_GENERATE_SEXPR_MAR_29_2010_1210PM)
7 #define SCHEME_OUTPUT_GENERATE_SEXPR_MAR_29_2010_1210PM
8
9 #include <output/sexpr.hpp>
10
11 namespace scheme { namespace output
12 {
13     ///////////////////////////////////////////////////////////////////////////
14     template <typename Char>
15     bool generate_sexpr(std::basic_ostream<Char>& os, utree const& tree);
16
17     ///////////////////////////////////////////////////////////////////////////
18     template <typename Char>
19     bool generate_sexpr_list(std::basic_ostream<Char>& os, utree const& tree);
20
21     ///////////////////////////////////////////////////////////////////////////
22     template <typename Char>
23     bool generate_sexpr(std::basic_string<Char>& str, utree const& tree);
24
25     ///////////////////////////////////////////////////////////////////////////
26     template <typename Char>
27     bool generate_sexpr_list(std::basic_string<Char>& str, utree const& tree);
28 }}
29
30 #endif
31
32