CBOE Emulator
1.0
|
A response describing the replacement of an active order with a new order. More...
#include <messages.hpp>
Public Member Functions | |
ReplaceResponse (SequenceNumber sequence, OrderID canceled_, OrderID new_order_id_, ReplaceStatus status_) | |
Initialize a new order response message. More... | |
std::string | to_string () const |
Convert the object to an STL string. More... | |
Public Attributes | |
const Header | header |
the header for the message | |
const OrderID | canceled |
the ID of the newly created order | |
const OrderID | new_order_id |
the ID of the newly created order | |
const ReplaceStatus | status |
the status of the newly created order | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const ReplaceResponse &message) |
Write the data from the message to a stream. More... | |
A response describing the replacement of an active order with a new order.
|
inline |
Initialize a new order response message.
sequence | the sequence number for the message |
canceled_ | the ID of the canceled order |
new_order_id_ | the ID of the newly created order |
status_ | the status of the order request |
|
inline |
Convert the object to an STL string.
|
friend |
Write the data from the message to a stream.
stream | the stream to write the data to |
message | the message to write to the stream |