MarketDataRequestReject.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #ifndef FIX44_MARKETDATAREQUESTREJECT_H
  2. #define FIX44_MARKETDATAREQUESTREJECT_H
  3. #include "Message.h"
  4. namespace FIX44
  5. {
  6. class MarketDataRequestReject : public Message
  7. {
  8. public:
  9. MarketDataRequestReject() : Message(MsgType()) {}
  10. MarketDataRequestReject(const FIX::Message& m) : Message(m) {}
  11. MarketDataRequestReject(const Message& m) : Message(m) {}
  12. MarketDataRequestReject(const MarketDataRequestReject& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("Y"); }
  14. MarketDataRequestReject(
  15. const FIX::MDReqID& aMDReqID )
  16. : Message(MsgType())
  17. {
  18. set(aMDReqID);
  19. }
  20. FIELD_SET(*this, FIX::MDReqID);
  21. FIELD_SET(*this, FIX::MDReqRejReason);
  22. FIELD_SET(*this, FIX::NoAltMDSource);
  23. class NoAltMDSource: public FIX::Group
  24. {
  25. public:
  26. NoAltMDSource() : FIX::Group(816,817,FIX::message_order(817,0)) {}
  27. FIELD_SET(*this, FIX::AltMDSourceID);
  28. };
  29. FIELD_SET(*this, FIX::Text);
  30. FIELD_SET(*this, FIX::EncodedTextLen);
  31. FIELD_SET(*this, FIX::EncodedText);
  32. };
  33. }
  34. #endif