marble
#include <GeoDataTimeStamp.h>

Public Types | |
enum | TimeResolution { SecondResolution, DayResolution, MonthResolution, YearResolution } |
Public Member Functions | |
GeoDataTimeStamp () | |
GeoDataTimeStamp (const GeoDataTimeStamp &other) | |
virtual | ~GeoDataTimeStamp () |
virtual const char * | nodeType () const |
GeoDataTimeStamp & | operator= (const GeoDataTimeStamp &other) |
virtual void | pack (QDataStream &stream) const |
TimeResolution | resolution () const |
void | setResolution (TimeResolution resolution) |
void | setWhen (const QDateTime &when) |
virtual void | unpack (QDataStream &stream) |
QDateTime | when () const |
![]() | |
GeoDataTimePrimitive () | |
GeoDataTimePrimitive (const GeoDataTimePrimitive &other) | |
~GeoDataTimePrimitive () | |
GeoDataTimePrimitive & | operator= (const GeoDataTimePrimitive &other) |
![]() | |
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 |
![]() | |
GeoNode () | |
virtual | ~GeoNode () |
![]() | |
virtual | ~Serializable () |
Detailed Description
Definition at line 27 of file GeoDataTimeStamp.h.
Member Enumeration Documentation
Enumerator | |
---|---|
SecondResolution | |
DayResolution | |
MonthResolution | |
YearResolution |
Definition at line 30 of file GeoDataTimeStamp.h.
Constructor & Destructor Documentation
Marble::GeoDataTimeStamp::GeoDataTimeStamp | ( | ) |
Definition at line 26 of file GeoDataTimeStamp.cpp.
Marble::GeoDataTimeStamp::GeoDataTimeStamp | ( | const GeoDataTimeStamp & | other | ) |
Definition at line 31 of file GeoDataTimeStamp.cpp.
|
virtual |
Definition at line 36 of file GeoDataTimeStamp.cpp.
Member Function Documentation
|
virtual |
Provides type information for downcasting a GeoNode.
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 48 of file GeoDataTimeStamp.cpp.
GeoDataTimeStamp & Marble::GeoDataTimeStamp::operator= | ( | const GeoDataTimeStamp & | other | ) |
assignment operator
Definition at line 41 of file GeoDataTimeStamp.cpp.
|
virtual |
Serialize the timestamp to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 73 of file GeoDataTimeStamp.cpp.
GeoDataTimeStamp::TimeResolution Marble::GeoDataTimeStamp::resolution | ( | ) | const |
Definition at line 68 of file GeoDataTimeStamp.cpp.
void Marble::GeoDataTimeStamp::setResolution | ( | GeoDataTimeStamp::TimeResolution | resolution | ) |
Definition at line 63 of file GeoDataTimeStamp.cpp.
void Marble::GeoDataTimeStamp::setWhen | ( | const QDateTime & | when | ) |
Set the when time of timestamp.
- Parameters
-
when the when time of timestamp
Definition at line 58 of file GeoDataTimeStamp.cpp.
|
virtual |
Unserialize the timestamp from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 80 of file GeoDataTimeStamp.cpp.
QDateTime Marble::GeoDataTimeStamp::when | ( | ) | const |
return the when time of timestamp
Definition at line 53 of file GeoDataTimeStamp.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.