BidResponse.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef FIX42_BIDRESPONSE_H
  2. #define FIX42_BIDRESPONSE_H
  3. #include "Message.h"
  4. namespace FIX42
  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,66,421,54,44,423,406,430,63,64,336,58,354,355,0)) {}
  21. FIELD_SET(*this, FIX::Commission);
  22. FIELD_SET(*this, FIX::CommType);
  23. FIELD_SET(*this, FIX::ListID);
  24. FIELD_SET(*this, FIX::Country);
  25. FIELD_SET(*this, FIX::Side);
  26. FIELD_SET(*this, FIX::Price);
  27. FIELD_SET(*this, FIX::PriceType);
  28. FIELD_SET(*this, FIX::FairValue);
  29. FIELD_SET(*this, FIX::NetGrossInd);
  30. FIELD_SET(*this, FIX::SettlmntTyp);
  31. FIELD_SET(*this, FIX::FutSettDate);
  32. FIELD_SET(*this, FIX::TradingSessionID);
  33. FIELD_SET(*this, FIX::Text);
  34. FIELD_SET(*this, FIX::EncodedTextLen);
  35. FIELD_SET(*this, FIX::EncodedText);
  36. };
  37. };
  38. }
  39. #endif