mapnik::feature< T1, T2 > Struct Template Reference

#include <feature.hpp>

List of all members.

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_typeget_geometry (unsigned index)
const raster_typeget_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

template<typename T1, typename T2>
struct mapnik::feature< T1, T2 >


Member Typedef Documentation

template<typename T1 , typename T2 >
typedef T1 mapnik::feature< T1, T2 >::geometry_type

template<typename T1 , typename T2 >
typedef std::map<std::string,value>::iterator mapnik::feature< T1, T2 >::iterator

template<typename T1 , typename T2 >
typedef T2 mapnik::feature< T1, T2 >::raster_type

template<typename T1 , typename T2 >
typedef std::map<std::string,value>::size_type mapnik::feature< T1, T2 >::size_type

template<typename T1 , typename T2 >
typedef std::map<std::string,value>::value_type mapnik::feature< T1, T2 >::value_type


Constructor & Destructor Documentation

template<typename T1 , typename T2 >
mapnik::feature< T1, T2 >::feature ( int  id  )  [inline, explicit]


Member Function Documentation

template<typename T1 , typename T2 >
void mapnik::feature< T1, T2 >::add_geometry ( geometry_type geom  )  [inline]

template<typename T1 , typename T2 >
iterator mapnik::feature< T1, T2 >::begin (  )  const [inline]

template<typename T1 , typename T2 >
iterator mapnik::feature< T1, T2 >::end (  )  const [inline]

template<typename T1 , typename T2 >
geometry_type& mapnik::feature< T1, T2 >::get_geometry ( unsigned  index  )  [inline]

template<typename T1 , typename T2 >
geometry_type const& mapnik::feature< T1, T2 >::get_geometry ( unsigned  index  )  const [inline]

template<typename T1 , typename T2 >
const raster_type& mapnik::feature< T1, T2 >::get_raster (  )  const [inline]

template<typename T1 , typename T2 >
int mapnik::feature< T1, T2 >::id (  )  const [inline]

template<typename T1 , typename T2 >
unsigned mapnik::feature< T1, T2 >::num_geometries (  )  const [inline]

template<typename T1 , typename T2 >
std::map<std::string,value> const& mapnik::feature< T1, T2 >::props (  )  const [inline]

template<typename T1 , typename T2 >
void mapnik::feature< T1, T2 >::set_raster ( raster_type const &  raster  )  [inline]

template<typename T1 , typename T2 >
std::string mapnik::feature< T1, T2 >::to_string (  )  const [inline]

Referenced by mapnik::operator<<().


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

Generated for Mapnik by doxygen 1.5.8