0.4.1
Loading...
Searching...
No Matches
TimeSystem.hpp File Reference

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 TimeSystemNAV::operator&= (TimeSystem &lhs, const TimeSystem &rhs)
 Allows combining flags of the TimeSystem enum.
 
constexpr TimeSystemNAV::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 TimeSystemNAV::operator|= (TimeSystem &lhs, const TimeSystem &rhs)
 Allows combining flags of the TimeSystem enum.
 
constexpr TimeSystemNAV::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.
 

Detailed Description

Time System defintions.

Author
T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
Date
2022-04-26

Definition in file TimeSystem.hpp.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
const NAV::TimeSystem & obj )

Stream insertion operator overload.

Parameters
[in,out]osOutput stream object to stream the time into
[in]objObject to print
Returns
Returns the output stream object in order to chain stream insertions

Definition at line 62 of file TimeSystem.cpp.