#include <TimeSystem.hpp>
This is an example of a 'smart enum' class.
Definition at line 49 of file TimeSystem.hpp.
Public Types | |
| enum | Systems { Unknown = 0, Any, GPS, GLO, GAL, COM, UTC, UT1, TAI, TT, count } |
| list of time systems supported by this class More... | |
Public Member Functions | |
| TimeSystem (Systems sys=Unknown) throw () | |
| Constructor, including empty constructor. | |
| TimeSystem (int i) throw () | |
| constructor from int | |
| void | setTimeSystem (const Systems &sys) throw () |
| set the time system | |
| Systems | getTimeSystem () const throw () |
| get the time system | |
| std::string | asString () const throw () |
| Return a std::string for each system (these strings are const and static). | |
| void | fromString (const std::string str) throw () |
| define system based on input string | |
| bool | operator== (const TimeSystem &right) const throw () |
| boolean operator== | |
| bool | operator< (const TimeSystem &right) const throw () |
| boolean operator< (used by STL to sort) | |
| bool | operator!= (const TimeSystem &right) const throw () |
| boolean operator!= | |
| bool | operator>= (const TimeSystem &right) const throw () |
| boolean operator>= | |
| bool | operator<= (const TimeSystem &right) const throw () |
| boolean operator<= | |
| bool | operator> (const TimeSystem &right) const throw () |
| boolean operator> | |
|
|
list of time systems supported by this class
Definition at line 54 of file TimeSystem.hpp. |
|
|
Constructor, including empty constructor.
Definition at line 76 of file TimeSystem.hpp. |
|
|
constructor from int
Definition at line 85 of file TimeSystem.hpp. |
|
|
Return a std::string for each system (these strings are const and static).
Definition at line 104 of file TimeSystem.hpp. Referenced by CommonTime::asString(), TabularSatStore< ClockRecord >::checkTimeSystem(), SP3EphemerisStore::loadRinexClockFile(), and gpstk::operator<<(). |
|
|
define system based on input string
Definition at line 72 of file TimeSystem.cpp. Referenced by SP3Data::reallyGetRecord(). |
|
|
get the time system
Definition at line 99 of file TimeSystem.hpp. |
|
|
boolean operator!=
Definition at line 121 of file TimeSystem.hpp. References gpstk::operator==(). |
|
|
boolean operator< (used by STL to sort)
Definition at line 116 of file TimeSystem.hpp. |
|
|
boolean operator<=
Definition at line 129 of file TimeSystem.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
boolean operator==
Definition at line 112 of file TimeSystem.hpp. |
|
|
boolean operator>
Definition at line 133 of file TimeSystem.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
boolean operator>=
Definition at line 125 of file TimeSystem.hpp. References gpstk::operator<(). |
|
|
set the time system
Definition at line 63 of file TimeSystem.cpp. Referenced by SP3EphemerisStore::loadRinexClockFile(). |
1.3.9.1