1 #ifndef FIX50SP2_APPLICATIONMESSAGEREPORT_H 2 #define FIX50SP2_APPLICATIONMESSAGEREPORT_H 3 4 #include "Message.h" 5 6 namespace FIX50SP2 7 { 8 9 class ApplicationMessageReport : public Message 10 { 11 public: ApplicationMessageReport()12 ApplicationMessageReport() : Message(MsgType()) {} ApplicationMessageReport(const FIX::Message & m)13 ApplicationMessageReport(const FIX::Message& m) : Message(m) {} ApplicationMessageReport(const Message & m)14 ApplicationMessageReport(const Message& m) : Message(m) {} ApplicationMessageReport(const ApplicationMessageReport & m)15 ApplicationMessageReport(const ApplicationMessageReport& m) : Message(m) {} MsgType()16 static FIX::MsgType MsgType() { return FIX::MsgType("BY"); } 17 ApplicationMessageReport(const FIX::ApplReportID & aApplReportID,const FIX::ApplReportType & aApplReportType)18 ApplicationMessageReport( 19 const FIX::ApplReportID& aApplReportID, 20 const FIX::ApplReportType& aApplReportType ) 21 : Message(MsgType()) 22 { 23 set(aApplReportID); 24 set(aApplReportType); 25 } 26 27 FIELD_SET(*this, FIX::ApplReportID); 28 FIELD_SET(*this, FIX::ApplReportType); 29 FIELD_SET(*this, FIX::NoApplIDs); 30 class NoApplIDs: public FIX::Group 31 { 32 public: NoApplIDs()33 NoApplIDs() : FIX::Group(1351,1355,FIX::message_order(1355,1399,1357,0)) {} 34 FIELD_SET(*this, FIX::RefApplID); 35 FIELD_SET(*this, FIX::ApplNewSeqNum); 36 FIELD_SET(*this, FIX::RefApplLastSeqNum); 37 }; 38 FIELD_SET(*this, FIX::Text); 39 FIELD_SET(*this, FIX::EncodedTextLen); 40 FIELD_SET(*this, FIX::EncodedText); 41 FIELD_SET(*this, FIX::ApplReqID); 42 }; 43 44 } 45 46 #endif 47