28 #include <boost/archive/text_oarchive.hpp> 29 #include <boost/archive/text_iarchive.hpp> 30 #include <boost/serialization/vector.hpp> 37 Way(
const Way& other) =
default;
38 Way(
Way&& other) =
default;
43 virtual ~Way() =
default;
49 template<
typename Archive>
void serialize(Archive &ar, const unsigned int version)
void serialize(Archive &ar, const unsigned int version)
friend class boost::serialization::access
DataMap< CachedString, CachedString > tags
Way(const std::vector< NodeId > &nodeIDs, const DataMap< CachedString, CachedString > &tags)
std::vector< NodeId > nodeIDs
const std::vector< NodeId > & getNodeIDs() const