1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef FIX50SP2_BUSINESSMESSAGEREJECT_H
- #define FIX50SP2_BUSINESSMESSAGEREJECT_H
- #include "Message.h"
- namespace FIX50SP2
- {
- class BusinessMessageReject : public Message
- {
- public:
- BusinessMessageReject() : Message(MsgType()) {}
- BusinessMessageReject(const FIX::Message& m) : Message(m) {}
- BusinessMessageReject(const Message& m) : Message(m) {}
- BusinessMessageReject(const BusinessMessageReject& m) : Message(m) {}
- static FIX::MsgType MsgType() { return FIX::MsgType("j"); }
- BusinessMessageReject(
- const FIX::RefMsgType& aRefMsgType,
- const FIX::BusinessRejectReason& aBusinessRejectReason )
- : Message(MsgType())
- {
- set(aRefMsgType);
- set(aBusinessRejectReason);
- }
- FIELD_SET(*this, FIX::RefSeqNum);
- FIELD_SET(*this, FIX::RefMsgType);
- FIELD_SET(*this, FIX::RefApplVerID);
- FIELD_SET(*this, FIX::RefApplExtID);
- FIELD_SET(*this, FIX::RefCstmApplVerID);
- FIELD_SET(*this, FIX::BusinessRejectRefID);
- FIELD_SET(*this, FIX::BusinessRejectReason);
- FIELD_SET(*this, FIX::Text);
- FIELD_SET(*this, FIX::EncodedTextLen);
- FIELD_SET(*this, FIX::EncodedText);
- };
- }
- #endif
|