Class Parser
Defined in File Parser.h
Inheritance Relationships
Base Type
public lanelet::io_handlers::IOHandler
(Class IOHandler)
Derived Types
public lanelet::io_handlers::BinParser
(Class BinParser)public lanelet::io_handlers::OsmParser
(Class OsmParser)
Class Documentation
-
class Parser : public lanelet::io_handlers::IOHandler
Base object for parsers. To create a new parser, you have to do the following steps:
Inherit from this parser
Overload the parse()-function, the name()-function (from IOHandler) and optionally the extension()-function (from IOHandler)
Inherit the constructors (using Parser::Parser)
register your parser using the RegisterParser object
Subclassed by lanelet::io_handlers::BinParser, lanelet::io_handlers::OsmParser
Public Functions
-
Parser() = default
-
virtual std::unique_ptr<LaneletMap> parse(const std::string &filename, ErrorMessages &errors) const = 0
-
inline explicit IOHandler(const Projector &projector, const io::Configuration &config = io::Configuration())
-
IOHandler() = default