![]() |
0.4.1
|
Time System defintions. More...
Go to the source code of this file.
Data Structures | |
struct | std::hash< NAV::TimeSystem > |
Hash function for TimeSystem (needed for unordered_map) More... | |
class | NAV::TimeSystem |
Time System defintions. More... | |
Namespaces | |
namespace | NAV |
namespace | std |
Enumerations | |
enum | NAV::TimeSystem_ : uint8_t { NAV::TimeSys_None , NAV::UTC , NAV::GPST , NAV::GLNT , NAV::GST , NAV::BDT , NAV::QZSST , NAV::IRNSST } |
List of all time systems. More... | |
Functions | |
bool | NAV::ComboTimeSystem (const char *label, TimeSystem &timeSystem) |
Shows a ComboBox to select the time system. | |
void | NAV::from_json (const json &j, TimeSystem &timeSystem) |
Converts the provided json object into a TimeSystem. | |
constexpr bool | NAV::operator!= (const TimeSystem &lhs, const TimeSystem &rhs) |
Inequal compares values. | |
constexpr bool | NAV::operator!= (const TimeSystem &lhs, const TimeSystem_ &rhs) |
Inequal compares values. | |
constexpr bool | NAV::operator!= (const TimeSystem_ &lhs, const TimeSystem &rhs) |
Inequal compares values. | |
constexpr TimeSystem | NAV::operator& (TimeSystem lhs, TimeSystem rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem | NAV::operator& (TimeSystem lhs, TimeSystem_ rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem | NAV::operator& (TimeSystem_ lhs, TimeSystem rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem_ | NAV::operator& (TimeSystem_ lhs, TimeSystem_ rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem & | NAV::operator&= (TimeSystem &lhs, const TimeSystem &rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem & | NAV::operator&= (TimeSystem &lhs, const TimeSystem_ &rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem_ & | NAV::operator&= (TimeSystem_ &lhs, const TimeSystem &rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem_ & | NAV::operator&= (TimeSystem_ &lhs, const TimeSystem_ &rhs) |
Allows combining flags of the TimeSystem enum. | |
std::ostream & | operator<< (std::ostream &os, const NAV::TimeSystem &obj) |
Stream insertion operator overload. | |
constexpr bool | NAV::operator== (const TimeSystem &lhs, const TimeSystem &rhs) |
Equal compares values. | |
constexpr bool | NAV::operator== (const TimeSystem &lhs, const TimeSystem_ &rhs) |
Equal compares values. | |
constexpr bool | NAV::operator== (const TimeSystem_ &lhs, const TimeSystem &rhs) |
Equal compares values. | |
constexpr TimeSystem | NAV::operator| (TimeSystem lhs, TimeSystem rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem | NAV::operator| (TimeSystem lhs, TimeSystem_ rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem | NAV::operator| (TimeSystem_ lhs, TimeSystem rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem_ | NAV::operator| (TimeSystem_ lhs, TimeSystem_ rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem & | NAV::operator|= (TimeSystem &lhs, const TimeSystem &rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem & | NAV::operator|= (TimeSystem &lhs, const TimeSystem_ &rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem_ & | NAV::operator|= (TimeSystem_ &lhs, const TimeSystem &rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem_ & | NAV::operator|= (TimeSystem_ &lhs, const TimeSystem_ &rhs) |
Allows combining flags of the TimeSystem enum. | |
constexpr TimeSystem | NAV::operator~ (TimeSystem rhs) |
Allows negating flags of the TimeSystem enum. | |
constexpr TimeSystem | NAV::operator~ (TimeSystem_ rhs) |
Allows negating flags of the TimeSystem enum. | |
void | NAV::to_json (json &j, const TimeSystem &timeSystem) |
Converts the provided TimeSystem into a json object. | |
const char * | NAV::to_string (TimeSystem::TimeSystemEnum timeSystem) |
Converts the enum to a string. | |
std::ostream & operator<< | ( | std::ostream & | os, |
const NAV::TimeSystem & | obj ) |
Stream insertion operator overload.
[in,out] | os | Output stream object to stream the time into |
[in] | obj | Object to print |
Definition at line 62 of file TimeSystem.cpp.