marble
#include <GeoDataTimeStamp.h>
Public Types | |
enum | TimeResolution { SecondResolution, DayResolution, MonthResolution, YearResolution } |
Additional Inherited Members | |
Protected Member Functions inherited from Marble::GeoDataObject | |
virtual bool | equals (const GeoDataObject &other) const |
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 61 of file GeoDataTimeStamp.cpp.
bool Marble::GeoDataTimeStamp::operator!= | ( | const GeoDataTimeStamp & | other | ) | const |
Definition at line 55 of file GeoDataTimeStamp.cpp.
GeoDataTimeStamp & Marble::GeoDataTimeStamp::operator= | ( | const GeoDataTimeStamp & | other | ) |
assignment operator
Definition at line 41 of file GeoDataTimeStamp.cpp.
bool Marble::GeoDataTimeStamp::operator== | ( | const GeoDataTimeStamp & | other | ) | const |
equality operators
Definition at line 48 of file GeoDataTimeStamp.cpp.
|
virtual |
Serialize the timestamp to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 86 of file GeoDataTimeStamp.cpp.
GeoDataTimeStamp::TimeResolution Marble::GeoDataTimeStamp::resolution | ( | ) | const |
Definition at line 81 of file GeoDataTimeStamp.cpp.
void Marble::GeoDataTimeStamp::setResolution | ( | GeoDataTimeStamp::TimeResolution | resolution | ) |
Definition at line 76 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 71 of file GeoDataTimeStamp.cpp.
|
virtual |
Unserialize the timestamp from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 93 of file GeoDataTimeStamp.cpp.
QDateTime Marble::GeoDataTimeStamp::when | ( | ) | const |
return the when time of timestamp
Definition at line 66 of file GeoDataTimeStamp.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:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.