NetworkCounterpartySystemStatusResponse.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #ifndef FIX50_NETWORKCOUNTERPARTYSYSTEMSTATUSRESPONSE_H
  2. #define FIX50_NETWORKCOUNTERPARTYSYSTEMSTATUSRESPONSE_H
  3. #include "Message.h"
  4. namespace FIX50
  5. {
  6. class NetworkCounterpartySystemStatusResponse : public Message
  7. {
  8. public:
  9. NetworkCounterpartySystemStatusResponse() : Message(MsgType()) {}
  10. NetworkCounterpartySystemStatusResponse(const FIX::Message& m) : Message(m) {}
  11. NetworkCounterpartySystemStatusResponse(const Message& m) : Message(m) {}
  12. NetworkCounterpartySystemStatusResponse(const NetworkCounterpartySystemStatusResponse& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("BD"); }
  14. NetworkCounterpartySystemStatusResponse(
  15. const FIX::NetworkStatusResponseType& aNetworkStatusResponseType,
  16. const FIX::NetworkResponseID& aNetworkResponseID )
  17. : Message(MsgType())
  18. {
  19. set(aNetworkStatusResponseType);
  20. set(aNetworkResponseID);
  21. }
  22. FIELD_SET(*this, FIX::NetworkStatusResponseType);
  23. FIELD_SET(*this, FIX::NetworkRequestID);
  24. FIELD_SET(*this, FIX::NetworkResponseID);
  25. FIELD_SET(*this, FIX::LastNetworkResponseID);
  26. FIELD_SET(*this, FIX::NoCompIDs);
  27. class NoCompIDs: public FIX::Group
  28. {
  29. public:
  30. NoCompIDs() : FIX::Group(936,930,FIX::message_order(930,931,283,284,928,929,0)) {}
  31. FIELD_SET(*this, FIX::RefCompID);
  32. FIELD_SET(*this, FIX::RefSubID);
  33. FIELD_SET(*this, FIX::LocationID);
  34. FIELD_SET(*this, FIX::DeskID);
  35. FIELD_SET(*this, FIX::StatusValue);
  36. FIELD_SET(*this, FIX::StatusText);
  37. };
  38. };
  39. }
  40. #endif