alaCarte Maps
Renderer for OpenStreetMap tiles
RTree< id_t, data_t >::RNode Class Reference

Public Member Functions

 RNode ()
 
void addChild (const FixedRect &bound, uint32_t index=(uint32_t)-1)
 
bool isFull () const
 
bool isLeaf () const
 

Public Attributes

FixedRect bounds [NUM_CHILDREN]
 
uint32_t children [NUM_CHILDREN]
 
uint8_t size
 number of contained elements More...
 

Private Member Functions

template<typename Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 

Detailed Description

template<class id_t, class data_t>
class RTree< id_t, data_t >::RNode

Definition at line 71 of file rtree.hpp.

Constructor & Destructor Documentation

template<class id_t , class data_t >
RTree< id_t, data_t >::RNode::RNode ( )
inline

Definition at line 79 of file rtree.hpp.

Member Function Documentation

template<class id_t , class data_t >
void RTree< id_t, data_t >::RNode::addChild ( const FixedRect bound,
uint32_t  index = (uint32_t) -1 
)
inline

Definition at line 82 of file rtree.hpp.

template<class id_t , class data_t >
bool RTree< id_t, data_t >::RNode::isFull ( ) const
inline

Definition at line 89 of file rtree.hpp.

template<class id_t , class data_t >
bool RTree< id_t, data_t >::RNode::isLeaf ( ) const
inline

Definition at line 90 of file rtree.hpp.

template<class id_t , class data_t >
template<typename Archive >
void RTree< id_t, data_t >::RNode::serialize ( Archive ar,
const unsigned int  version 
)
inlineprivate

Definition at line 95 of file rtree.hpp.

Friends And Related Function Documentation

template<class id_t , class data_t >
friend class boost::serialization::access
friend

Definition at line 93 of file rtree.hpp.

Member Data Documentation

template<class id_t , class data_t >
FixedRect RTree< id_t, data_t >::RNode::bounds[NUM_CHILDREN]

Definition at line 74 of file rtree.hpp.

template<class id_t , class data_t >
uint32_t RTree< id_t, data_t >::RNode::children[NUM_CHILDREN]

Definition at line 75 of file rtree.hpp.

template<class id_t , class data_t >
uint8_t RTree< id_t, data_t >::RNode::size

number of contained elements

Definition at line 77 of file rtree.hpp.


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