Class Writer
Defined in File Writer.h
Inheritance Relationships
Base Type
public lanelet::io_handlers::IOHandler
(Class IOHandler)
Derived Types
public lanelet::io_handlers::BinWriter
(Class BinWriter)public lanelet::io_handlers::OsmWriter
(Class OsmWriter)
Class Documentation
-
class Writer : public lanelet::io_handlers::IOHandler
Base object for writers. To create a new writer, you have to do the following steps:
Inherit from this writer
Overload the parse()-function, the name()-function (from IOHandler) and optionally the extension()-function (from IOHandler)
Inherit the constructors (using Writer::Writer)
register your writer using the Registerwriter object
Subclassed by lanelet::io_handlers::BinWriter, lanelet::io_handlers::OsmWriter
Public Functions
-
Writer() = default
-
virtual void write(const std::string &filename, const LaneletMap &laneletMap, ErrorMessages &errors, const io::Configuration ¶ms = io::Configuration()) const = 0
-
inline explicit IOHandler(const Projector &projector, const io::Configuration &config = io::Configuration())
-
IOHandler() = default