Public Member Functions | Public Attributes | List of all members
RStarTree< LeafType, dimensions, min_child_items, max_child_items >::VisitFunctor< Acceptor, Visitor > Struct Template Reference

#include <RStarTree.h>

Inheritance diagram for RStarTree< LeafType, dimensions, min_child_items, max_child_items >::VisitFunctor< Acceptor, Visitor >:

Public Member Functions

 VisitFunctor (const Acceptor &a, Visitor &v)
 
void operator() (BoundedItem *item)
 

Public Attributes

const Acceptor & accept
 
Visitorvisit
 

Detailed Description

template<typename LeafType, std::size_t dimensions, std::size_t min_child_items, std::size_t max_child_items>
template<typename Acceptor, typename Visitor>
struct RStarTree< LeafType, dimensions, min_child_items, max_child_items >::VisitFunctor< Acceptor, Visitor >

Definition at line 602 of file RStarTree.h.

Constructor & Destructor Documentation

template<typename LeafType, std::size_t dimensions, std::size_t min_child_items, std::size_t max_child_items>
template<typename Acceptor, typename Visitor>
RStarTree< LeafType, dimensions, min_child_items, max_child_items >::VisitFunctor< Acceptor, Visitor >::VisitFunctor ( const Acceptor &  a,
Visitor v 
)
inlineexplicit

Definition at line 607 of file RStarTree.h.

607 : accept(a), visit(v) {}
const Acceptor & accept
Definition: RStarTree.h:604
const double a

Member Function Documentation

template<typename LeafType, std::size_t dimensions, std::size_t min_child_items, std::size_t max_child_items>
template<typename Acceptor, typename Visitor>
void RStarTree< LeafType, dimensions, min_child_items, max_child_items >::VisitFunctor< Acceptor, Visitor >::operator() ( BoundedItem item)
inline

Definition at line 609 of file RStarTree.h.

610  {
611  Leaf * leaf = static_cast<Leaf*>(item);
612 
613  if (accept(leaf))
614  visit(leaf);
615  }
RStarLeaf< BoundedItem, LeafType > Leaf
Definition: RStarTree.h:95
const Acceptor & accept
Definition: RStarTree.h:604

Member Data Documentation

template<typename LeafType, std::size_t dimensions, std::size_t min_child_items, std::size_t max_child_items>
template<typename Acceptor, typename Visitor>
const Acceptor& RStarTree< LeafType, dimensions, min_child_items, max_child_items >::VisitFunctor< Acceptor, Visitor >::accept

Definition at line 604 of file RStarTree.h.

template<typename LeafType, std::size_t dimensions, std::size_t min_child_items, std::size_t max_child_items>
template<typename Acceptor, typename Visitor>
Visitor& RStarTree< LeafType, dimensions, min_child_items, max_child_items >::VisitFunctor< Acceptor, Visitor >::visit

Definition at line 605 of file RStarTree.h.


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