Base object for writers. To create a new writer, you have to do the following steps: More...
#include <Writer.h>
Public Types | |
using | Ptr = std::shared_ptr< Writer > |
![]() | |
using | Ptr = std::shared_ptr< IOHandler > |
Public Member Functions | |
IOHandler ()=default | |
IOHandler (const Projector &projector, const io::Configuration &config=io::Configuration()) | |
virtual void | write (const std::string &filename, const LaneletMap &laneletMap, ErrorMessages &errors, const io::Configuration ¶ms=io::Configuration()) const =0 |
Writer ()=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 |
using a default projector is not allowed. The implementations define how this issue is handled. 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 writers. To create a new writer, you have to do the following steps:
using lanelet::io_handlers::Writer::Ptr = std::shared_ptr<Writer> |
|
default |
|
inlinefinalprivatevirtual |
using a default projector is not allowed. The implementations define how this issue is handled.
Implements lanelet::io_handlers::IOHandler.
|
default |
|
inlineexplicit |
Definition at line 16 of file IoHandler.h.
|
pure virtual |
Implemented in lanelet::io_handlers::OsmWriter, and lanelet::io_handlers::BinWriter.