NMEA0183Data¶
-
struct
eduponz::easynmea::NMEA0183Data¶ Base struct for all NMEA 0183 Data types.
Subclassed by eduponz::easynmea::GPGGAData
Public Functions
-
NMEA0183Data(NMEA0183DataKind data_kind = NMEA0183DataKind::INVALID) noexcept¶ Default constructor; it empty-initializes the struct
- Parameters
[in] data_kind: TheNMEA0183DataKindof the data instance. Defaults toNMEA0183DataKind::INVALID
-
~NMEA0183Data() = default¶ Default virtual constructor.
-
bool
operator==(const NMEA0183Data &other) const noexcept¶ Check whether a
NMEA0183Datais equal to this one- Return
true if equal; false otherwise
- Parameters
[in] other: A constant reference to theNMEA0183Datato compare with this one
-
bool
operator!=(const NMEA0183Data &other) const noexcept¶ Check whether a
NMEA0183Datais different from this one- Return
true if different; false otherwise
- Parameters
[in] other: A constant reference to theNMEA0183Datato compare with this one
Public Members
-
NMEA0183DataKind
kind¶ The NMEA0183DataKind of the data.
-