1 #ifndef FIX41_NEWORDERLIST_H
2 #define FIX41_NEWORDERLIST_H
3 
4 #include "Message.h"
5 
6 namespace FIX41
7 {
8 
9   class NewOrderList : public Message
10   {
11   public:
NewOrderList()12     NewOrderList() : Message(MsgType()) {}
NewOrderList(const FIX::Message & m)13     NewOrderList(const FIX::Message& m) : Message(m) {}
NewOrderList(const Message & m)14     NewOrderList(const Message& m) : Message(m) {}
NewOrderList(const NewOrderList & m)15     NewOrderList(const NewOrderList& m) : Message(m) {}
MsgType()16     static FIX::MsgType MsgType() { return FIX::MsgType("E"); }
17 
NewOrderList(const FIX::ListID & aListID,const FIX::ListSeqNo & aListSeqNo,const FIX::ListNoOrds & aListNoOrds,const FIX::ClOrdID & aClOrdID,const FIX::HandlInst & aHandlInst,const FIX::Symbol & aSymbol,const FIX::Side & aSide,const FIX::OrderQty & aOrderQty,const FIX::OrdType & aOrdType)18     NewOrderList(
19       const FIX::ListID& aListID,
20       const FIX::ListSeqNo& aListSeqNo,
21       const FIX::ListNoOrds& aListNoOrds,
22       const FIX::ClOrdID& aClOrdID,
23       const FIX::HandlInst& aHandlInst,
24       const FIX::Symbol& aSymbol,
25       const FIX::Side& aSide,
26       const FIX::OrderQty& aOrderQty,
27       const FIX::OrdType& aOrdType )
28     : Message(MsgType())
29     {
30       set(aListID);
31       set(aListSeqNo);
32       set(aListNoOrds);
33       set(aClOrdID);
34       set(aHandlInst);
35       set(aSymbol);
36       set(aSide);
37       set(aOrderQty);
38       set(aOrdType);
39     }
40 
41     FIELD_SET(*this, FIX::ListID);
42     FIELD_SET(*this, FIX::WaveNo);
43     FIELD_SET(*this, FIX::ListSeqNo);
44     FIELD_SET(*this, FIX::ListNoOrds);
45     FIELD_SET(*this, FIX::ListExecInst);
46     FIELD_SET(*this, FIX::ClOrdID);
47     FIELD_SET(*this, FIX::ClientID);
48     FIELD_SET(*this, FIX::ExecBroker);
49     FIELD_SET(*this, FIX::Account);
50     FIELD_SET(*this, FIX::SettlmntTyp);
51     FIELD_SET(*this, FIX::FutSettDate);
52     FIELD_SET(*this, FIX::HandlInst);
53     FIELD_SET(*this, FIX::ExecInst);
54     FIELD_SET(*this, FIX::MinQty);
55     FIELD_SET(*this, FIX::MaxFloor);
56     FIELD_SET(*this, FIX::ExDestination);
57     FIELD_SET(*this, FIX::ProcessCode);
58     FIELD_SET(*this, FIX::Symbol);
59     FIELD_SET(*this, FIX::SymbolSfx);
60     FIELD_SET(*this, FIX::SecurityID);
61     FIELD_SET(*this, FIX::IDSource);
62     FIELD_SET(*this, FIX::SecurityType);
63     FIELD_SET(*this, FIX::MaturityMonthYear);
64     FIELD_SET(*this, FIX::MaturityDay);
65     FIELD_SET(*this, FIX::PutOrCall);
66     FIELD_SET(*this, FIX::StrikePrice);
67     FIELD_SET(*this, FIX::OptAttribute);
68     FIELD_SET(*this, FIX::SecurityExchange);
69     FIELD_SET(*this, FIX::Issuer);
70     FIELD_SET(*this, FIX::SecurityDesc);
71     FIELD_SET(*this, FIX::PrevClosePx);
72     FIELD_SET(*this, FIX::Side);
73     FIELD_SET(*this, FIX::LocateReqd);
74     FIELD_SET(*this, FIX::OrderQty);
75     FIELD_SET(*this, FIX::OrdType);
76     FIELD_SET(*this, FIX::Price);
77     FIELD_SET(*this, FIX::StopPx);
78     FIELD_SET(*this, FIX::PegDifference);
79     FIELD_SET(*this, FIX::Currency);
80     FIELD_SET(*this, FIX::TimeInForce);
81     FIELD_SET(*this, FIX::ExpireTime);
82     FIELD_SET(*this, FIX::Commission);
83     FIELD_SET(*this, FIX::CommType);
84     FIELD_SET(*this, FIX::Rule80A);
85     FIELD_SET(*this, FIX::ForexReq);
86     FIELD_SET(*this, FIX::SettlCurrency);
87     FIELD_SET(*this, FIX::Text);
88     FIELD_SET(*this, FIX::FutSettDate2);
89     FIELD_SET(*this, FIX::OrderQty2);
90     FIELD_SET(*this, FIX::OpenClose);
91     FIELD_SET(*this, FIX::CoveredOrUncovered);
92     FIELD_SET(*this, FIX::CustomerOrFirm);
93     FIELD_SET(*this, FIX::MaxShow);
94   };
95 
96 }
97 
98 #endif
99