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)
 feature (int id, const geometry_type &geom)
int id () const
void set_geometry (geometry_type &geom)
geometry_type const & get_geometry () const
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]

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


Member Function Documentation

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 const& mapnik::feature< T1, T2 >::get_geometry (  )  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>
std::map<std::string,value> const& mapnik::feature< T1, T2 >::props (  )  const [inline]

template<typename T1, typename T2>
void mapnik::feature< T1, T2 >::set_geometry ( geometry_type geom  )  [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]


The documentation for this struct was generated from the following file:
Generated on Thu Jul 19 17:59:30 2007 for Mapnik by  doxygen 1.4.7