alaCarte Maps
Renderer for OpenStreetMap tiles
CompareObjects< IdType > Struct Template Reference

Sort objects according to osm-layer and z_index (and id for determinism) More...

Public Member Functions

 CompareObjects (const boost::unordered_map< IdType, Style * > &styles)
 
bool operator() (IdType first, IdType second)
 

Public Attributes

const boost::unordered_map< IdType, Style * > & styles
 

Detailed Description

template<typename IdType>
struct CompareObjects< IdType >

Sort objects according to osm-layer and z_index (and id for determinism)

Definition at line 63 of file renderer.cpp.

Constructor & Destructor Documentation

template<typename IdType >
CompareObjects< IdType >::CompareObjects ( const boost::unordered_map< IdType, Style * > &  styles)
inline

Definition at line 65 of file renderer.cpp.

Member Function Documentation

template<typename IdType >
bool CompareObjects< IdType >::operator() ( IdType  first,
IdType  second 
)
inline

Definition at line 70 of file renderer.cpp.

Member Data Documentation

template<typename IdType >
const boost::unordered_map<IdType, Style*>& CompareObjects< IdType >::styles

Definition at line 78 of file renderer.cpp.


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