ApplicationMessageRequest.h 2.5 KB

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