JayBeams  0.1
Another project to have fun coding.
order_executed_message.cpp
Go to the documentation of this file.
2 
3 #include <boost/io/ios_state.hpp>
4 #include <ostream>
5 
6 namespace jb {
7 namespace pitch2 {
8 
9 std::ostream& operator<<(std::ostream& os, order_executed_message const& x) {
10  return os << "length=" << static_cast<int>(x.length.value())
11  << ",message_type=" << static_cast<int>(x.message_type.value())
12  << ",time_offset=" << x.time_offset.value()
13  << ",order_id=" << x.order_id.value()
14  << ",executed_quantity=" << x.executed_quantity.value()
15  << ",execution_id=" << x.execution_id.value();
16 }
17 
18 } // namespace pitch2
19 } // namespace jb
std::ostream & operator<<(std::ostream &os, add_order_message const &x)
Streaming operator for jb::pitch2::add_order_message.
boost::endian::little_uint64_buf_t order_id
boost::endian::little_uint8_buf_t length
boost::endian::little_uint32_buf_t time_offset
boost::endian::little_uint8_buf_t message_type
boost::endian::little_uint64_buf_t execution_id
Represent the &#39;Order Executed&#39; message in the PITCH-2.X protocol.
boost::endian::little_uint32_buf_t executed_quantity
The top-level namespace for the JayBeams library.
Definition: as_hhmmss.hpp:7