#include <MJD.hpp>
Inheritance diagram for MJD:


Definition at line 37 of file MJD.hpp.
Public Member Functions | ||||
| throw () | ||||
| Default Constructor. | ||||
| throw () | ||||
| Copy Constructor. | ||||
| throw (gpstk::InvalidRequest) | ||||
| Alternate Copy Constructor. | ||||
| throw () | ||||
| Alternate Copy Constructor. | ||||
| MJD & | operator= (const MJD &right) throw () | |||
| Assignment Operator. | ||||
| virtual | ~MJD () throw () | |||
| Virtual Destructor. | ||||
| virtual CommonTime | convertToCommonTime () const throw (InvalidRequest) | |||
| ||||
| virtual void | convertFromCommonTime (const CommonTime &ct) throw () | |||
| ||||
| virtual std::string | printf (const std::string &fmt) const throw ( gpstk::StringUtils::StringException ) | |||
| This function formats this time to a string. | ||||
| virtual std::string | printError (const std::string &fmt) const throw ( gpstk::StringUtils::StringException ) | |||
| This function works similarly to printf. | ||||
| virtual bool | setFromInfo (const IdToValue &info) throw () | |||
| Set this object using the information provided in info. | ||||
| virtual std::string | getPrintChars () const throw () | |||
| Return a string containing the characters that this class understands when printing times. | ||||
| virtual std::string | getDefaultFormat () const throw () | |||
| Return a string containing the default format to use in printing. | ||||
| virtual bool | isValid () const throw () | |||
| Returns true if this object's members are valid, false otherwise. | ||||
| virtual void | reset () throw () | |||
| Reset this object to the default state. | ||||
| bool | operator== (const MJD &right) const throw () | |||
| bool | operator!= (const MJD &right) const throw () | |||
| bool | operator< (const MJD &right) const throw () | |||
| bool | operator> (const MJD &right) const throw () | |||
| bool | operator<= (const MJD &right) const throw () | |||
| bool | operator>= (const MJD &right) const throw () | |||
Public Attributes | ||||
| long double | mjd | |||
|
|
Implements TimeTag. Definition at line 68 of file MJD.cpp. Referenced by MJD::isValid(). |
|
|
Implements TimeTag. Definition at line 39 of file MJD.cpp. References GPSTK_THROW, MJD::mjd, and gpstk::MJD_JDAY. Referenced by MJD::isValid(), and gpstk::scanTime(). |
|
|
Return a string containing the default format to use in printing.
Implements TimeTag. |
|
|
Return a string containing the characters that this class understands when printing times.
Implements TimeTag. |
|
|
Returns true if this object's members are valid, false otherwise.
Implements TimeTag. Definition at line 130 of file MJD.cpp. References MJD::convertFromCommonTime(), and MJD::convertToCommonTime(). |
|
|
This function works similarly to printf. Instead of filling the format with data, it fills with error messages. Implements TimeTag. Definition at line 98 of file MJD.cpp. References gpstk::StringUtils::formattedPrint(), and GPSTK_RETHROW. |
|
|
This function formats this time to a string. The exceptions thrown would only be due to problems parsing the fmt string. Implements TimeTag. Definition at line 80 of file MJD.cpp. References gpstk::StringUtils::formattedPrint(), and GPSTK_RETHROW. |
|
|
Reset this object to the default state.
Implements TimeTag. Definition at line 142 of file MJD.cpp. References MJD::mjd. |
|
|
Set this object using the information provided in info.
Implements TimeTag. Definition at line 116 of file MJD.cpp. References gpstk::StringUtils::asLongDouble(). Referenced by gpstk::scanTime(). |
|
|
Alternate Copy Constructor. Takes a const CommonTime reference and copies its contents via the convertFromCommonTime method.
|
|
|
Copy Constructor.
|
|
|
Definition at line 172 of file MJD.hpp. Referenced by MJD::convertToCommonTime(), and MJD::reset(). |
1.3.9.1