Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:35:35

0001 // Boost.Geometry (aka GGL, Generic Geometry Library)
0002 
0003 // Copyright (c) 2007-2022 Barend Gehrels, Amsterdam, the Netherlands.
0004 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
0005 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
0006 
0007 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
0008 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
0009 
0010 // Use, modification and distribution is subject to the Boost Software License,
0011 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0012 // http://www.boost.org/LICENSE_1_0.txt)
0013 
0014 #ifndef BOOST_GEOMETRY_IO_WKT_DETAIL_PREFIX_HPP
0015 #define BOOST_GEOMETRY_IO_WKT_DETAIL_PREFIX_HPP
0016 
0017 namespace boost { namespace geometry
0018 {
0019 
0020 
0021 #ifndef DOXYGEN_NO_DETAIL
0022 namespace detail { namespace wkt
0023 {
0024 
0025 struct prefix_null
0026 {
0027     static inline const char* apply() { return ""; }
0028 };
0029 
0030 struct prefix_point
0031 {
0032     static inline const char* apply() { return "POINT"; }
0033 };
0034 
0035 struct prefix_polygon
0036 {
0037     static inline const char* apply() { return "POLYGON"; }
0038 };
0039 
0040 struct prefix_linestring
0041 {
0042     static inline const char* apply() { return "LINESTRING"; }
0043 };
0044 
0045 struct prefix_multipoint
0046 {
0047     static inline const char* apply() { return "MULTIPOINT"; }
0048 };
0049 
0050 struct prefix_multilinestring
0051 {
0052     static inline const char* apply() { return "MULTILINESTRING"; }
0053 };
0054 
0055 struct prefix_multipolygon
0056 {
0057     static inline const char* apply() { return "MULTIPOLYGON"; }
0058 };
0059 
0060 struct prefix_segment
0061 {
0062     static inline const char* apply() { return "SEGMENT"; }
0063 };
0064 struct prefix_box
0065 {
0066     static inline const char* apply() { return "BOX"; }
0067 };
0068 struct prefix_geometrycollection
0069 {
0070     static inline const char* apply() { return "GEOMETRYCOLLECTION"; }
0071 };
0072 
0073 
0074 }} // namespace wkt::impl
0075 #endif
0076 
0077 
0078 }} // namespace boost::geometry
0079 
0080 #endif // BOOST_GEOMETRY_IO_WKT_DETAIL_PREFIX_HPP