std::ostream & operator<<(std::ostream &, const Error &)
Make it printable to formatted C++ I/O streams.
This class represents the Strip Info Message.
StripInfo()
Default constructor.
short endYear
4 digit year.
std::string toString() const
Returns string representation.
short endDay
Day of the month.
StripInfo(const char *data, std::size_t dataSize)
Initialize from raw message data.
short endMonth
Month range 1-12.
short beginDay
Day of the month.
short beginMonth
Month range 1-12.
void deserialize(const char *data, std::size_t dataSize)
Deserialize from raw data.
std::string stripType
Strip info type.
void reset()
Reset all fields to default values.
std::string stripName
Strip name.
int stripId
Unique identifier of the strip info.
short beginYear
4 digit year.