ResendRequest.h 707 B

123456789101112131415161718192021222324252627282930313233
  1. #ifndef FIX41_RESENDREQUEST_H
  2. #define FIX41_RESENDREQUEST_H
  3. #include "Message.h"
  4. namespace FIX41
  5. {
  6. class ResendRequest : public Message
  7. {
  8. public:
  9. ResendRequest() : Message(MsgType()) {}
  10. ResendRequest(const FIX::Message& m) : Message(m) {}
  11. ResendRequest(const Message& m) : Message(m) {}
  12. ResendRequest(const ResendRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("2"); }
  14. ResendRequest(
  15. const FIX::BeginSeqNo& aBeginSeqNo,
  16. const FIX::EndSeqNo& aEndSeqNo )
  17. : Message(MsgType())
  18. {
  19. set(aBeginSeqNo);
  20. set(aEndSeqNo);
  21. }
  22. FIELD_SET(*this, FIX::BeginSeqNo);
  23. FIELD_SET(*this, FIX::EndSeqNo);
  24. };
  25. }
  26. #endif