OrderCancelReject.h 912 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef FIX40_ORDERCANCELREJECT_H
  2. #define FIX40_ORDERCANCELREJECT_H
  3. #include "Message.h"
  4. namespace FIX40
  5. {
  6. class OrderCancelReject : public Message
  7. {
  8. public:
  9. OrderCancelReject() : Message(MsgType()) {}
  10. OrderCancelReject(const FIX::Message& m) : Message(m) {}
  11. OrderCancelReject(const Message& m) : Message(m) {}
  12. OrderCancelReject(const OrderCancelReject& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("9"); }
  14. OrderCancelReject(
  15. const FIX::OrderID& aOrderID,
  16. const FIX::ClOrdID& aClOrdID )
  17. : Message(MsgType())
  18. {
  19. set(aOrderID);
  20. set(aClOrdID);
  21. }
  22. FIELD_SET(*this, FIX::OrderID);
  23. FIELD_SET(*this, FIX::ClOrdID);
  24. FIELD_SET(*this, FIX::ClientID);
  25. FIELD_SET(*this, FIX::ExecBroker);
  26. FIELD_SET(*this, FIX::ListID);
  27. FIELD_SET(*this, FIX::CxlRejReason);
  28. FIELD_SET(*this, FIX::Text);
  29. };
  30. }
  31. #endif