Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::geometry::geometry_id< Geometry > Struct Template Reference

Meta-function returning the id of a geometry type. More...

#include <geometry_id.hpp>

Inheritance diagram for boost::geometry::geometry_id< Geometry >:
Collaboration diagram for boost::geometry::geometry_id< Geometry >:

Public Member Functions

 BOOST_MPL_ASSERT_MSG (false, NOT_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPE,(types< tag< Geometry >::type >))
 

Detailed Description

template<typename Geometry>
struct boost::geometry::geometry_id< Geometry >

Meta-function returning the id of a geometry type.

The meta-function geometry_id defines a numerical ID (based on boost::mpl::int_<...> ) for each geometry concept. A numerical ID is sometimes useful, and within Boost.Geometry it is used for the reverse_dispatch metafuntion.

Note
Used for e.g. reverse meta-function

Member Function Documentation

boost::geometry::core_dispatch::geometry_id< tag< Geometry >::type >::BOOST_MPL_ASSERT_MSG ( false  ,
NOT_IMPLEMENTED_FOR_THIS_GEOMETRY_TYPE  ,
(types< tag< Geometry >::type >)   
)
inherited

The documentation for this struct was generated from the following file: