]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/doc/src/docutils/tools/support_status/text_outputter.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / geometry / doc / src / docutils / tools / support_status / text_outputter.hpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2 // Tool reporting Implementation Support Status in QBK or plain text format
3
4 // Copyright (c) 2011-2012 Bruno Lalande, Paris, France.
5 // Copyright (c) 2011-2012 Barend Gehrels, Amsterdam, the Netherlands.
6
7 // Use, modification and distribution is subject to the Boost Software License,
8 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
10
11 #ifndef BOOST_GEOMETRY_SUPPORT_STATUS_TEXT_OUTPUTTER_HPP
12 #define BOOST_GEOMETRY_SUPPORT_STATUS_TEXT_OUTPUTTER_HPP
13
14
15 struct text_outputter
16 {
17 explicit text_outputter(const std::string&) {}
18
19 static inline void ok() { std::cout << "OK\t"; }
20 static inline void nyi() { std::cout << "-\t"; }
21 static inline void header(std::string const& algo) { std::cout << algo << std::endl; }
22
23 template <typename T>
24 static inline void table_header() { }
25 static inline void table_header() { }
26
27 static inline void table_footer() { std::cout << std::endl; }
28
29 template <typename G>
30 static inline void begin_row() {}
31
32 static inline void end_row() { std::cout << std::endl; }
33
34 };
35
36 #endif // BOOST_GEOMETRY_SUPPORT_STATUS_TEXT_OUTPUTTER_HPP