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
: TheNMEA0183DataKind
of the data instance. Defaults toNMEA0183DataKind::INVALID
-
~NMEA0183Data
() = default¶ Default virtual constructor.
-
bool
operator==
(const NMEA0183Data &other) const noexcept¶ Check whether a
NMEA0183Data
is equal to this one- Return
true if equal; false otherwise
- Parameters
[in] other
: A constant reference to theNMEA0183Data
to compare with this one
-
bool
operator!=
(const NMEA0183Data &other) const noexcept¶ Check whether a
NMEA0183Data
is different from this one- Return
true if different; false otherwise
- Parameters
[in] other
: A constant reference to theNMEA0183Data
to compare with this one
Public Members
-
NMEA0183DataKind
kind
¶ The NMEA0183DataKind of the data.
-