#include <feature.hpp>
Public Types | |
typedef T1 | geometry_type |
typedef T2 | raster_type |
typedef std::map< std::string, value >::value_type | value_type |
typedef std::map< std::string, value >::size_type | size_type |
typedef std::map< std::string, value >::iterator | iterator |
Public Member Functions | |
feature (int id) | |
int | id () const |
void | add_geometry (geometry_type *geom) |
unsigned | num_geometries () const |
geometry_type const & | get_geometry (unsigned index) const |
geometry_type & | get_geometry (unsigned index) |
const raster_type & | get_raster () const |
void | set_raster (raster_type const &raster) |
std::map< std::string, value > const & | props () const |
iterator | begin () const |
iterator | end () const |
std::string | to_string () const |
typedef T1 mapnik::feature< T1, T2 >::geometry_type |
typedef std::map<std::string,value>::iterator mapnik::feature< T1, T2 >::iterator |
typedef T2 mapnik::feature< T1, T2 >::raster_type |
typedef std::map<std::string,value>::size_type mapnik::feature< T1, T2 >::size_type |
typedef std::map<std::string,value>::value_type mapnik::feature< T1, T2 >::value_type |
mapnik::feature< T1, T2 >::feature | ( | int | id | ) | [inline, explicit] |
void mapnik::feature< T1, T2 >::add_geometry | ( | geometry_type * | geom | ) | [inline] |
iterator mapnik::feature< T1, T2 >::begin | ( | ) | const [inline] |
iterator mapnik::feature< T1, T2 >::end | ( | ) | const [inline] |
geometry_type& mapnik::feature< T1, T2 >::get_geometry | ( | unsigned | index | ) | [inline] |
geometry_type const& mapnik::feature< T1, T2 >::get_geometry | ( | unsigned | index | ) | const [inline] |
const raster_type& mapnik::feature< T1, T2 >::get_raster | ( | ) | const [inline] |
Referenced by mapnik::cairo_renderer< T >::process(), and mapnik::agg_renderer< T >::process().
int mapnik::feature< T1, T2 >::id | ( | ) | const [inline] |
unsigned mapnik::feature< T1, T2 >::num_geometries | ( | ) | const [inline] |
std::map<std::string,value> const& mapnik::feature< T1, T2 >::props | ( | ) | const [inline] |
void mapnik::feature< T1, T2 >::set_raster | ( | raster_type const & | raster | ) | [inline] |
std::string mapnik::feature< T1, T2 >::to_string | ( | ) | const [inline] |
Referenced by mapnik::operator<<().