Reject.h 576 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef FIX41_REJECT_H
  2. #define FIX41_REJECT_H
  3. #include "Message.h"
  4. namespace FIX41
  5. {
  6. class Reject : public Message
  7. {
  8. public:
  9. Reject() : Message(MsgType()) {}
  10. Reject(const FIX::Message& m) : Message(m) {}
  11. Reject(const Message& m) : Message(m) {}
  12. Reject(const Reject& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("3"); }
  14. Reject(
  15. const FIX::RefSeqNum& aRefSeqNum )
  16. : Message(MsgType())
  17. {
  18. set(aRefSeqNum);
  19. }
  20. FIELD_SET(*this, FIX::RefSeqNum);
  21. FIELD_SET(*this, FIX::Text);
  22. };
  23. }
  24. #endif