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

104 lines
3.5 KiB
C++

#ifndef FIX50_ALLOCATIONREPORTACK_H
#define FIX50_ALLOCATIONREPORTACK_H
#include "Message.h"
namespace FIX50
{
class AllocationReportAck : public Message
{
public:
AllocationReportAck() : Message(MsgType()) {}
AllocationReportAck(const FIX::Message& m) : Message(m) {}
AllocationReportAck(const Message& m) : Message(m) {}
AllocationReportAck(const AllocationReportAck& m) : Message(m) {}
static FIX::MsgType MsgType() { return FIX::MsgType("AT"); }
AllocationReportAck(
const FIX::AllocReportID& aAllocReportID,
const FIX::AllocID& aAllocID )
: Message(MsgType())
{
set(aAllocReportID);
set(aAllocID);
}
FIELD_SET(*this, FIX::AllocReportID);
FIELD_SET(*this, FIX::AllocID);
FIELD_SET(*this, FIX::ClearingBusinessDate);
FIELD_SET(*this, FIX::AvgPxIndicator);
FIELD_SET(*this, FIX::Quantity);
FIELD_SET(*this, FIX::AllocTransType);
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::AllocReportType);
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,1047,467,776,539,161,360,361,989,993,992,80,0)) {}
FIELD_SET(*this, FIX::AllocAccount);
FIELD_SET(*this, FIX::AllocAcctIDSource);
FIELD_SET(*this, FIX::AllocPrice);
FIELD_SET(*this, FIX::AllocPositionEffect);
FIELD_SET(*this, FIX::IndividualAllocID);
FIELD_SET(*this, FIX::IndividualAllocRejCode);
FIELD_SET(*this, FIX::NoNestedPartyIDs);
class NoNestedPartyIDs: public FIX::Group
{
public:
NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
FIELD_SET(*this, FIX::NestedPartyID);
FIELD_SET(*this, FIX::NestedPartyIDSource);
FIELD_SET(*this, FIX::NestedPartyRole);
FIELD_SET(*this, FIX::NoNestedPartySubIDs);
class NoNestedPartySubIDs: public FIX::Group
{
public:
NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
FIELD_SET(*this, FIX::NestedPartySubID);
FIELD_SET(*this, FIX::NestedPartySubIDType);
};
};
FIELD_SET(*this, FIX::AllocText);
FIELD_SET(*this, FIX::EncodedAllocTextLen);
FIELD_SET(*this, FIX::EncodedAllocText);
FIELD_SET(*this, FIX::SecondaryIndividualAllocID);
FIELD_SET(*this, FIX::AllocCustomerCapacity);
FIELD_SET(*this, FIX::IndividualAllocType);
FIELD_SET(*this, FIX::AllocQty);
};
};
}
#endif