1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2 //
3 // Copyright (c) 2010-2013 Barend Gehrels, Amsterdam, the Netherlands.
4 // Copyright (c) 2012-2013 Adam Wulkiewicz, Lodz, Poland.
5 //
6 // This file was modified by Oracle on 2020.
7 // Modifications copyright (c) 2020, Oracle and/or its affiliates.
8 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
9 //
10 // Use, modification and distribution is subject to the Boost Software License,
11 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
12 // http://www.boost.org/LICENSE_1_0.txt)
13 //
14 //
15 #ifndef CONFIGURATION_HPP
16 #define CONFIGURATION_HPP
17 
18 
19 #include <string>
20 #include <vector>
21 
22 
23 
24 struct configuration
25 {
26     // To transfer e.g. c:/_svn/boost/trunk/boost/geometry/algorithms/area.hpp
27     // to #include <boost/geometry/...>
28     // We need to find the position where the include path should start,
29     // so fill out "boost" here, or "boost/geometry" (it uses rfind)
30     std::string start_include;
31 
32     // Convenience headers (headefiles with solely purpose of including others
33     std::string convenience_header_path;
34     std::vector<std::string> convenience_headers;
35 
36     std::string skip_namespace;
37 
38     enum output_style_type {def, alt};
39     output_style_type output_style;
40     bool output_member_variables;
41 
42     unsigned alt_max_synopsis_length;
43 
configurationconfiguration44     configuration()
45       : output_style(def)
46       , output_member_variables(false)
47       , alt_max_synopsis_length(0)
48     {}
49 };
50 
51 
52 #endif // CONFIGURATION_HPP
53