marble
#include <GeoDataData.h>
Public Member Functions | |
GeoDataData () | |
GeoDataData (const QString &name, const QVariant &value) | |
GeoDataData (const GeoDataData &other) | |
virtual | ~GeoDataData () |
QString | displayName () const |
QString | name () const |
virtual const char * | nodeType () const |
bool | operator!= (const GeoDataData &other) const |
GeoDataData & | operator= (const GeoDataData &other) |
bool | operator== (const GeoDataData &other) const |
virtual void | pack (QDataStream &stream) const |
void | setDisplayName (const QString &displayName) |
void | setName (const QString &name) |
void | setValue (const QVariant &value) |
virtual void | unpack (QDataStream &stream) |
QVariant | value () const |
Public Member Functions inherited from Marble::GeoDataObject | |
GeoDataObject () | |
GeoDataObject (const GeoDataObject &) | |
virtual | ~GeoDataObject () |
QString | id () const |
GeoDataObject & | operator= (const GeoDataObject &) |
virtual GeoDataObject * | parent () const |
QString | resolvePath (const QString &relativePath) const |
void | setId (const QString &value) |
virtual void | setParent (GeoDataObject *parent) |
void | setTargetId (const QString &value) |
QString | targetId () const |
Public Member Functions inherited from Marble::GeoNode | |
GeoNode () | |
virtual | ~GeoNode () |
Public Member Functions inherited from Marble::Serializable | |
virtual | ~Serializable () |
Additional Inherited Members | |
Protected Member Functions inherited from Marble::GeoDataObject | |
virtual bool | equals (const GeoDataObject &other) const |
Detailed Description
Definition at line 26 of file GeoDataData.h.
Constructor & Destructor Documentation
Marble::GeoDataData::GeoDataData | ( | ) |
Definition at line 21 of file GeoDataData.cpp.
Convenience constructor that sets name and value directly.
Definition at line 56 of file GeoDataData.cpp.
Marble::GeoDataData::GeoDataData | ( | const GeoDataData & | other | ) |
Definition at line 26 of file GeoDataData.cpp.
|
virtual |
Definition at line 31 of file GeoDataData.cpp.
Member Function Documentation
QString Marble::GeoDataData::displayName | ( | ) | const |
return the displayName of data
Definition at line 88 of file GeoDataData.cpp.
QString Marble::GeoDataData::name | ( | ) | const |
return the name of data
Definition at line 78 of file GeoDataData.cpp.
|
virtual |
Provides type information for downcasting a GeoData.
Implements Marble::GeoDataObject.
Definition at line 63 of file GeoDataData.cpp.
bool Marble::GeoDataData::operator!= | ( | const GeoDataData & | other | ) | const |
Definition at line 51 of file GeoDataData.cpp.
GeoDataData & Marble::GeoDataData::operator= | ( | const GeoDataData & | other | ) |
assignment operator
Definition at line 36 of file GeoDataData.cpp.
bool Marble::GeoDataData::operator== | ( | const GeoDataData & | other | ) | const |
Definition at line 43 of file GeoDataData.cpp.
|
virtual |
Serialize the contents of the feature to stream
.
Reimplemented from Marble::GeoDataObject.
Definition at line 98 of file GeoDataData.cpp.
void Marble::GeoDataData::setDisplayName | ( | const QString & | displayName | ) |
set the displayName of data
- Parameters
-
value the displayName to be set
Definition at line 93 of file GeoDataData.cpp.
void Marble::GeoDataData::setName | ( | const QString & | name | ) |
set the name of data
- Parameters
-
name the name to be set
Definition at line 83 of file GeoDataData.cpp.
void Marble::GeoDataData::setValue | ( | const QVariant & | value | ) |
set the value of data
- Parameters
-
value the value to be set
Definition at line 73 of file GeoDataData.cpp.
|
virtual |
Unserialize the contents of the feature from stream
.
Reimplemented from Marble::GeoDataObject.
Definition at line 106 of file GeoDataData.cpp.
QVariant Marble::GeoDataData::value | ( | ) | const |
return the value of data
Definition at line 68 of file GeoDataData.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.