32 namespace MarketData {
42 return ordinary<Binary4>(2);
49 return ordinary<Binary4>(6);
58 if (ONIXS_BATS_PITCH_CHECK_EXPECT((size < messageSize_),
false))
71 ONIXS_CBOECFE_PITCH_API
void toStr(std::string&,
const TimeMsg&);
ONIXS_CBOECFE_PITCH_API ONIXS_BATS_PITCH_COLDPATH ONIXS_BATS_PITCH_NORETURN void throwIncorrectSize(const std::string &messageName, MessageSize receivedSize, MessageSize expectedSize)
static ONIXS_BATS_PITCH_CONST_OR_CONSTEXPR MessageSize messageSize_
Total message size.
#define ONIXS_BATS_PITCH_CONST_OR_CONSTEXPR
Encapsulates services for manipulating little endian encoded messages.
BinaryMessage() ONIXS_BATS_PITCH_NOTHROW
Initializes blank instance referencing to nothing.
Binary2 MessageSize
Aliases message length type.
Binary4 epochTime() const ONIXS_BATS_PITCH_NOTHROW
Number of whole seconds since the Epoch (Midnight January 1, 1970 UTC).
static void validateSize(MessageSize size)
Check the given size.
#define ONIXS_BATS_PITCH_NOTHROW
ONIXS_CBOECFE_PITCH_API void toStr(std::string &, SideIndicator::Enum)
Appends string presentation of object.
TimeMsg(const void *data, MessageSize size) ONIXS_BATS_PITCH_NOTHROW
Initializes instance over given memory block.
Binary4 time() const ONIXS_BATS_PITCH_NOTHROW
Number of whole seconds from midnight CentralTime.
Time message is sent whenever the source time for a unit passes over a second boundary.