MarketDataRequestReject.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #ifndef FIX50SP1_MARKETDATAREQUESTREJECT_H
  2. #define FIX50SP1_MARKETDATAREQUESTREJECT_H
  3. #include "Message.h"
  4. namespace FIX50SP1
  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::NoPartyIDs);
  22. class NoPartyIDs: public FIX::Group
  23. {
  24. public:
  25. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  26. FIELD_SET(*this, FIX::PartyID);
  27. FIELD_SET(*this, FIX::PartyIDSource);
  28. FIELD_SET(*this, FIX::PartyRole);
  29. FIELD_SET(*this, FIX::NoPartySubIDs);
  30. class NoPartySubIDs: public FIX::Group
  31. {
  32. public:
  33. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  34. FIELD_SET(*this, FIX::PartySubID);
  35. FIELD_SET(*this, FIX::PartySubIDType);
  36. };
  37. };
  38. FIELD_SET(*this, FIX::MDReqRejReason);
  39. FIELD_SET(*this, FIX::NoAltMDSource);
  40. class NoAltMDSource: public FIX::Group
  41. {
  42. public:
  43. NoAltMDSource() : FIX::Group(816,817,FIX::message_order(817,0)) {}
  44. FIELD_SET(*this, FIX::AltMDSourceID);
  45. };
  46. FIELD_SET(*this, FIX::Text);
  47. FIELD_SET(*this, FIX::EncodedTextLen);
  48. FIELD_SET(*this, FIX::EncodedText);
  49. };
  50. }
  51. #endif