28 #include <boost/archive/text_oarchive.hpp> 29 #include <boost/archive/text_iarchive.hpp> 30 #include <boost/serialization/vector.hpp> 41 const std::vector<WayId>&
wayIDs,
51 template<
typename Archive>
std::vector< NodeId > nodeIDs
void serialize(Archive &ar, const unsigned int version)
std::vector< WayId > wayIDs
TESTABLE const std::vector< NodeId > & getNodeIDs() const
DataMap< WayId, CachedString > wayRoles
TESTABLE const std::vector< WayId > & getWayIDs() const
void serialize(Archive &ar, const unsigned int version)
DataMap< NodeId, CachedString > nodeRoles
virtual ~Relation()=default
TESTABLE const CachedString & getWayRole(WayId id) const
DataMap< CachedString, CachedString > tags
friend class boost::serialization::access
Represents a string which is cached into an internal cache.
TESTABLE const CachedString & getNodeRole(NodeId id) const