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


Definition at line 38 of file YDSTime.hpp.
Public Member Functions | ||||
| YDSTime (long y=0, long d=0, double s=0.) throw () | ||||
| Default Constructor. | ||||
| YDSTime (const YDSTime &right) throw () | ||||
| Copy Constructor. | ||||
| YDSTime (const TimeTag &right) throw ( InvalidRequest ) | ||||
| Alternate Copy Constructor. | ||||
| YDSTime (const CommonTime &right) throw () | ||||
| Alternate Copy Constructor. | ||||
| YDSTime & | operator= (const YDSTime &right) throw () | |||
| Assignment Operator. | ||||
| virtual | ~YDSTime () 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 YDSTime &right) const throw () | |||
| bool | operator!= (const YDSTime &right) const throw () | |||
| bool | operator< (const YDSTime &right) const throw () | |||
| bool | operator> (const YDSTime &right) const throw () | |||
| bool | operator<= (const YDSTime &right) const throw () | |||
| bool | operator>= (const YDSTime &right) const throw () | |||
Public Attributes | ||||
| int | year | |||
| int | doy | |||
| double | sod | |||
|
|
Implements TimeTag. Definition at line 56 of file YDSTime.cpp. References gpstk::convertCalendarToJD(), and gpstk::convertJDtoCalendar(). Referenced by YDSTime::isValid(). |
|
|
Implements TimeTag. Definition at line 41 of file YDSTime.cpp. References gpstk::convertCalendarToJD(), YDSTime::doy, GPSTK_THROW, YDSTime::sod, and YDSTime::year. Referenced by YDSTime::isValid(), gpstk::mixedScanTime(), and gpstk::scanTime(). |
|
|
Return a string containing the default format to use in printing.
Implements TimeTag. Definition at line 140 of file YDSTime.hpp. |
|
|
Return a string containing the characters that this class understands when printing times.
Implements TimeTag. Definition at line 133 of file YDSTime.hpp. |
|
|
Returns true if this object's members are valid, false otherwise.
Implements TimeTag. Definition at line 167 of file YDSTime.cpp. References YDSTime::convertFromCommonTime(), and YDSTime::convertToCommonTime(). |
|
|
This function works similarly to printf. Instead of filling the format with data, it fills with error messages. Implements TimeTag. Definition at line 93 of file YDSTime.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 69 of file YDSTime.cpp. References gpstk::StringUtils::formattedPrint(), and GPSTK_RETHROW. |
|
|
Reset this object to the default state.
Implements TimeTag. Definition at line 179 of file YDSTime.cpp. References YDSTime::doy, YDSTime::sod, and YDSTime::year. |
|
|
Set this object using the information provided in info.
Implements TimeTag. Definition at line 117 of file YDSTime.cpp. References gpstk::StringUtils::asDouble(), and gpstk::StringUtils::asInt(). Referenced by Test::otherTest(), and gpstk::scanTime(). |
|
|
Definition at line 175 of file YDSTime.hpp. Referenced by YDSTime::convertToCommonTime(), gpstk::mixedScanTime(), and YDSTime::reset(). |
|
|
Definition at line 176 of file YDSTime.hpp. Referenced by YDSTime::convertToCommonTime(), gpstk::mixedScanTime(), YDSTime::reset(), and gpstk::scanTime(). |
|
|
Definition at line 174 of file YDSTime.hpp. Referenced by YDSTime::convertToCommonTime(), gpstk::mixedScanTime(), and YDSTime::reset(). |
1.3.9.1