1#ifndef OSMIUM_OSM_SEGMENT_HPP
2#define OSMIUM_OSM_SEGMENT_HPP
79 return lhs.first() == rhs.first() && lhs.second() == rhs.second();
89 template <
typename TChar,
typename TTraits>
90 inline std::basic_ostream<TChar, TTraits>&
operator<<(std::basic_ostream<TChar, TTraits>& out,
const osmium::Segment& segment) {
91 return out << segment.
first() <<
"->" << segment.
second();
Definition: location.hpp:271
Definition: segment.hpp:46
constexpr osmium::Location first() const noexcept
Return first Location of Segment.
Definition: segment.hpp:59
osmium::Location m_second
Definition: segment.hpp:49
osmium::Location m_first
Definition: segment.hpp:48
void swap_locations()
Definition: segment.hpp:70
constexpr Segment(const osmium::Location &location1, const osmium::Location &location2) noexcept
Definition: segment.hpp:53
constexpr osmium::Location second() const noexcept
Return second Location of Segment.
Definition: segment.hpp:64
Namespace for everything in the Osmium library.
Definition: assembler.hpp:53
bool operator==(const Changeset &lhs, const Changeset &rhs)
Definition: changeset.hpp:440
bool operator!=(const Changeset &lhs, const Changeset &rhs)
Definition: changeset.hpp:444
std::basic_ostream< TChar, TTraits > & operator<<(std::basic_ostream< TChar, TTraits > &out, const item_type item_type)
Definition: item_type.hpp:187