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 > |
![]() | |
using | Ptr = std::shared_ptr< IOHandler > |
Public Member Functions | |
IOHandler ()=default | |
IOHandler (const Projector &projector, const io::Configuration &config=io::Configuration()) | |
virtual std::unique_ptr< LaneletMap > | parse (const std::string &filename, ErrorMessages &errors) const =0 |
Parser ()=default | |
![]() | |
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 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... | |
![]() | |
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.
|
default |
|
inlineexplicit |
Definition at line 16 of file IoHandler.h.
|
pure virtual |
Implemented in lanelet::io_handlers::OsmParser, and lanelet::io_handlers::BinParser.