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

44 lines
1.2 KiB
C++

#ifndef FIX42_ALLOCATIONINSTRUCTIONACK_H
#define FIX42_ALLOCATIONINSTRUCTIONACK_H
#include "Message.h"
namespace FIX42
{
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);
FIELD_SET(*this, FIX::EncodedTextLen);
FIELD_SET(*this, FIX::EncodedText);
};
}
#endif