RegistrationInstructionsResponse.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #ifndef FIX43_REGISTRATIONINSTRUCTIONSRESPONSE_H
  2. #define FIX43_REGISTRATIONINSTRUCTIONSRESPONSE_H
  3. #include "Message.h"
  4. namespace FIX43
  5. {
  6. class RegistrationInstructionsResponse : public Message
  7. {
  8. public:
  9. RegistrationInstructionsResponse() : Message(MsgType()) {}
  10. RegistrationInstructionsResponse(const FIX::Message& m) : Message(m) {}
  11. RegistrationInstructionsResponse(const Message& m) : Message(m) {}
  12. RegistrationInstructionsResponse(const RegistrationInstructionsResponse& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("p"); }
  14. RegistrationInstructionsResponse(
  15. const FIX::RegistID& aRegistID,
  16. const FIX::RegistTransType& aRegistTransType,
  17. const FIX::RegistRefID& aRegistRefID,
  18. const FIX::RegistStatus& aRegistStatus )
  19. : Message(MsgType())
  20. {
  21. set(aRegistID);
  22. set(aRegistTransType);
  23. set(aRegistRefID);
  24. set(aRegistStatus);
  25. }
  26. FIELD_SET(*this, FIX::RegistID);
  27. FIELD_SET(*this, FIX::RegistTransType);
  28. FIELD_SET(*this, FIX::RegistRefID);
  29. FIELD_SET(*this, FIX::ClOrdID);
  30. FIELD_SET(*this, FIX::NoPartyIDs);
  31. class NoPartyIDs: public FIX::Group
  32. {
  33. public:
  34. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,523,0)) {}
  35. FIELD_SET(*this, FIX::PartyID);
  36. FIELD_SET(*this, FIX::PartyIDSource);
  37. FIELD_SET(*this, FIX::PartyRole);
  38. FIELD_SET(*this, FIX::PartySubID);
  39. };
  40. FIELD_SET(*this, FIX::Account);
  41. FIELD_SET(*this, FIX::RegistStatus);
  42. FIELD_SET(*this, FIX::RegistRejReasonCode);
  43. FIELD_SET(*this, FIX::RegistRejReasonText);
  44. };
  45. }
  46. #endif