Marble::GeoTagWriter

Search for usage in LXR

#include <GeoTagWriter.h>

Public Types

using QualifiedName = QPair<QString, QString>
 

Public Member Functions

virtual bool write (const GeoNode *node, GeoWriter &writer) const =0
 

Static Protected Member Functions

static bool writeElement (const GeoNode *object, GeoWriter &writer)
 

Detailed Description

Base class intended to be subclassed by specific XML tag writers This class provides a base class that allows the writing of many different XML formats.

The system used to implement this writing system is very strongly based on the

See also
GeoTagHandler system.

Definition at line 27 of file GeoTagWriter.h.

Member Typedef Documentation

◆ QualifiedName

Object Name and Namespace Pair This type is intended to be used in a similar way to.

See also
GeoParser::QualifiedName but in practice will act differently. The Namespace will not be an XML namespace directly but instead it will refere to a Document Type so that the GeoWriter will be able to identify what GeoTagWriter to use even in absence of an XML namespace. This also allows for the case where data using an internal representation of the KML classes can be outputted in alternative XML formats. For XML formats that have namespaces this document type will usually correspond with the XML namespace. Use in the order QPair<QString tagName, QString documentType>.

Definition at line 44 of file GeoTagWriter.h.

Member Function Documentation

◆ writeElement()

bool Marble::GeoTagWriter::writeElement ( const GeoNode * object,
GeoWriter & writer )
staticprotected

Definition at line 20 of file GeoTagWriter.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.