marble
#include <GeoDataTimeSpan.h>
Additional Inherited Members | |
Protected Member Functions inherited from Marble::GeoDataObject | |
virtual bool | equals (const GeoDataObject &other) const |
Detailed Description
Definition at line 28 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
const GeoDataTimeStamp & Marble::GeoDataTimeSpan::begin | ( | ) | const |
return the beginning instant of a timespan
Definition at line 71 of file GeoDataTimeSpan.cpp.
GeoDataTimeStamp & Marble::GeoDataTimeSpan::begin | ( | ) |
Definition at line 76 of file GeoDataTimeSpan.cpp.
const GeoDataTimeStamp & Marble::GeoDataTimeSpan::end | ( | ) | const |
return the ending instant of a timespan
Definition at line 47 of file GeoDataTimeSpan.cpp.
GeoDataTimeStamp & Marble::GeoDataTimeSpan::end | ( | ) |
Definition at line 52 of file GeoDataTimeSpan.cpp.
bool Marble::GeoDataTimeSpan::isValid | ( | ) | const |
- Returns
- True iff either of begin or end is valid, or if begin and end are both valid and begin is <= end
Definition at line 62 of file GeoDataTimeSpan.cpp.
|
virtual |
Provides type information for downcasting a GeoNode.
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 42 of file GeoDataTimeSpan.cpp.
bool Marble::GeoDataTimeSpan::operator!= | ( | const GeoDataTimeSpan & | other | ) | const |
Definition at line 100 of file GeoDataTimeSpan.cpp.
GeoDataTimeSpan & Marble::GeoDataTimeSpan::operator= | ( | const GeoDataTimeSpan & | other | ) |
assignment operator
Definition at line 86 of file GeoDataTimeSpan.cpp.
bool Marble::GeoDataTimeSpan::operator== | ( | const GeoDataTimeSpan & | other | ) | const |
equality operators
Definition at line 93 of file GeoDataTimeSpan.cpp.
|
virtual |
Serialize the timespan to a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 105 of file GeoDataTimeSpan.cpp.
void Marble::GeoDataTimeSpan::setBegin | ( | const GeoDataTimeStamp & | begin | ) |
Set the beginning instant of a timespan.
- Parameters
-
begin the beginning instant of a timespan
Definition at line 81 of file GeoDataTimeSpan.cpp.
void Marble::GeoDataTimeSpan::setEnd | ( | const GeoDataTimeStamp & | end | ) |
Set the ending instant of a timespan.
- Parameters
-
begin the ending instant of a timespan
Definition at line 57 of file GeoDataTimeSpan.cpp.
|
virtual |
Unserialize the timespan from a stream.
- Parameters
-
stream the stream
Reimplemented from Marble::GeoDataTimePrimitive.
Definition at line 112 of file GeoDataTimeSpan.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.