#include <problem_reporter_stream.hpp>
|
| ProblemReporterStream (std::ostream &out) |
|
| ~ProblemReporterStream () override=default |
|
void | header (const char *msg) |
|
void | report_duplicate_node (osmium::object_id_type node_id1, osmium::object_id_type node_id2, osmium::Location location) override |
|
void | report_intersection (osmium::object_id_type way1_id, osmium::Location way1_seg_start, osmium::Location way1_seg_end, osmium::object_id_type way2_id, osmium::Location way2_seg_start, osmium::Location way2_seg_end, osmium::Location intersection) override |
|
void | report_ring_not_closed (osmium::Location end1, osmium::Location end2) override |
|
void | report_role_should_be_outer (osmium::object_id_type way_id, osmium::Location seg_start, osmium::Location seg_end) override |
|
void | report_role_should_be_inner (osmium::object_id_type way_id, osmium::Location seg_start, osmium::Location seg_end) override |
|
| ProblemReporter ()=default |
|
virtual | ~ProblemReporter ()=default |
|
void | set_object (osmium::item_type object_type, osmium::object_id_type object_id) noexcept |
|
osmium::area::ProblemReporterStream::ProblemReporterStream |
( |
std::ostream & |
out | ) |
|
|
inlineexplicit |
osmium::area::ProblemReporterStream::~ProblemReporterStream |
( |
| ) |
|
|
overridedefault |
void osmium::area::ProblemReporterStream::header |
( |
const char * |
msg | ) |
|
|
inline |
Report a duplicate node, ie. two nodes with the same location.
- Parameters
-
node_id1 | ID of the first node. |
node_id2 | ID of the second node. |
location | Location of both nodes. |
Reimplemented from osmium::area::ProblemReporter.
Report an intersection between two segments.
- Parameters
-
way1_id | ID of the first involved way. |
way1_seg_start | Location where the segment of the first way with the intersection starts |
way1_seg_end | Location where the segment of the first way with the intersection ends |
way2_id | ID of the second involved way. |
way2_seg_start | Location where the segment of the second way with the intersection starts |
way2_seg_end | Location where the segment of the second way with the intersection ends |
intersection | Location of the intersection. This might be slightly off the correct location due to rounding. |
Reimplemented from osmium::area::ProblemReporter.
Report a segment that should have role "inner", but has a different role.
- Parameters
-
way_id | ID of the way this segment is in. |
seg_start | Start of the segment with the wrong role. |
seg_end | End of the segment with the wrong role. |
Reimplemented from osmium::area::ProblemReporter.
Report a segment that should have role "outer", but has a different role.
- Parameters
-
way_id | ID of the way this segment is in. |
seg_start | Start of the segment with the wrong role. |
seg_end | End of the segment with the wrong role. |
Reimplemented from osmium::area::ProblemReporter.
std::ostream* osmium::area::ProblemReporterStream::m_out |
|
private |
The documentation for this class was generated from the following file: