1 #ifndef jb_itch5_seconds_field_hpp 2 #define jb_itch5_seconds_field_hpp 37 return std::chrono::seconds(
count_);
58 template <
bool val
idate>
70 template <
bool val
idate>
74 r(std::size_t
size,
void const* buf, std::size_t offset) {
77 check_seconds_field_range<validate>(tmp);
89 #endif // jb_itch5_seconds_field_hpp seconds_field(int c=0)
Constructor.
static T r(std::size_t size, void const *msg, std::size_t offset)
Read a single message or field.
Represent a ITCH-5.0 seconds_field.
void check_seconds_field_range< true >(seconds_field const &t)
Provide an active implementation of jb::itch5::check_seconds_field_range<>
Define the interface to decode ITCH-5.0 messages and message fields.
std::chrono::seconds seconds() const
static seconds_field r(std::size_t size, void const *buf, std::size_t offset)
Please see the generic documentation for jb::itch5::decoder<>::r()
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::itch5::add_order_message.
void check_seconds_field_range(seconds_field const &t)
Validate the a seconds_field value.
seconds_field(std::chrono::seconds const &s)
Constructor from std::chrono::seconds.
The top-level namespace for the JayBeams library.