Base object for parsers. To create a new parser, you have to do the following steps: More...
#include <Parser.h>

Public Types | |
| using | Ptr = std::shared_ptr< Parser > |
Public Types inherited from lanelet::io_handlers::IOHandler | |
| using | Ptr = std::shared_ptr< IOHandler > |
Public Member Functions | |
| virtual std::unique_ptr< LaneletMap > | parse (const std::string &filename, ErrorMessages &errors) const =0 |
| Parser ()=default | |
Public Member Functions inherited from lanelet::io_handlers::IOHandler | |
| io::Configuration | config () |
| IOHandler (const Projector &projector, const io::Configuration &config=io::Configuration()) | |
| const Projector & | projector () const |
| virtual | ~IOHandler ()=default |
Private Member Functions | |
| void | handleDefaultProjector () const final |
| loading a map with a default origin throws an error More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from lanelet::io_handlers::IOHandler | |
| static constexpr const char * | extension () |
| returns the extension supported by this parser More... | |
| static constexpr const char * | name () |
| returns the name of this handler. Must not be empty for child classes More... | |
Protected Member Functions inherited from lanelet::io_handlers::IOHandler | |
| IOHandler ()=default | |
Base object for parsers. To create a new parser, you have to do the following steps:
| using lanelet::io_handlers::Parser::Ptr = std::shared_ptr<Parser> |
|
default |
|
inlinefinalprivatevirtual |
loading a map with a default origin throws an error
Implements lanelet::io_handlers::IOHandler.
|
pure virtual |
Implemented in lanelet::io_handlers::OsmParser, and lanelet::io_handlers::BinParser.