diff options
Diffstat (limited to 'boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp')
-rw-r--r-- | boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp | 66 |
1 files changed, 1 insertions, 65 deletions
diff --git a/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp b/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp index b0519f07ee..9a9438efcc 100644 --- a/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp +++ b/boost/geometry/multi/geometries/concepts/multi_linestring_concept.hpp @@ -16,71 +16,7 @@ #define BOOST_GEOMETRY_MULTI_GEOMETRIES_CONCEPTS_MULTI_LINESTRING_CONCEPT_HPP -#include <boost/concept_check.hpp> -#include <boost/range/concepts.hpp> -#include <boost/range/metafunctions.hpp> - - -#include <boost/geometry/geometries/concepts/linestring_concept.hpp> - - -namespace boost { namespace geometry { namespace concept -{ - - -/*! -\brief multi-linestring concept -\ingroup concepts -\par Formal definition: -The multi linestring concept is defined as following: -- there must be a specialization of traits::tag defining multi_linestring_tag as - type -- it must behave like a Boost.Range -- its range value must fulfil the Linestring concept - -*/ -template <typename Geometry> -class MultiLinestring -{ -#ifndef DOXYGEN_NO_CONCEPT_MEMBERS - typedef typename boost::range_value<Geometry>::type linestring_type; - - BOOST_CONCEPT_ASSERT( (concept::Linestring<linestring_type>) ); - BOOST_CONCEPT_ASSERT( (boost::RandomAccessRangeConcept<Geometry>) ); - - -public : - - BOOST_CONCEPT_USAGE(MultiLinestring) - { - } -#endif -}; - - -/*! -\brief concept for multi-linestring (const version) -\ingroup const_concepts -*/ -template <typename Geometry> -class ConstMultiLinestring -{ -#ifndef DOXYGEN_NO_CONCEPT_MEMBERS - typedef typename boost::range_value<Geometry>::type linestring_type; - - BOOST_CONCEPT_ASSERT( (concept::ConstLinestring<linestring_type>) ); - BOOST_CONCEPT_ASSERT( (boost::RandomAccessRangeConcept<Geometry>) ); - - -public : - - BOOST_CONCEPT_USAGE(ConstMultiLinestring) - { - } -#endif -}; - -}}} // namespace boost::geometry::concept +#include <boost/geometry/geometries/concepts/multi_linestring_concept.hpp> #endif // BOOST_GEOMETRY_MULTI_GEOMETRIES_CONCEPTS_MULTI_LINESTRING_CONCEPT_HPP |