marble
KmlFeatureTagWriter.cpp
Go to the documentation of this file.
59 writer.writeOptionalElement( kml::kmlTag_visibility, QString::number( feature->isVisible() ), "1" );
void writeOptionalElement(const QString &key, const QString &value, const QString &defaultValue=QString())
Convenience method to write value if value is not equal to defaultValue.
Definition: GeoWriter.cpp:98
A container for Features, Styles and in the future Schemas.
Definition: GeoDataDocument.h:65
const char * kmlTag_visibility
Definition: KmlElementDictionary.cpp:197
A shared base class for all classes that are mapped to a specific tag (ie.
Definition: GeoDocument.h:60
const char * GeoDataDocumentType
Definition: GeoDataTypes.cpp:38
bool isVisible() const
Return whether this feature is visible or not.
Definition: GeoDataFeature.cpp:656
QString description() const
Return the text description of the feature.
Definition: GeoDataFeature.cpp:588
Definition: GeoDataCamera.h:22
static void writeIdentifiers(GeoWriter &writer, const GeoDataObject *object)
Parses the id and targetId attributes and assign their values to the given object.
Definition: KmlObjectTagWriter.cpp:15
bool isNull() const
Indicates whether the bounding box only contains a single 2D point ("singularity").
Definition: GeoDataLatLonAltBox.cpp:275
const GeoDataAbstractView * abstractView() const
Get the Abstract view of the feature.
Definition: GeoDataFeature.cpp:610
QString number(int n, int base)
bool descriptionIsCDATA() const
test if the description is CDATA or not CDATA allows for special characters to be included in XML and...
Definition: GeoDataFeature.cpp:599
const GeoDataTimeSpan & timeSpan() const
Return the timespan of the feature.
Definition: GeoDataFeature.cpp:677
GeoDataRegion & region() const
Return the region assigned to the placemark.
Definition: GeoDataFeature.cpp:754
bool isEmpty() const
Standard Marble way of writing XML This class is intended to be a standardised way of writing XML for...
Definition: GeoWriter.h:29
void writeCDATA(const QString &text)
virtual bool writeMid(const GeoNode *node, GeoWriter &writer) const =0
const GeoDataLatLonAltBox & latLonAltBox() const
Returns a geodesic bounding box ("latLonAltBox") of the region. Returns a geodesic bounding box that ...
Definition: GeoDataRegion.cpp:73
bool write(const GeoNode *node, GeoWriter &writer) const
Definition: KmlFeatureTagWriter.cpp:37
bool writeElement(const GeoNode *object, GeoWriter &writer) const
Definition: GeoTagWriter.cpp:29
Definition: GeoDataLookAt.h:23
bool isValid() const
QVector< GeoDataFeature * > featureList() const
A convenience function that returns all features in this container.
Definition: GeoDataContainer.cpp:231
QList< GeoDataStyle > styles() const
dump a Vector of all styles
Definition: GeoDataDocument.cpp:161
GeoDataExtendedData & extendedData() const
Return the ExtendedData assigned to the feature.
Definition: GeoDataFeature.cpp:743
QList< GeoDataStyleMap > styleMaps() const
dump a Vector of all styles
Definition: GeoDataDocument.cpp:189
const GeoDataTimeStamp & timeStamp() const
Return the timestamp of the feature.
Definition: GeoDataFeature.cpp:693
KmlFeatureTagWriter(const QString &elementName)
Definition: KmlFeatureTagWriter.cpp:31
void writeCharacters(const QString &text)
void writeEndElement()
void writeStartElement(const QString &qualifiedName)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.