Chris@102
|
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
|
Chris@102
|
2
|
Chris@102
|
3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
|
Chris@102
|
4 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
|
Chris@102
|
5 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
|
Chris@102
|
6
|
Chris@102
|
7 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
|
Chris@102
|
8 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
|
Chris@102
|
9
|
Chris@102
|
10 // Use, modification and distribution is subject to the Boost Software License,
|
Chris@102
|
11 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@102
|
12 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@102
|
13
|
Chris@102
|
14
|
Chris@102
|
15 #ifndef BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_LINESTRING_HPP
|
Chris@102
|
16 #define BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_LINESTRING_HPP
|
Chris@102
|
17
|
Chris@102
|
18 #include <boost/geometry/core/tag.hpp>
|
Chris@102
|
19 #include <boost/geometry/core/tags.hpp>
|
Chris@102
|
20
|
Chris@102
|
21 /*!
|
Chris@102
|
22 \brief \brief_macro{multi_linestring}
|
Chris@102
|
23 \ingroup register
|
Chris@102
|
24 \details \details_macro{BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING, multi_linestring} The
|
Chris@102
|
25 multi_linestring may contain template parameters, which must be specified then.
|
Chris@102
|
26 \param MultiLineString \param_macro_type{multi_linestring}
|
Chris@102
|
27
|
Chris@102
|
28 \qbk{
|
Chris@102
|
29 [heading Example]
|
Chris@102
|
30 [register_multi_linestring]
|
Chris@102
|
31 [register_multi_linestring_output]
|
Chris@102
|
32 }
|
Chris@102
|
33 */
|
Chris@102
|
34 #define BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING(MultiLineString) \
|
Chris@102
|
35 namespace boost { namespace geometry { namespace traits { \
|
Chris@102
|
36 template<> struct tag<MultiLineString> { typedef multi_linestring_tag type; }; \
|
Chris@102
|
37 }}}
|
Chris@102
|
38
|
Chris@102
|
39
|
Chris@102
|
40 /*!
|
Chris@102
|
41 \brief \brief_macro{templated multi_linestring}
|
Chris@102
|
42 \ingroup register
|
Chris@102
|
43 \details \details_macro{BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING_TEMPLATED, templated multi_linestring}
|
Chris@102
|
44 \details_macro_templated{multi_linestring, linestring}
|
Chris@102
|
45 \param MultiLineString \param_macro_type{multi_linestring (without template parameters)}
|
Chris@102
|
46
|
Chris@102
|
47 \qbk{
|
Chris@102
|
48 [heading Example]
|
Chris@102
|
49 [register_multi_linestring_templated]
|
Chris@102
|
50 [register_multi_linestring_templated_output]
|
Chris@102
|
51 }
|
Chris@102
|
52 */
|
Chris@102
|
53 #define BOOST_GEOMETRY_REGISTER_MULTI_LINESTRING_TEMPLATED(MultiLineString) \
|
Chris@102
|
54 namespace boost { namespace geometry { namespace traits { \
|
Chris@102
|
55 template<typename LineString> struct tag< MultiLineString<LineString> > { typedef multi_linestring_tag type; }; \
|
Chris@102
|
56 }}}
|
Chris@102
|
57
|
Chris@102
|
58
|
Chris@102
|
59 #endif // BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_LINESTRING_HPP
|