123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #ifndef FIX50SP1_APPLICATIONMESSAGEREQUEST_H
- #define FIX50SP1_APPLICATIONMESSAGEREQUEST_H
- #include "Message.h"
- namespace FIX50SP1
- {
- class ApplicationMessageRequest : public Message
- {
- public:
- ApplicationMessageRequest() : Message(MsgType()) {}
- ApplicationMessageRequest(const FIX::Message& m) : Message(m) {}
- ApplicationMessageRequest(const Message& m) : Message(m) {}
- ApplicationMessageRequest(const ApplicationMessageRequest& m) : Message(m) {}
- static FIX::MsgType MsgType() { return FIX::MsgType("BW"); }
- ApplicationMessageRequest(
- const FIX::ApplReqID& aApplReqID,
- const FIX::ApplReqType& aApplReqType )
- : Message(MsgType())
- {
- set(aApplReqID);
- set(aApplReqType);
- }
- FIELD_SET(*this, FIX::ApplReqID);
- FIELD_SET(*this, FIX::ApplReqType);
- FIELD_SET(*this, FIX::NoApplIDs);
- class NoApplIDs: public FIX::Group
- {
- public:
- NoApplIDs() : FIX::Group(1351,1355,FIX::message_order(1355,1182,1183,0)) {}
- FIELD_SET(*this, FIX::RefApplID);
- FIELD_SET(*this, FIX::ApplBegSeqNum);
- FIELD_SET(*this, FIX::ApplEndSeqNum);
- };
- FIELD_SET(*this, FIX::Text);
- FIELD_SET(*this, FIX::EncodedTextLen);
- FIELD_SET(*this, FIX::EncodedText);
- };
- }
- #endif
|