22 #include <util/TextBuilder.h> 23 #include <util/Converter.h> 27 #include "NamespaceHelper.h" 29 ONIXS_HANDLER_NAMESPACE_BEGIN
47 const unsigned int size = 20;
48 const unsigned int offset = 1;
50 return OnixS::Util::str2ui64(fixedStr<size>(offset).items(), size);
58 if(size < messageSize_)
77 return tb <<
toStr(msg);
80 ONIXS_HANDLER_NAMESPACE_END
#define ONIXS_SGXTITAN_ITCH_CONST_OR_CONSTEXPR
Util::TextBuilder & operator<<(Util::TextBuilder &tb, const EndOfSnapshotMsg &msg)
EndOfSnapshotMsg(const unsigned char *data, UInt16 length)
UInt64 sequenceNumber() const
Human readable long name of Instrument series.
UInt16 MessageSize
Aliases message length type.
Glimpse message type enumeration.
std::string toStr(const EndOfSnapshotMsg &msg)
Serializes object into string.
ONIXS_SGXTITAN_ITCH_API void throwIncorrectSize(const std::string &messageName, MessageSize receivedSize, MessageSize expectedSize)
static void validateSize(MessageSize size)