![]()  | 
              
                  0.5.0
                 
               | 
            
Time System defintions. More...
Public Types | |
| enum class | TimeSystemEnum : uint8_t {  TimeSys_None , UTC , GPST , GLNT , GST , BDT , QZSST , IRNSST , COUNT }  | 
| Continuous enum for the time systems.  More... | |
Public Member Functions | |
| TimeSystemEnum | getEnumValue () const | 
| Returns the enum value (only one must be set)   | |
| constexpr | operator bool ()=delete | 
| Prevent usage: if(...)   | |
| constexpr | operator int () const | 
| int conversion operator   | |
| operator std::string () const | |
| std::string conversion operator   | |
| constexpr | operator TimeSystem_ () const | 
| Allow switch(TimeSystem_(type)) and comparisons.   | |
| constexpr TimeSystem & | operator= (TimeSystem_ v) | 
| Assignment operator from Value type.   | |
| constexpr | TimeSystem ()=default | 
| Default Constructor.   | |
| constexpr | TimeSystem (TimeSystem_ type) | 
| Implicit Constructor from Value type.   | |
| constexpr | TimeSystem (TimeSystemEnum timeSystem) | 
| constexpr const char * | toString () const | 
| Converts the time system into a string.   | |
Static Public Member Functions | |
| static TimeSystem | fromString (const std::string &typeString) | 
| Construct new object from std::string.   | |
| static TimeSystemEnum | GetTimeSystemEnumValue (TimeSystem timeSystem) | 
| Returns the enum value (only one must be set)   | |
Private Attributes | |
| TimeSystem_ | value | 
| Internal value.   | |
Friends | |
| constexpr bool | operator== (const TimeSystem &lhs, const TimeSystem &rhs) | 
| Equal compares values.   | |
Time System defintions.
Definition at line 39 of file TimeSystem.hpp.
      
  | 
  strong | 
Continuous enum for the time systems.
| Enumerator | |
|---|---|
| TimeSys_None | No Time system.  | 
| UTC | Coordinated Universal Time.  | 
| GPST | GPS Time.  | 
| GLNT | GLONASS Time (GLONASST)  | 
| GST | Galileo System Time.  | 
| BDT | BeiDou Time.  | 
| QZSST | Quasi-Zenith Satellite System Time.  | 
| IRNSST | Indian Regional Navigation Satellite System Time.  | 
| COUNT | Amount of items in the enum.  | 
Definition at line 138 of file TimeSystem.hpp.
      
  | 
  constexprdefault | 
Default Constructor.
      
  | 
  inlineconstexpr | 
Implicit Constructor from Value type.
| [in] | type | Value type to construct from | 
Definition at line 47 of file TimeSystem.hpp.
      
  | 
  inlineconstexpr | 
Constructor
| [in] | timeSystem | Time system enum value | 
Definition at line 160 of file TimeSystem.hpp.
      
  | 
  inlinestatic | 
Construct new object from std::string.
| [in] | typeString | String representation of the TimeSystem | 
Definition at line 53 of file TimeSystem.hpp.
      
  | 
  nodiscard | 
Returns the enum value (only one must be set)
Definition at line 20 of file TimeSystem.cpp.
      
  | 
  static | 
Returns the enum value (only one must be set)
| timeSystem | Time system | 
      
  | 
  explicitconstexprdelete | 
Prevent usage: if(...)
      
  | 
  inlineexplicitconstexpr | 
int conversion operator
Definition at line 105 of file TimeSystem.hpp.
      
  | 
  inlineexplicit | 
std::string conversion operator
Definition at line 109 of file TimeSystem.hpp.
      
  | 
  inlineexplicitconstexpr | 
Allow switch(TimeSystem_(type)) and comparisons.
Definition at line 99 of file TimeSystem.hpp.
      
  | 
  inlineconstexpr | 
Assignment operator from Value type.
| [in] | v | Value type to construct from | 
Definition at line 90 of file TimeSystem.hpp.
      
  | 
  inlinenodiscardconstexpr | 
Converts the time system into a string.
Definition at line 112 of file TimeSystem.hpp.
      
  | 
  friend | 
Equal compares values.
| [in] | lhs | Left-hand side of the operator | 
| [in] | rhs | Right-hand side of the operator | 
Definition at line 365 of file TimeSystem.hpp.
      
  | 
  private | 
Internal value.
Definition at line 193 of file TimeSystem.hpp.