Chris@16: // Boost.Geometry Index Chris@16: // Chris@16: // R-tree node concept Chris@16: // Chris@16: // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland. Chris@16: // Chris@16: // Use, modification and distribution is subject to the Boost Software License, Chris@16: // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_GEOMETRY_INDEX_DETAIL_RTREE_NODE_CONCEPT_HPP Chris@16: #define BOOST_GEOMETRY_INDEX_DETAIL_RTREE_NODE_CONCEPT_HPP Chris@16: Chris@16: namespace boost { namespace geometry { namespace index { Chris@16: Chris@16: namespace detail { namespace rtree { Chris@16: Chris@16: template Chris@16: struct node Chris@16: { Chris@16: BOOST_MPL_ASSERT_MSG( Chris@16: (false), Chris@16: NOT_IMPLEMENTED_FOR_THIS_TAG_TYPE, Chris@16: (node)); Chris@16: }; Chris@16: Chris@16: template Chris@16: struct internal_node Chris@16: { Chris@16: BOOST_MPL_ASSERT_MSG( Chris@16: (false), Chris@16: NOT_IMPLEMENTED_FOR_THIS_TAG_TYPE, Chris@16: (internal_node)); Chris@16: }; Chris@16: Chris@16: template Chris@16: struct leaf Chris@16: { Chris@16: BOOST_MPL_ASSERT_MSG( Chris@16: (false), Chris@16: NOT_IMPLEMENTED_FOR_THIS_TAG_TYPE, Chris@16: (leaf)); Chris@16: }; Chris@16: Chris@16: template Chris@16: struct visitor Chris@16: { Chris@16: BOOST_MPL_ASSERT_MSG( Chris@16: (false), Chris@16: NOT_IMPLEMENTED_FOR_THIS_TAG_TYPE, Chris@16: (visitor)); Chris@16: }; Chris@16: Chris@16: template Chris@16: class allocators Chris@16: { Chris@16: BOOST_MPL_ASSERT_MSG( Chris@16: (false), Chris@16: NOT_IMPLEMENTED_FOR_THIS_TAG_TYPE, Chris@16: (allocators)); Chris@16: }; Chris@16: Chris@16: template Chris@16: struct create_node Chris@16: { Chris@16: BOOST_MPL_ASSERT_MSG( Chris@16: (false), Chris@16: NOT_IMPLEMENTED_FOR_THIS_NODE_TYPE, Chris@16: (create_node)); Chris@16: }; Chris@16: Chris@16: template Chris@16: struct destroy_node Chris@16: { Chris@16: BOOST_MPL_ASSERT_MSG( Chris@16: (false), Chris@16: NOT_IMPLEMENTED_FOR_THIS_NODE_TYPE, Chris@16: (destroy_node)); Chris@16: }; Chris@16: Chris@16: }} // namespace detail::rtree Chris@16: Chris@16: }}} // namespace boost::geometry::index Chris@16: Chris@16: #endif // BOOST_GEOMETRY_INDEX_DETAIL_RTREE_NODE_CONCEPT_HPP