MarketDefinitionRequest.h 996 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef FIX50SP1_MARKETDEFINITIONREQUEST_H
  2. #define FIX50SP1_MARKETDEFINITIONREQUEST_H
  3. #include "Message.h"
  4. namespace FIX50SP1
  5. {
  6. class MarketDefinitionRequest : public Message
  7. {
  8. public:
  9. MarketDefinitionRequest() : Message(MsgType()) {}
  10. MarketDefinitionRequest(const FIX::Message& m) : Message(m) {}
  11. MarketDefinitionRequest(const Message& m) : Message(m) {}
  12. MarketDefinitionRequest(const MarketDefinitionRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("BT"); }
  14. MarketDefinitionRequest(
  15. const FIX::MarketReqID& aMarketReqID,
  16. const FIX::SubscriptionRequestType& aSubscriptionRequestType )
  17. : Message(MsgType())
  18. {
  19. set(aMarketReqID);
  20. set(aSubscriptionRequestType);
  21. }
  22. FIELD_SET(*this, FIX::MarketReqID);
  23. FIELD_SET(*this, FIX::SubscriptionRequestType);
  24. FIELD_SET(*this, FIX::MarketID);
  25. FIELD_SET(*this, FIX::MarketSegmentID);
  26. FIELD_SET(*this, FIX::ParentMktSegmID);
  27. };
  28. }
  29. #endif