1 #ifndef FIX44_BIDRESPONSE_H
2 #define FIX44_BIDRESPONSE_H
3 
4 #include "Message.h"
5 
6 namespace FIX44
7 {
8 
9   class BidResponse : public Message
10   {
11   public:
BidResponse()12     BidResponse() : Message(MsgType()) {}
BidResponse(const FIX::Message & m)13     BidResponse(const FIX::Message& m) : Message(m) {}
BidResponse(const Message & m)14     BidResponse(const Message& m) : Message(m) {}
BidResponse(const BidResponse & m)15     BidResponse(const BidResponse& m) : Message(m) {}
MsgType()16     static FIX::MsgType MsgType() { return FIX::MsgType("l"); }
17 
18     FIELD_SET(*this, FIX::BidID);
19     FIELD_SET(*this, FIX::ClientBidID);
20     FIELD_SET(*this, FIX::NoBidComponents);
21     class NoBidComponents: public FIX::Group
22     {
23     public:
NoBidComponents()24     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)) {}
25       FIELD_SET(*this, FIX::Commission);
26       FIELD_SET(*this, FIX::CommType);
27       FIELD_SET(*this, FIX::CommCurrency);
28       FIELD_SET(*this, FIX::FundRenewWaiv);
29       FIELD_SET(*this, FIX::ListID);
30       FIELD_SET(*this, FIX::Country);
31       FIELD_SET(*this, FIX::Side);
32       FIELD_SET(*this, FIX::Price);
33       FIELD_SET(*this, FIX::PriceType);
34       FIELD_SET(*this, FIX::FairValue);
35       FIELD_SET(*this, FIX::NetGrossInd);
36       FIELD_SET(*this, FIX::SettlType);
37       FIELD_SET(*this, FIX::SettlDate);
38       FIELD_SET(*this, FIX::TradingSessionID);
39       FIELD_SET(*this, FIX::TradingSessionSubID);
40       FIELD_SET(*this, FIX::Text);
41       FIELD_SET(*this, FIX::EncodedTextLen);
42       FIELD_SET(*this, FIX::EncodedText);
43     };
44   };
45 
46 }
47 
48 #endif
49