#include <SystemText.h>
Public Types | |
enum | { messageType = 'L' } |
Public Member Functions | |
SystemText () | |
SystemText (const char *data, size_t dataSize) | |
void | deserialize (const char *data, size_t dataSize) |
void | reset () |
std::string | toString () const |
Public Attributes | |
std::string | textMessage |
DateTime | dateTime |
std::string | textMessageExtraFld |
Definition at line 35 of file SystemText.h.
anonymous enum |
SystemText | ( | ) |
Default constructor.
SystemText | ( | const char * | data, |
size_t | dataSize | ||
) |
Initialize from raw message data.
void deserialize | ( | const char * | data, |
size_t | dataSize | ||
) |
Deserialize from raw data.
void reset | ( | ) |
Reset all fields to default values.
std::string toString | ( | ) | const |
Returns string representation.
DateTime dateTime |
Date time the message was sent. Milliseconds since Jan 1st, 1970, 00:00:00 GMT.
Definition at line 45 of file SystemText.h.
std::string textMessage |
Text of message.
Definition at line 41 of file SystemText.h.
std::string textMessageExtraFld |
Extra field for text message when TextMessage field is not big enough. This should be appended to TextMessage if it is not empty.
Definition at line 49 of file SystemText.h.