alaCarte Maps
Renderer for OpenStreetMap tiles
RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements > Class Template Reference

Public Member Functions

 RLeaf ()
 
void addData (const _data_t &d, _id_t id)
 
bool isFull ()
 

Static Public Member Functions

static size_t num_elements ()
 

Public Attributes

_id_t ids [leaf_elements]
 
_data_t data [leaf_elements]
 
uint16_t size
 number of contained elements More...
 

Detailed Description

template<class id_t, class data_t>
template<class _id_t, class _data_t, size_t leaf_elements = ((LEAF_SIZE - sizeof(uint16_t)) / (sizeof(uint32_t) + sizeof(data_t)))>
class RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements >

Definition at line 49 of file rtree.hpp.

Constructor & Destructor Documentation

template<class id_t , class data_t >
template<class _id_t, class _data_t, size_t leaf_elements = ((LEAF_SIZE - sizeof(uint16_t)) / (sizeof(uint32_t) + sizeof(data_t)))>
RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements >::RLeaf ( )
inline

Definition at line 59 of file rtree.hpp.

Member Function Documentation

template<class id_t , class data_t >
template<class _id_t, class _data_t, size_t leaf_elements = ((LEAF_SIZE - sizeof(uint16_t)) / (sizeof(uint32_t) + sizeof(data_t)))>
void RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements >::addData ( const _data_t &  d,
_id_t  id 
)
inline

Definition at line 61 of file rtree.hpp.

template<class id_t , class data_t >
template<class _id_t, class _data_t, size_t leaf_elements = ((LEAF_SIZE - sizeof(uint16_t)) / (sizeof(uint32_t) + sizeof(data_t)))>
bool RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements >::isFull ( )
inline

Definition at line 68 of file rtree.hpp.

template<class id_t , class data_t >
template<class _id_t, class _data_t, size_t leaf_elements = ((LEAF_SIZE - sizeof(uint16_t)) / (sizeof(uint32_t) + sizeof(data_t)))>
static size_t RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements >::num_elements ( )
inlinestatic

Definition at line 52 of file rtree.hpp.

Member Data Documentation

template<class id_t , class data_t >
template<class _id_t, class _data_t, size_t leaf_elements = ((LEAF_SIZE - sizeof(uint16_t)) / (sizeof(uint32_t) + sizeof(data_t)))>
_data_t RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements >::data[leaf_elements]

Definition at line 55 of file rtree.hpp.

template<class id_t , class data_t >
template<class _id_t, class _data_t, size_t leaf_elements = ((LEAF_SIZE - sizeof(uint16_t)) / (sizeof(uint32_t) + sizeof(data_t)))>
_id_t RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements >::ids[leaf_elements]

Definition at line 54 of file rtree.hpp.

template<class id_t , class data_t >
template<class _id_t, class _data_t, size_t leaf_elements = ((LEAF_SIZE - sizeof(uint16_t)) / (sizeof(uint32_t) + sizeof(data_t)))>
uint16_t RTree< id_t, data_t >::RLeaf< _id_t, _data_t, leaf_elements >::size

number of contained elements

Definition at line 57 of file rtree.hpp.


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