CBOE Emulator
1.0
|
A response describing the status of an order request. More...
#include <messages.hpp>
Public Member Functions | |
OrderResponse (SequenceNumber sequence, OrderID order_id_, OrderStatus 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 | order_id |
the ID of the newly created order | |
const OrderStatus | status |
the status of the newly created order | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const OrderResponse &message) |
Write the data from the message to a stream. More... | |
A response describing the status of an order request.
|
inline |
Initialize a new order response message.
sequence | the sequence number for the message |
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 |