MCPcopy Create free account
hub / github.com/comaps/comaps / Insert

Method Insert

libs/routing/road_access.hpp:78–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 Conditional() = default;
77
78 void Insert(RoadAccess::Type type, osmoh::OpeningHours && openingHours)
79 {
80 m_accesses.emplace_back(type, std::move(openingHours));
81 }
82
83 size_t Size() const { return m_accesses.size(); }
84 bool IsEmpty() const { return m_accesses.empty(); }

Calls 1

emplace_backMethod · 0.45