1 // Boost.Geometry Index
3 // R-tree leaf node checking visitor implementation
5 // Copyright (c) 2011-2015 Adam Wulkiewicz, Lodz, Poland.
7 // This file was modified by Oracle on 2019.
8 // Modifications copyright (c) 2019 Oracle and/or its affiliates.
9 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
11 // Use, modification and distribution is subject to the Boost Software License,
12 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
13 // http://www.boost.org/LICENSE_1_0.txt)
15 #ifndef BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_IS_LEAF_HPP
16 #define BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_IS_LEAF_HPP
18 namespace boost { namespace geometry { namespace index {
20 namespace detail { namespace rtree { namespace visitors {
22 template <typename MembersHolder>
24 : public MembersHolder::visitor_const
26 typedef typename MembersHolder::internal_node internal_node;
27 typedef typename MembersHolder::leaf leaf;
33 inline void operator()(internal_node const&)
38 inline void operator()(leaf const&)
46 }}} // namespace detail::rtree::visitors
48 }}} // namespace boost::geometry::index
50 #endif // BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_IS_LEAF_HPP