#include <StripInfo.h>
Public Types | |
enum | { messageType = 'i' } |
Public Member Functions | |
StripInfo () | |
StripInfo (const char *data, std::size_t dataSize) | |
void | deserialize (const char *data, std::size_t dataSize) |
void | reset () |
std::string | toString () const |
Public Attributes | |
std::string | stripType |
short | beginYear |
short | beginMonth |
short | beginDay |
short | endYear |
short | endMonth |
short | endDay |
std::string | stripName |
int | stripId |
Definition at line 35 of file StripInfo.h.
anonymous enum |
StripInfo | ( | ) |
Default constructor.
StripInfo | ( | const char * | data, |
std::size_t | dataSize | ||
) |
Initialize from raw message data.
void deserialize | ( | const char * | data, |
std::size_t | dataSize | ||
) |
Deserialize from raw data.
void reset | ( | ) |
Reset all fields to default values.
std::string toString | ( | ) | const |
Returns string representation.
short beginDay |
Day of the month.
Definition at line 53 of file StripInfo.h.
short beginMonth |
Month range 1-12.
Definition at line 50 of file StripInfo.h.
short beginYear |
4 digit year.
Definition at line 47 of file StripInfo.h.
short endDay |
Day of the month.
Definition at line 62 of file StripInfo.h.
short endMonth |
Month range 1-12.
Definition at line 59 of file StripInfo.h.
short endYear |
4 digit year.
Definition at line 56 of file StripInfo.h.
int stripId |
Unique identifier of the strip info.
Definition at line 68 of file StripInfo.h.
std::string stripName |
Strip name.
Definition at line 65 of file StripInfo.h.
std::string stripType |
Strip info type.
Definition at line 44 of file StripInfo.h.