Marble::GeoDataStyleMap

Search for usage in LXR

Marble::GeoDataStyleMap Class Reference

#include <GeoDataStyleMap.h>

Inheritance diagram for Marble::GeoDataStyleMap:

Public Member Functions

 GeoDataStyleMap (const GeoDataStyleMap &other)
 
QString lastKey () const
 
const char * nodeType () const override
 
bool operator!= (const GeoDataStyleMap &other) const
 
GeoDataStyleMapoperator= (const GeoDataStyleMap &other)
 
bool operator== (const GeoDataStyleMap &other) const
 
void pack (QDataStream &stream) const override
 
void setLastKey (const QString &key)
 
void unpack (QDataStream &stream) override
 
- Public Member Functions inherited from Marble::GeoDataStyleSelector
bool operator!= (const GeoDataStyleSelector &other) const
 
GeoDataStyleSelectoroperator= (const GeoDataStyleSelector &other)
 
bool operator== (const GeoDataStyleSelector &other) const
 
void pack (QDataStream &stream) const override
 
void unpack (QDataStream &stream) override
 
- Public Member Functions inherited from Marble::GeoDataObject
 GeoDataObject (const GeoDataObject &)
 
QString id () const
 
GeoDataObjectoperator= (const GeoDataObject &)
 
void pack (QDataStream &stream) const override
 
GeoDataObjectparent ()
 
const GeoDataObjectparent () const
 
QString resolvePath (const QString &relativePath) const
 
void setId (const QString &value)
 
void setParent (GeoDataObject *parent)
 
void setTargetId (const QString &value)
 
QString targetId () const
 
void unpack (QDataStream &steam) override
 
- Public Member Functions inherited from QMap< QString, QString >
 QMap (const QMap< Key, T > &other)
 
 QMap (const typename std::map< Key, T > &other)
 
 QMap (QMap< Key, T > &&other)
 
 QMap (std::initializer_list< std::pair< Key, T > > list)
 
QMap::iterator begin ()
 
QMap::const_iterator begin () const const
 
QMap::const_iterator cbegin () const const
 
QMap::const_iterator cend () const const
 
void clear ()
 
QMap::const_iterator constBegin () const const
 
QMap::const_iterator constEnd () const const
 
QMap::const_iterator constFind (const Key &key) const const
 
QMap::const_key_value_iterator constKeyValueBegin () const const
 
QMap::const_key_value_iterator constKeyValueEnd () const const
 
bool contains (const Key &key) const const
 
int count () const const
 
int count (const Key &key) const const
 
bool empty () const const
 
QMap::iterator end ()
 
QMap::const_iterator end () const const
 
QPair< QMap::iterator, QMap::iteratorequal_range (const Key &key)
 
QPair< QMap::const_iterator, QMap::const_iteratorequal_range (const Key &key) const const
 
QMap::iterator erase (QMap::iterator pos)
 
QMap::iterator find (const Key &key)
 
QMap::const_iterator find (const Key &key) const const
 
T & first ()
 
const T & first () const const
 
const Key & firstKey () const const
 
QMap::iterator insert (const Key &key, const T &value)
 
void insert (const QMap< Key, T > &map)
 
QMap::iterator insert (QMap::const_iterator pos, const Key &key, const T &value)
 
QMap::iterator insertMulti (const Key &key, const T &value)
 
QMap::iterator insertMulti (QMap::const_iterator pos, const Key &key, const T &value)
 
bool isEmpty () const const
 
const Key key (const T &value, const Key &defaultKey) const const
 
QMap::key_iterator keyBegin () const const
 
QMap::key_iterator keyEnd () const const
 
QList< Key > keys () const const
 
QList< Key > keys (const T &value) const const
 
QMap::key_value_iterator keyValueBegin ()
 
QMap::const_key_value_iterator keyValueBegin () const const
 
QMap::key_value_iterator keyValueEnd ()
 
QMap::const_key_value_iterator keyValueEnd () const const
 
T & last ()
 
const T & last () const const
 
const Key & lastKey () const const
 
QMap::iterator lowerBound (const Key &key)
 
QMap::const_iterator lowerBound (const Key &key) const const
 
bool operator!= (const QMap< Key, T > &other) const const
 
QDataStreamoperator<< (QDataStream &out, const QMap< Key, T > &map)
 
QMap< Key, T > & operator= (const QMap< Key, T > &other)
 
QMap< Key, T > & operator= (QMap< Key, T > &&other)
 
bool operator== (const QMap< Key, T > &other) const const
 
QDataStreamoperator>> (QDataStream &in, QMap< Key, T > &map)
 
T & operator[] (const Key &key)
 
const T operator[] (const Key &key) const const
 
int remove (const Key &key)
 
int size () const const
 
void swap (QMap< Key, T > &other)
 
take (const Key &key)
 
std::map< Key, T > toStdMap () const const
 
QList< Key > uniqueKeys () const const
 
QMap< Key, T > & unite (const QMap< Key, T > &other)
 
QMap::iterator upperBound (const Key &key)
 
QMap::const_iterator upperBound (const Key &key) const const
 
const T value (const Key &key, const T &defaultValue) const const
 
QList< T > values () const const
 
QList< T > values (const Key &key) const const
 

Additional Inherited Members

- Public Attributes inherited from QMap< QString, QString >
typedef const_key_value_iterator
 
typedef ConstIterator
 
typedef difference_type
 
typedef Iterator
 
typedef key_type
 
typedef key_value_iterator
 
typedef mapped_type
 
typedef size_type
 
- Protected Member Functions inherited from Marble::GeoDataStyleSelector
 GeoDataStyleSelector (const GeoDataStyleSelector &other)
 
- Protected Member Functions inherited from Marble::GeoDataObject
virtual bool equals (const GeoDataObject &other) const
 

Detailed Description

a class to map different styles to one style

A GeoDataStyleMap connects styles for highlighted and normal context. Besides GeoDataStyleSelector it derives from QMap<QString, QString>.

See also
GeoDataStyle
GeoDataStyleSelector

Definition at line 32 of file GeoDataStyleMap.h.

Member Function Documentation

◆ lastKey()

QString Marble::GeoDataStyleMap::lastKey ( ) const

return the last key

Definition at line 43 of file GeoDataStyleMap.cpp.

◆ nodeType()

const char * Marble::GeoDataStyleMap::nodeType ( ) const
overridevirtual

Provides type information for downcasting a GeoNode.

Implements Marble::GeoNode.

Definition at line 38 of file GeoDataStyleMap.cpp.

◆ operator=()

GeoDataStyleMap & Marble::GeoDataStyleMap::operator= ( const GeoDataStyleMap other)

assignment operator

Parameters
otherthe styleMap which gets duplicated.

Definition at line 53 of file GeoDataStyleMap.cpp.

◆ pack()

void Marble::GeoDataStyleMap::pack ( QDataStream stream) const
override

Serialize the stylemap to a stream.

Parameters
streamthe stream

Definition at line 77 of file GeoDataStyleMap.cpp.

◆ setLastKey()

void Marble::GeoDataStyleMap::setLastKey ( const QString key)

Set the last key this property is needed to set an entry in the kml parser after the parser has set the last key, it will read the value and add both to this map.

Parameters
keythe last key

Definition at line 48 of file GeoDataStyleMap.cpp.

◆ unpack()

void Marble::GeoDataStyleMap::unpack ( QDataStream stream)
override

Unserialize the stylemap from a stream.

Parameters
streamthe stream

Definition at line 84 of file GeoDataStyleMap.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 04:09:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.