Files
externals/linux/include/quickfix/fix41/AllocationInstructionAck.h
2017-10-15 17:59:31 -04:00

42 lines
1.1 KiB
C++

#ifndef FIX41_ALLOCATIONINSTRUCTIONACK_H
#define FIX41_ALLOCATIONINSTRUCTIONACK_H
#include "Message.h"
namespace FIX41
{
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::TradeDate& aTradeDate,
const FIX::AllocStatus& aAllocStatus )
: Message(MsgType())
{
set(aAllocID);
set(aTradeDate);
set(aAllocStatus);
}
FIELD_SET(*this, FIX::ClientID);
FIELD_SET(*this, FIX::ExecBroker);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::TradeDate);
FIELD_SET(*this, FIX::TransactTime);
FIELD_SET(*this, FIX::AllocStatus);
FIELD_SET(*this, FIX::AllocRejCode);
FIELD_SET(*this, FIX::Text);
};
}
#endif