1 // Boost.Geometry 2 3 // Copyright (c) 2017, Oracle and/or its affiliates. 4 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle 5 6 // Use, modification and distribution is subject to the Boost Software License, 7 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 8 // http://www.boost.org/LICENSE_1_0.txt) 9 10 #ifndef BOOST_GEOMETRY_SRS_PROJECTIONS_ESRI_PARAMS_HPP 11 #define BOOST_GEOMETRY_SRS_PROJECTIONS_ESRI_PARAMS_HPP 12 13 14 #include <string> 15 16 #include <boost/geometry/srs/spheroid.hpp> 17 18 19 namespace boost { namespace geometry 20 { 21 22 namespace srs 23 { 24 25 26 struct esri 27 { esriboost::geometry::srs::esri28 explicit esri(int c) 29 : code(c) 30 {} 31 32 int code; 33 }; 34 35 36 template <int Code> 37 struct static_esri 38 { 39 static const int code = Code; 40 }; 41 42 43 } // namespace srs 44 45 46 }} // namespace boost::geometry 47 48 #endif // BOOST_GEOMETRY_SRS_PROJECTIONS_ESRI_PARAMS_HPP 49