Go to the documentation of this file.
11 namespace io_handlers {
26 using Ptr = std::shared_ptr<Parser>;
27 virtual std::unique_ptr<LaneletMap>
parse(
const std::string& filename,
ErrorMessages& errors)
const = 0;
32 throw lanelet::IOError(
"You must pass an origin when loading a map with georeferenced (lat/lon) data!");
std::vector< std::string > ErrorMessages
std::shared_ptr< IOHandler > Ptr
Base object for parsers. To create a new parser, you have to do the following steps:
Generic error for all errors in this module.
virtual std::unique_ptr< LaneletMap > parse(const std::string &filename, ErrorMessages &errors) const =0
void handleDefaultProjector() const final
loading a map with a default origin throws an error
Base class for all handlers (writers and parsers)
lanelet2_io
Author(s): Fabian Poggenhans
autogenerated on Thu Mar 6 2025 03:26:03