marble
#include <GeoDataTimeSpan.h>

Public Member Functions | |
| GeoDataTimeSpan () | |
| GeoDataTimeSpan (const GeoDataTimeSpan &other) | |
| ~GeoDataTimeSpan () | |
| QDateTime | begin () const |
| QDateTime | end () const |
| virtual const char * | nodeType () const |
| GeoDataTimeSpan & | operator= (const GeoDataTimeSpan &other) |
| virtual void | pack (QDataStream &stream) const |
| void | setBegin (const QDateTime &begin) |
| void | setEnd (const QDateTime &end) |
| virtual void | unpack (QDataStream &stream) |
Public Member Functions inherited from Marble::GeoDataTimePrimitive | |
| GeoDataTimePrimitive () | |
| GeoDataTimePrimitive (const GeoDataTimePrimitive &other) | |
| ~GeoDataTimePrimitive () | |
| GeoDataTimePrimitive & | operator= (const GeoDataTimePrimitive &other) |
Public Member Functions inherited from Marble::GeoDataObject | |
| GeoDataObject () | |
| GeoDataObject (const GeoDataObject &) | |
| virtual | ~GeoDataObject () |
| int | id () const |
| GeoDataObject & | operator= (const GeoDataObject &) |
| virtual GeoDataObject * | parent () const |
| QString | resolvePath (const QString &relativePath) const |
| void | setId (int value) |
| virtual void | setParent (GeoDataObject *parent) |
| void | setTargetId (int value) |
| int | targetId () const |
Public Member Functions inherited from Marble::GeoNode | |
| GeoNode () | |
| virtual | ~GeoNode () |
Public Member Functions inherited from Marble::Serializable | |
| virtual | ~Serializable () |
Detailed Description
Definition at line 27 of file GeoDataTimeSpan.h.
Constructor & Destructor Documentation
| Marble::GeoDataTimeSpan::GeoDataTimeSpan | ( | ) |
Definition at line 27 of file GeoDataTimeSpan.cpp.
| Marble::GeoDataTimeSpan::GeoDataTimeSpan | ( | const GeoDataTimeSpan & | other | ) |
Definition at line 32 of file GeoDataTimeSpan.cpp.
| Marble::GeoDataTimeSpan::~GeoDataTimeSpan | ( | ) |
Definition at line 37 of file GeoDataTimeSpan.cpp.
Member Function Documentation
| QDateTime Marble::GeoDataTimeSpan::begin | ( | ) | const |
return the beginning instant of a timespan
Definition at line 57 of file GeoDataTimeSpan.cpp.
| QDateTime Marble::GeoDataTimeSpan::end | ( | ) | const |
return the ending instant of a timespan
Definition at line 47 of file GeoDataTimeSpan.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 42 of file GeoDataTimeSpan.cpp.
| GeoDataTimeSpan & Marble::GeoDataTimeSpan::operator= | ( | const GeoDataTimeSpan & | other | ) |
assignment operator
Definition at line 67 of file GeoDataTimeSpan.cpp.
|
virtual |
Serialize the timespan to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 74 of file GeoDataTimeSpan.cpp.
| void Marble::GeoDataTimeSpan::setBegin | ( | const QDateTime & | begin | ) |
Set the beginning instant of a timespan.
- Parameters
-
begin the beginning instant of a timespan
Definition at line 62 of file GeoDataTimeSpan.cpp.
| void Marble::GeoDataTimeSpan::setEnd | ( | const QDateTime & | end | ) |
Set the ending instant of a timespan.
- Parameters
-
begin the ending instant of a timespan
Definition at line 52 of file GeoDataTimeSpan.cpp.
|
virtual |
Unserialize the timespan from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 82 of file GeoDataTimeSpan.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from