ConfirmationAck.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef FIX50SP1_CONFIRMATIONACK_H
  2. #define FIX50SP1_CONFIRMATIONACK_H
  3. #include "Message.h"
  4. namespace FIX50SP1
  5. {
  6. class ConfirmationAck : public Message
  7. {
  8. public:
  9. ConfirmationAck() : Message(MsgType()) {}
  10. ConfirmationAck(const FIX::Message& m) : Message(m) {}
  11. ConfirmationAck(const Message& m) : Message(m) {}
  12. ConfirmationAck(const ConfirmationAck& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("AU"); }
  14. ConfirmationAck(
  15. const FIX::ConfirmID& aConfirmID,
  16. const FIX::TradeDate& aTradeDate,
  17. const FIX::TransactTime& aTransactTime,
  18. const FIX::AffirmStatus& aAffirmStatus )
  19. : Message(MsgType())
  20. {
  21. set(aConfirmID);
  22. set(aTradeDate);
  23. set(aTransactTime);
  24. set(aAffirmStatus);
  25. }
  26. FIELD_SET(*this, FIX::ConfirmID);
  27. FIELD_SET(*this, FIX::TradeDate);
  28. FIELD_SET(*this, FIX::TransactTime);
  29. FIELD_SET(*this, FIX::AffirmStatus);
  30. FIELD_SET(*this, FIX::ConfirmRejReason);
  31. FIELD_SET(*this, FIX::MatchStatus);
  32. FIELD_SET(*this, FIX::Text);
  33. FIELD_SET(*this, FIX::EncodedTextLen);
  34. FIELD_SET(*this, FIX::EncodedText);
  35. };
  36. }
  37. #endif