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


Definition at line 54 of file GPSWeekSecond.hpp.
Public Member Functions | ||||
| GPSWeekSecond (unsigned int w=0, double s=0., TimeSystem ts=TimeSystem::Unknown) throw () | ||||
| Default Constructor. | ||||
| GPSWeekSecond (const GPSWeekSecond &right) throw () | ||||
| Copy Constructor. | ||||
| GPSWeekSecond (const TimeTag &right) throw ( gpstk::InvalidRequest ) | ||||
| Alternate Copy Constructor. | ||||
| GPSWeekSecond (const CommonTime &right) throw ( gpstk::InvalidRequest ) | ||||
| Alternate Copy Constructor. | ||||
| GPSWeekSecond & | operator= (const GPSWeekSecond &right) throw () | |||
| Assignment Operator. | ||||
| virtual | ~GPSWeekSecond () throw () | |||
| Virtual Destructor. | ||||
| virtual CommonTime | convertToCommonTime () const throw ( gpstk::InvalidRequest ) | |||
| ||||
| virtual void | convertFromCommonTime (const CommonTime &ct) throw ( gpstk::InvalidRequest ) | |||
| 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. | ||||
| virtual unsigned int | getDayOfWeek () const throw () | |||
| Force this interface on this classes descendants. | ||||
| bool | operator== (const GPSWeekSecond &right) const throw () | |||
| bool | operator!= (const GPSWeekSecond &right) const throw () | |||
| bool | operator< (const GPSWeekSecond &right) const throw () | |||
| bool | operator> (const GPSWeekSecond &right) const throw () | |||
| bool | operator<= (const GPSWeekSecond &right) const throw () | |||
| bool | operator>= (const GPSWeekSecond &right) const throw () | |||
Public Attributes | ||||
| double | sow | |||
|
|
This is the earliest CommonTime convertible to GPSWeekSecond. Implements TimeTag. Definition at line 77 of file GPSWeekSecond.cpp. References CommonTime::get(), GPSTK_THROW, and gpstk::SEC_PER_DAY. |
|
|
Implements TimeTag. Definition at line 55 of file GPSWeekSecond.cpp. References gpstk::GPS_EPOCH_JDAY, GPSTK_THROW, gpstk::SEC_PER_DAY, CommonTime::set(), and GPSWeekSecond::sow. Referenced by TimeSystemCorrection::convertSystem(), CNAVEphemeris::getTransmitTime(), CNAVClock::getTransmitTime(), CNAV2EphClk::getTransmitTime(), gpstk::mixedScanTime(), and gpstk::scanTime(). |
|
|
Force this interface on this classes descendants.
Implements GPSWeek. Definition at line 169 of file GPSWeekSecond.hpp. Referenced by OrbElem::timeDisplay(). |
|
|
Return a string containing the default format to use in printing.
Reimplemented from GPSWeek. Definition at line 157 of file GPSWeekSecond.hpp. |
|
|
Return a string containing the characters that this class understands when printing times.
Reimplemented from GPSWeek. Definition at line 150 of file GPSWeekSecond.hpp. |
|
|
Returns true if this object's members are valid, false otherwise.
Reimplemented from GPSWeek. Definition at line 180 of file GPSWeekSecond.cpp. References GPSWeekSecond::sow. |
|
|
This function works similarly to printf. Instead of filling the format with data, it fills with error messages. Reimplemented from GPSWeek. Definition at line 126 of file GPSWeekSecond.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. Reimplemented from GPSWeek. Definition at line 103 of file GPSWeekSecond.cpp. References gpstk::StringUtils::formattedPrint(), and GPSTK_RETHROW. Referenced by SP3Header::reallyPutRecord(). |
|
|
Reset this object to the default state.
Reimplemented from GPSWeek. Definition at line 187 of file GPSWeekSecond.cpp. References GPSWeekSecond::sow. |
|
|
Set this object using the information provided in info.
Reimplemented from GPSWeek. Definition at line 149 of file GPSWeekSecond.cpp. References gpstk::StringUtils::asDouble(), and gpstk::StringUtils::asInt(). Referenced by gpstk::scanTime(). |
|
1.3.9.1