123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- #ifndef FIX44_ALLOCATIONINSTRUCTIONACK_H
- #define FIX44_ALLOCATIONINSTRUCTIONACK_H
- #include "Message.h"
- namespace FIX44
- {
- class AllocationInstructionAck : public Message
- {
- public:
- AllocationInstructionAck() : Message(MsgType()) {}
- AllocationInstructionAck(const FIX::Message& m) : Message(m) {}
- AllocationInstructionAck(const Message& m) : Message(m) {}
- AllocationInstructionAck(const AllocationInstructionAck& m) : Message(m) {}
- static FIX::MsgType MsgType() { return FIX::MsgType("P"); }
- AllocationInstructionAck(
- const FIX::AllocID& aAllocID,
- const FIX::TransactTime& aTransactTime,
- const FIX::AllocStatus& aAllocStatus )
- : Message(MsgType())
- {
- set(aAllocID);
- set(aTransactTime);
- set(aAllocStatus);
- }
- FIELD_SET(*this, FIX::AllocID);
- FIELD_SET(*this, FIX::NoPartyIDs);
- class NoPartyIDs: public FIX::Group
- {
- public:
- NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
- FIELD_SET(*this, FIX::PartyID);
- FIELD_SET(*this, FIX::PartyIDSource);
- FIELD_SET(*this, FIX::PartyRole);
- FIELD_SET(*this, FIX::NoPartySubIDs);
- class NoPartySubIDs: public FIX::Group
- {
- public:
- NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
- FIELD_SET(*this, FIX::PartySubID);
- FIELD_SET(*this, FIX::PartySubIDType);
- };
- };
- FIELD_SET(*this, FIX::SecondaryAllocID);
- FIELD_SET(*this, FIX::TradeDate);
- FIELD_SET(*this, FIX::TransactTime);
- FIELD_SET(*this, FIX::AllocStatus);
- FIELD_SET(*this, FIX::AllocRejCode);
- FIELD_SET(*this, FIX::AllocType);
- FIELD_SET(*this, FIX::AllocIntermedReqType);
- FIELD_SET(*this, FIX::MatchStatus);
- FIELD_SET(*this, FIX::Product);
- FIELD_SET(*this, FIX::SecurityType);
- FIELD_SET(*this, FIX::Text);
- FIELD_SET(*this, FIX::EncodedTextLen);
- FIELD_SET(*this, FIX::EncodedText);
- FIELD_SET(*this, FIX::NoAllocs);
- class NoAllocs: public FIX::Group
- {
- public:
- NoAllocs() : FIX::Group(78,79,FIX::message_order(79,661,366,467,776,161,360,361,0)) {}
- FIELD_SET(*this, FIX::AllocAccount);
- FIELD_SET(*this, FIX::AllocAcctIDSource);
- FIELD_SET(*this, FIX::AllocPrice);
- FIELD_SET(*this, FIX::IndividualAllocID);
- FIELD_SET(*this, FIX::IndividualAllocRejCode);
- FIELD_SET(*this, FIX::AllocText);
- FIELD_SET(*this, FIX::EncodedAllocTextLen);
- FIELD_SET(*this, FIX::EncodedAllocText);
- };
- };
- }
- #endif
|