Marble
GeoWriter.cpp
75void GeoWriter::writeElement(const QString &namespaceUri, const QString &key, const QString &value)
89void GeoWriter::writeOptionalElement(const QString &key, const QString &value, const QString &defaultValue)
96void GeoWriter::writeOptionalAttribute(const QString &key, const QString &value, const QString &defaultValue)
A shared base class for all classes that are mapped to a specific tag (ie.
Definition GeoDocument.h:35
virtual const char * nodeType() const =0
Provides type information for downcasting a GeoNode.
Base class intended to be subclassed by specific XML tag writers This class provides a base class tha...
Definition GeoTagWriter.h:28
QPair< QString, QString > QualifiedName
Object Name and Namespace Pair This type is intended to be used in a similar way to.
Definition GeoTagWriter.h:44
void setDocumentType(const QString &documentType)
Set the current document type.
Definition GeoWriter.cpp:70
bool write(QIODevice *device, const GeoNode *feature)
The main API call to use the XML writer.
Definition GeoWriter.cpp:23
void writeOptionalElement(const QString &key, const QString &value, const QString &defaultValue=QString())
Convenience method to write <key>value</key> if value is not equal to defaultValue.
Definition GeoWriter.cpp:89
void writeOptionalAttribute(const QString &key, const QString &value, const QString &defaultValue=QString())
writeOptionalAttribute Convenience method to write k=v attributes if value is not equal to defaultVal...
Definition GeoWriter.cpp:96
void writeElement(const QString &namespaceUri, const QString &key, const QString &value)
Convenience method to write <key>value</key> with key prefixed format namespaceUri.
Definition GeoWriter.cpp:75
QString name(GameStandardAction id)
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
QString fromLatin1(QByteArrayView str)
QIODevice * device() const const
void setAutoFormatting(bool enable)
void setDevice(QIODevice *device)
void writeAttribute(QAnyStringView namespaceUri, QAnyStringView name, QAnyStringView value)
void writeCharacters(QAnyStringView text)
void writeEndElement()
void writeStartDocument()
void writeStartElement(QAnyStringView namespaceUri, QAnyStringView name)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 12:02:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.