Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef OSM_PIMPL_HXX
00009 #define OSM_PIMPL_HXX
00010
00011 #include "osm-pskel.hxx"
00012 #include <functional>
00013 #include "../elements/osmelements.h"
00014
00015 class osm_pimpl: public virtual osm_pskel
00016 {
00017 public:
00018
00019 std::function<void (osm::Node const&)> node_handler;
00020 std::function<void (osm::Way const&)> way_handler;
00021 std::function<void (osm::Relation const&)> relation_handler;
00022 std::function<void ()> progress_handler;
00023
00024 virtual void
00025 pre ();
00026
00027 virtual void
00028 node (const osm::Node&);
00029
00030 virtual void
00031 way (const osm::Way&);
00032
00033 virtual void relation(osm::Relation const&);
00034
00035 virtual void
00036 post_osm ();
00037 };
00038
00039 #endif // OSM_PIMPL_HXX