OSM::IO

OSM::IO Namespace Reference

Functions

KOSM_EXPORT std::unique_ptr< AbstractReaderreaderForFileName (QStringView fileName, OSM::DataSet *dataSet)
 
KOSM_EXPORT std::unique_ptr< AbstractReaderreaderForMimeType (QStringView mimeType, OSM::DataSet *dataSet)
 
KOSM_EXPORT std::unique_ptr< AbstractWriterwriterForFileName (QStringView fileName)
 
KOSM_EXPORT std::unique_ptr< AbstractWriterwriterForMimeType (QStringView mimeType)
 

Detailed Description

Access to OSM file/data readers.

Function Documentation

◆ readerForFileName()

std::unique_ptr< AbstractReader > OSM::IO::readerForFileName ( QStringView fileName,
OSM::DataSet * dataSet )

Returns a suitable reader for the given file name.

Definition at line 40 of file io.cpp.

◆ readerForMimeType()

std::unique_ptr< AbstractReader > OSM::IO::readerForMimeType ( QStringView mimeType,
OSM::DataSet * dataSet )

Returns a suitable reader for the given MIME type.

Definition at line 49 of file io.cpp.

◆ writerForFileName()

std::unique_ptr< AbstractWriter > OSM::IO::writerForFileName ( QStringView fileName)

Returns a suitable writer for the given file name.

Definition at line 58 of file io.cpp.

◆ writerForMimeType()

std::unique_ptr< AbstractWriter > OSM::IO::writerForMimeType ( QStringView mimeType)

Returns a suitable writer for the given MIME type.

Definition at line 67 of file io.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sun Feb 25 2024 18:46:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.