Base class for all handlers (writers and parsers) More...
#include <IoHandler.h>
Public Types | |
using | Ptr = std::shared_ptr< IOHandler > |
Public Member Functions | |
io::Configuration | config () |
IOHandler (const Projector &projector, const io::Configuration &config=io::Configuration()) | |
const Projector & | projector () const |
virtual | ~IOHandler ()=default |
Static Public Member Functions | |
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 | |
IOHandler ()=default | |
Private Member Functions | |
virtual void | handleDefaultProjector () const =0 |
using a default projector is not allowed. The implementations define how this issue is handled. More... | |
Private Attributes | |
const io::Configuration * | config_ {} |
const Projector * | projector_ {} |
Base class for all handlers (writers and parsers)
Definition at line 13 of file IoHandler.h.
using lanelet::io_handlers::IOHandler::Ptr = std::shared_ptr<IOHandler> |
Definition at line 15 of file IoHandler.h.
|
inlineexplicit |
Definition at line 16 of file IoHandler.h.
|
virtualdefault |
|
protecteddefault |
|
inline |
Definition at line 41 of file IoHandler.h.
|
inlinestaticconstexpr |
returns the extension supported by this parser
Definition at line 25 of file IoHandler.h.
|
privatepure virtual |
using a default projector is not allowed. The implementations define how this issue is handled.
Implemented in lanelet::io_handlers::Writer, and lanelet::io_handlers::Parser.
|
inlinestaticconstexpr |
returns the name of this handler. Must not be empty for child classes
Definition at line 32 of file IoHandler.h.
|
inline |
Definition at line 34 of file IoHandler.h.
|
private |
config object for additional parameters. Parser should always use default parameters if parameters are missing
Definition at line 49 of file IoHandler.h.
|
private |
projection object for lat/lon from/to x/y conversions
Definition at line 47 of file IoHandler.h.