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

Method GetWayRole

generator/intermediate_elements.hpp:95–95  ·  view source on GitHub ↗

@returns (empty if absent) role for the way with given id.

Source from the content-addressed store, hash-verified

93 std::string_view GetType() const { return GetTagValue("type"); }
94 /// @returns (empty if absent) role for the way with given id.
95 std::string_view GetWayRole(uint64_t id) const { return FindRoleImpl(m_ways, id); }
96 /// @returns (empty if absent) role for the node with given id.
97 std::string_view GetNodeRole(uint64_t id) const { return FindRoleImpl(m_nodes, id); }
98 /// @returns (empty if absent) role for the relation with given id.

Callers 3

IsAcceptBoundaryMethod · 0.80
FindTopRelationMethod · 0.80
operator()Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected