Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef WAY_PIMPL_HXX
00009 #define WAY_PIMPL_HXX
00010
00011 #include "way-pskel.hxx"
00012 #include "../elements/osmelements.h"
00013
00014 class way_pimpl: public virtual way_pskel
00015 {
00016 public:
00017 virtual void
00018 pre ();
00019
00020 virtual void
00021 tag (const std::pair<std::string, std::string>&);
00022
00023 virtual void
00024 nd (int64_t);
00025
00026 virtual void
00027 id (long long);
00028
00029 virtual osm::Way
00030 post_way ();
00031 private:
00032 std::vector<osm::Node> nodes;
00033 int64_t _id;
00034 std::set<osm::Tag> tags;
00035 };
00036
00037 #endif // WAY_PIMPL_HXX