JayBeams  0.1
Another project to have fun coding.
Classes | Namespaces | Functions
reduce_size_message.hpp File Reference
#include <boost/endian/buffers.hpp>
#include <iosfwd>

Go to the source code of this file.

Classes

struct  jb::pitch2::reduce_size_message< quantity_t >
 Represent the 'Reduce Size' messages in the PITCH-2.X protocol. More...
 
struct  jb::pitch2::reduce_size_long_message
 Represent the 'Reduce Size (long)' messages in the PITCH-2.X protocol. More...
 
struct  jb::pitch2::reduce_size_short_message
 Represent the 'Reduce Size (short)' messages in the PITCH-2.X protocol. More...
 

Namespaces

 jb
 The top-level namespace for the JayBeams library.
 
 jb::pitch2
 

Functions

std::ostream & jb::pitch2::operator<< (std::ostream &os, reduce_size_long_message const &x)
 Streaming operator for jb::pitch2::reduce_size_message. More...
 
std::ostream & jb::pitch2::operator<< (std::ostream &os, reduce_size_short_message const &x)
 Streaming operator for jb::pitch2::reduce_size_message. More...
 

Class Documentation

◆ jb::pitch2::reduce_size_message

struct jb::pitch2::reduce_size_message

template<typename quantity_t>
struct jb::pitch2::reduce_size_message< quantity_t >

Represent the 'Reduce Size' messages in the PITCH-2.X protocol.

A full description of the fields can be found in the BATS PITCH-2.X specification: https://www.batstrading.com/resources/membership/BATS_MC_PITCH_Specification.pdf

Template Parameters
quantity_tthe type used for the canceled_quantity field.

Definition at line 21 of file reduce_size_message.hpp.

Class Members
typedef quantity_t quantity_type Capture the quantity_t template parameter as a trait.
Class Members
quantity_type canceled_quantity
little_uint8_buf_t length
little_uint8_buf_t message_type
little_uint64_buf_t order_id
little_uint32_buf_t time_offset