/home/mandrake/rpm/BUILD/mapnik/include/mapnik/datasource.hpp File Reference

#include <mapnik/config.hpp>
#include <mapnik/ctrans.hpp>
#include <mapnik/params.hpp>
#include <mapnik/feature.hpp>
#include <mapnik/query.hpp>
#include <mapnik/feature_layer_desc.hpp>
#include <boost/utility.hpp>
#include <boost/shared_ptr.hpp>
#include <map>
#include <string>

Go to the source code of this file.

Classes

struct  mapnik::Featureset
class  mapnik::datasource_exception
class  mapnik::datasource
class  mapnik::datasource_deleter

Namespaces

namespace  mapnik

Defines

#define DATASOURCE_PLUGIN(classname)

Typedefs

typedef MAPNIK_DECL
boost::shared_ptr< Feature > 
mapnik::feature_ptr
typedef MAPNIK_DECL
boost::shared_ptr< Featureset > 
mapnik::featureset_ptr
typedef std::string mapnik::datasource_name ()
typedef datasource * mapnik::create_ds (const parameters &params)
typedef void mapnik::destroy_ds (datasource *ds)
typedef boost::shared_ptr
< datasource > 
mapnik::datasource_ptr


Define Documentation

#define DATASOURCE_PLUGIN ( classname   ) 

Value:

extern "C" MAPNIK_EXP std::string datasource_name()            \
        {                                                               \
            return classname::name();                                   \
        }                                                               \
        extern "C"  MAPNIK_EXP datasource* create(const parameters &params) \
        {                                                               \
            return new classname(params);                               \
        }                                                               \
        extern "C" MAPNIK_EXP void destroy(datasource *ds)             \
        {                                                               \
            delete ds;                                                  \
        }                                                               \


Generated for Mapnik by doxygen 1.5.8