1 #ifndef OSMIUM_HANDLER_OBJECT_RELATIONS_HPP 2 #define OSMIUM_HANDLER_OBJECT_RELATIONS_HPP 79 for (
const auto& node_ref : way.
nodes()) {
85 for (
const auto& member : relation.
members()) {
86 switch (member.type()) {
108 #endif // OSMIUM_HANDLER_OBJECT_RELATIONS_HPP WayNodeList & nodes()
Definition: way.hpp:89
RelationMemberList & members()
Definition: relation.hpp:185
index_type & m_index_w2r
Definition: object_relations.hpp:61
Definition: relation.hpp:168
virtual void set(const TId id, const TValue value)=0
Set the field with id to value.
Definition: handler.hpp:71
Namespace for everything in the Osmium library.
Definition: assembler.hpp:63
void way(const osmium::Way &way)
Definition: object_relations.hpp:78
ObjectRelations & operator=(const ObjectRelations &)=delete
index_type & m_index_n2w
Definition: object_relations.hpp:59
void relation(const osmium::Relation &relation)
Definition: object_relations.hpp:84
Definition: object_relations.hpp:55
Definition: multimap.hpp:51
ObjectRelations(index_type &n2w, index_type &n2r, index_type &w2r, index_type &r2r)
Definition: object_relations.hpp:66
unsigned_object_id_type positive_id() const noexcept
Get absolute value of the ID of this object.
Definition: object.hpp:131
index_type & m_index_n2r
Definition: object_relations.hpp:60
index_type & m_index_r2r
Definition: object_relations.hpp:62
~ObjectRelations() noexcept=default