StreamAssignmentReportACK.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef FIX50SP2_STREAMASSIGNMENTREPORTACK_H
  2. #define FIX50SP2_STREAMASSIGNMENTREPORTACK_H
  3. #include "Message.h"
  4. namespace FIX50SP2
  5. {
  6. class StreamAssignmentReportACK : public Message
  7. {
  8. public:
  9. StreamAssignmentReportACK() : Message(MsgType()) {}
  10. StreamAssignmentReportACK(const FIX::Message& m) : Message(m) {}
  11. StreamAssignmentReportACK(const Message& m) : Message(m) {}
  12. StreamAssignmentReportACK(const StreamAssignmentReportACK& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("CE"); }
  14. StreamAssignmentReportACK(
  15. const FIX::StreamAsgnAckType& aStreamAsgnAckType,
  16. const FIX::StreamAsgnRptID& aStreamAsgnRptID )
  17. : Message(MsgType())
  18. {
  19. set(aStreamAsgnAckType);
  20. set(aStreamAsgnRptID);
  21. }
  22. FIELD_SET(*this, FIX::StreamAsgnAckType);
  23. FIELD_SET(*this, FIX::StreamAsgnRptID);
  24. FIELD_SET(*this, FIX::StreamAsgnRejReason);
  25. FIELD_SET(*this, FIX::Text);
  26. FIELD_SET(*this, FIX::EncodedTextLen);
  27. FIELD_SET(*this, FIX::EncodedText);
  28. };
  29. }
  30. #endif