KOSMIndoorMap
abstractreader.cpp
133 m_mergeBuffer ? m_mergeBuffer->ways.push_back(std::move(way)) : m_dataSet->addWay(std::move(way));
138 m_mergeBuffer ? m_mergeBuffer->relations.push_back(std::move(relation)) : m_dataSet->addRelation(std::move(relation));
void addNode(OSM::Node &&node)
Add read elements to the merge buffer if set, or the dataset otherwise.
Definition abstractreader.cpp:126
void setMergeBuffer(OSM::DataSetMergeBuffer *buffer)
Sets a merge buffer.
Definition abstractreader.cpp:80
virtual void readFromData(const uint8_t *data, std::size_t len)
Implement for actual parsing.
Definition abstractreader.cpp:101
QString errorString() const
Error message in case parsing failed for some reason.
Definition abstractreader.cpp:121
Holds OSM elements produced by a parser prior to merging into OSM::DataSet.
Definition datasetmergebuffer.h:18
Low-level types and functions to work with raw OSM data as efficiently as possible.
Definition locationqueryoverlayproxymodel.h:15
const char * constData() const const
qsizetype size() const const
virtual bool open(QIODeviceBase::OpenMode mode)
virtual qint64 pos() const const
QByteArray readAll()
OpenMode
Q_OBJECTQ_OBJECT
QObject * parent() const const
bool isEmpty() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.