ListCancelRequest.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #ifndef FIX50SP1_LISTCANCELREQUEST_H
  2. #define FIX50SP1_LISTCANCELREQUEST_H
  3. #include "Message.h"
  4. namespace FIX50SP1
  5. {
  6. class ListCancelRequest : public Message
  7. {
  8. public:
  9. ListCancelRequest() : Message(MsgType()) {}
  10. ListCancelRequest(const FIX::Message& m) : Message(m) {}
  11. ListCancelRequest(const Message& m) : Message(m) {}
  12. ListCancelRequest(const ListCancelRequest& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("K"); }
  14. ListCancelRequest(
  15. const FIX::ListID& aListID,
  16. const FIX::TransactTime& aTransactTime )
  17. : Message(MsgType())
  18. {
  19. set(aListID);
  20. set(aTransactTime);
  21. }
  22. FIELD_SET(*this, FIX::ListID);
  23. FIELD_SET(*this, FIX::NoPartyIDs);
  24. class NoPartyIDs: public FIX::Group
  25. {
  26. public:
  27. NoPartyIDs() : FIX::Group(453,448,FIX::message_order(448,447,452,802,0)) {}
  28. FIELD_SET(*this, FIX::PartyID);
  29. FIELD_SET(*this, FIX::PartyIDSource);
  30. FIELD_SET(*this, FIX::PartyRole);
  31. FIELD_SET(*this, FIX::NoPartySubIDs);
  32. class NoPartySubIDs: public FIX::Group
  33. {
  34. public:
  35. NoPartySubIDs() : FIX::Group(802,523,FIX::message_order(523,803,0)) {}
  36. FIELD_SET(*this, FIX::PartySubID);
  37. FIELD_SET(*this, FIX::PartySubIDType);
  38. };
  39. };
  40. FIELD_SET(*this, FIX::TransactTime);
  41. FIELD_SET(*this, FIX::TradeOriginationDate);
  42. FIELD_SET(*this, FIX::TradeDate);
  43. FIELD_SET(*this, FIX::Text);
  44. FIELD_SET(*this, FIX::EncodedTextLen);
  45. FIELD_SET(*this, FIX::EncodedText);
  46. };
  47. }
  48. #endif