SequenceReset.h 642 B

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