BidResponse.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef FIX44_BIDRESPONSE_H
  2. #define FIX44_BIDRESPONSE_H
  3. #include "Message.h"
  4. namespace FIX44
  5. {
  6. class BidResponse : public Message
  7. {
  8. public:
  9. BidResponse() : Message(MsgType()) {}
  10. BidResponse(const FIX::Message& m) : Message(m) {}
  11. BidResponse(const Message& m) : Message(m) {}
  12. BidResponse(const BidResponse& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("l"); }
  14. FIELD_SET(*this, FIX::BidID);
  15. FIELD_SET(*this, FIX::ClientBidID);
  16. FIELD_SET(*this, FIX::NoBidComponents);
  17. class NoBidComponents: public FIX::Group
  18. {
  19. public:
  20. NoBidComponents() : FIX::Group(420,12,FIX::message_order(12,13,479,497,66,421,54,44,423,406,430,63,64,336,625,58,354,355,0)) {}
  21. FIELD_SET(*this, FIX::Commission);
  22. FIELD_SET(*this, FIX::CommType);
  23. FIELD_SET(*this, FIX::CommCurrency);
  24. FIELD_SET(*this, FIX::FundRenewWaiv);
  25. FIELD_SET(*this, FIX::ListID);
  26. FIELD_SET(*this, FIX::Country);
  27. FIELD_SET(*this, FIX::Side);
  28. FIELD_SET(*this, FIX::Price);
  29. FIELD_SET(*this, FIX::PriceType);
  30. FIELD_SET(*this, FIX::FairValue);
  31. FIELD_SET(*this, FIX::NetGrossInd);
  32. FIELD_SET(*this, FIX::SettlType);
  33. FIELD_SET(*this, FIX::SettlDate);
  34. FIELD_SET(*this, FIX::TradingSessionID);
  35. FIELD_SET(*this, FIX::TradingSessionSubID);
  36. FIELD_SET(*this, FIX::Text);
  37. FIELD_SET(*this, FIX::EncodedTextLen);
  38. FIELD_SET(*this, FIX::EncodedText);
  39. };
  40. };
  41. }
  42. #endif