123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef FIX41_LISTSTATUS_H
- #define FIX41_LISTSTATUS_H
- #include "Message.h"
- namespace FIX41
- {
- class ListStatus : public Message
- {
- public:
- ListStatus() : Message(MsgType()) {}
- ListStatus(const FIX::Message& m) : Message(m) {}
- ListStatus(const Message& m) : Message(m) {}
- ListStatus(const ListStatus& m) : Message(m) {}
- static FIX::MsgType MsgType() { return FIX::MsgType("N"); }
- ListStatus(
- const FIX::ListID& aListID,
- const FIX::NoRpts& aNoRpts,
- const FIX::RptSeq& aRptSeq )
- : Message(MsgType())
- {
- set(aListID);
- set(aNoRpts);
- set(aRptSeq);
- }
- FIELD_SET(*this, FIX::ListID);
- FIELD_SET(*this, FIX::WaveNo);
- FIELD_SET(*this, FIX::NoRpts);
- FIELD_SET(*this, FIX::RptSeq);
- FIELD_SET(*this, FIX::NoOrders);
- class NoOrders: public FIX::Group
- {
- public:
- NoOrders() : FIX::Group(73,11,FIX::message_order(11,14,151,84,6,0)) {}
- FIELD_SET(*this, FIX::ClOrdID);
- FIELD_SET(*this, FIX::CumQty);
- FIELD_SET(*this, FIX::LeavesQty);
- FIELD_SET(*this, FIX::CxlQty);
- FIELD_SET(*this, FIX::AvgPx);
- };
- };
- }
- #endif
|