Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (22 sloc) 0.663 kb
#ifndef __NODE_MAPNIK_FEATURESET_H__
#define __NODE_MAPNIK_FEATURESET_H__
#include <v8.h>
#include <node.h>
#include <node_object_wrap.h>
#include <mapnik/datasource_cache.hpp>
using namespace v8;
using namespace node;
typedef mapnik::featureset_ptr fs_ptr;
class Featureset: public node::ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor;
static void Initialize(Handle<Object> target);
static Handle<Value> New(const Arguments &args);
static Handle<Value> New(mapnik::featureset_ptr fs_ptr);
static Handle<Value> next(const Arguments &args);
Featureset();
private:
~Featureset();
fs_ptr this_;
};
#endif
Jump to Line
Something went wrong with that request. Please try again.