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 )
nodiscard

Returns a suitable reader for the given file name.

Definition at line 42 of file io.cpp.

◆ readerForMimeType()

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

Returns a suitable reader for the given MIME type.

Definition at line 51 of file io.cpp.

◆ writerForFileName()

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

Returns a suitable writer for the given file name.

Definition at line 60 of file io.cpp.

◆ writerForMimeType()

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

Returns a suitable writer for the given MIME type.

Definition at line 69 of file io.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.