#ifndef FIX50SP2_MARKETDATAREQUESTREJECT_H #define FIX50SP2_MARKETDATAREQUESTREJECT_H #include "Message.h" namespace FIX50SP2 { class MarketDataRequestReject : public Message { public: MarketDataRequestReject() : Message(MsgType()) {} MarketDataRequestReject(const FIX::Message& m) : Message(m) {} MarketDataRequestReject(const Message& m) : Message(m) {} MarketDataRequestReject(const MarketDataRequestReject& m) : Message(m) {} static FIX::MsgType MsgType() { return FIX::MsgType("Y"); } MarketDataRequestReject( const FIX::MDReqID& aMDReqID ) : Message(MsgType()) { set(aMDReqID); } FIELD_SET(*this, FIX::MDReqID); 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::MDReqRejReason); FIELD_SET(*this, FIX::NoAltMDSource); class NoAltMDSource: public FIX::Group { public: NoAltMDSource() : FIX::Group(816,817,FIX::message_order(817,0)) {} FIELD_SET(*this, FIX::AltMDSourceID); }; FIELD_SET(*this, FIX::Text); FIELD_SET(*this, FIX::EncodedTextLen); FIELD_SET(*this, FIX::EncodedText); }; } #endif