ApplicationMessageRequestAck.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #ifndef FIX50SP2_APPLICATIONMESSAGEREQUESTACK_H
  2. #define FIX50SP2_APPLICATIONMESSAGEREQUESTACK_H
  3. #include "Message.h"
  4. namespace FIX50SP2
  5. {
  6. class ApplicationMessageRequestAck : public Message
  7. {
  8. public:
  9. ApplicationMessageRequestAck() : Message(MsgType()) {}
  10. ApplicationMessageRequestAck(const FIX::Message& m) : Message(m) {}
  11. ApplicationMessageRequestAck(const Message& m) : Message(m) {}
  12. ApplicationMessageRequestAck(const ApplicationMessageRequestAck& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("BX"); }
  14. ApplicationMessageRequestAck(
  15. const FIX::ApplResponseID& aApplResponseID )
  16. : Message(MsgType())
  17. {
  18. set(aApplResponseID);
  19. }
  20. FIELD_SET(*this, FIX::ApplResponseID);
  21. FIELD_SET(*this, FIX::ApplReqID);
  22. FIELD_SET(*this, FIX::ApplReqType);
  23. FIELD_SET(*this, FIX::ApplResponseType);
  24. FIELD_SET(*this, FIX::ApplTotalMessageCount);
  25. FIELD_SET(*this, FIX::NoApplIDs);
  26. class NoApplIDs: public FIX::Group
  27. {
  28. public:
  29. NoApplIDs() : FIX::Group(1351,1355,FIX::message_order(1355,1182,1183,1357,1354,539,1433,0)) {}
  30. FIELD_SET(*this, FIX::RefApplID);
  31. FIELD_SET(*this, FIX::ApplBegSeqNum);
  32. FIELD_SET(*this, FIX::ApplEndSeqNum);
  33. FIELD_SET(*this, FIX::RefApplLastSeqNum);
  34. FIELD_SET(*this, FIX::ApplResponseError);
  35. FIELD_SET(*this, FIX::NoNestedPartyIDs);
  36. class NoNestedPartyIDs: public FIX::Group
  37. {
  38. public:
  39. NoNestedPartyIDs() : FIX::Group(539,524,FIX::message_order(524,525,538,804,0)) {}
  40. FIELD_SET(*this, FIX::NestedPartyID);
  41. FIELD_SET(*this, FIX::NestedPartyIDSource);
  42. FIELD_SET(*this, FIX::NestedPartyRole);
  43. FIELD_SET(*this, FIX::NoNestedPartySubIDs);
  44. class NoNestedPartySubIDs: public FIX::Group
  45. {
  46. public:
  47. NoNestedPartySubIDs() : FIX::Group(804,545,FIX::message_order(545,805,0)) {}
  48. FIELD_SET(*this, FIX::NestedPartySubID);
  49. FIELD_SET(*this, FIX::NestedPartySubIDType);
  50. };
  51. };
  52. FIELD_SET(*this, FIX::RefApplReqID);
  53. };
  54. FIELD_SET(*this, FIX::Text);
  55. FIELD_SET(*this, FIX::EncodedTextLen);
  56. FIELD_SET(*this, FIX::EncodedText);
  57. FIELD_SET(*this, FIX::NoPartyIDs);
  58. class NoPartyIDs: public FIX::Group
  59. {
  60. public:
  61. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  62. FIELD_SET(*this, FIX::PartyID);
  63. FIELD_SET(*this, FIX::PartyIDSource);
  64. FIELD_SET(*this, FIX::PartyRole);
  65. FIELD_SET(*this, FIX::NoPartySubIDs);
  66. class NoPartySubIDs: public FIX::Group
  67. {
  68. public:
  69. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  70. FIELD_SET(*this, FIX::PartySubID);
  71. FIELD_SET(*this, FIX::PartySubIDType);
  72. };
  73. };
  74. };
  75. }
  76. #endif