SettlementInstructions.h 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #ifndef FIX42_SETTLEMENTINSTRUCTIONS_H
  2. #define FIX42_SETTLEMENTINSTRUCTIONS_H
  3. #include "Message.h"
  4. namespace FIX42
  5. {
  6. class SettlementInstructions : public Message
  7. {
  8. public:
  9. SettlementInstructions() : Message(MsgType()) {}
  10. SettlementInstructions(const FIX::Message& m) : Message(m) {}
  11. SettlementInstructions(const Message& m) : Message(m) {}
  12. SettlementInstructions(const SettlementInstructions& m) : Message(m) {}
  13. static FIX::MsgType MsgType() { return FIX::MsgType("T"); }
  14. SettlementInstructions(
  15. const FIX::SettlInstID& aSettlInstID,
  16. const FIX::SettlInstTransType& aSettlInstTransType,
  17. const FIX::SettlInstRefID& aSettlInstRefID,
  18. const FIX::SettlInstMode& aSettlInstMode,
  19. const FIX::SettlInstSource& aSettlInstSource,
  20. const FIX::AllocAccount& aAllocAccount,
  21. const FIX::TransactTime& aTransactTime )
  22. : Message(MsgType())
  23. {
  24. set(aSettlInstID);
  25. set(aSettlInstTransType);
  26. set(aSettlInstRefID);
  27. set(aSettlInstMode);
  28. set(aSettlInstSource);
  29. set(aAllocAccount);
  30. set(aTransactTime);
  31. }
  32. FIELD_SET(*this, FIX::SettlInstID);
  33. FIELD_SET(*this, FIX::SettlInstTransType);
  34. FIELD_SET(*this, FIX::SettlInstRefID);
  35. FIELD_SET(*this, FIX::SettlInstMode);
  36. FIELD_SET(*this, FIX::SettlInstSource);
  37. FIELD_SET(*this, FIX::AllocAccount);
  38. FIELD_SET(*this, FIX::SettlLocation);
  39. FIELD_SET(*this, FIX::TradeDate);
  40. FIELD_SET(*this, FIX::AllocID);
  41. FIELD_SET(*this, FIX::LastMkt);
  42. FIELD_SET(*this, FIX::TradingSessionID);
  43. FIELD_SET(*this, FIX::Side);
  44. FIELD_SET(*this, FIX::SecurityType);
  45. FIELD_SET(*this, FIX::EffectiveTime);
  46. FIELD_SET(*this, FIX::TransactTime);
  47. FIELD_SET(*this, FIX::ClientID);
  48. FIELD_SET(*this, FIX::ExecBroker);
  49. FIELD_SET(*this, FIX::StandInstDbType);
  50. FIELD_SET(*this, FIX::StandInstDbName);
  51. FIELD_SET(*this, FIX::StandInstDbID);
  52. FIELD_SET(*this, FIX::SettlDeliveryType);
  53. FIELD_SET(*this, FIX::SettlDepositoryCode);
  54. FIELD_SET(*this, FIX::SettlBrkrCode);
  55. FIELD_SET(*this, FIX::SettlInstCode);
  56. FIELD_SET(*this, FIX::SecuritySettlAgentName);
  57. FIELD_SET(*this, FIX::SecuritySettlAgentCode);
  58. FIELD_SET(*this, FIX::SecuritySettlAgentAcctNum);
  59. FIELD_SET(*this, FIX::SecuritySettlAgentAcctName);
  60. FIELD_SET(*this, FIX::SecuritySettlAgentContactName);
  61. FIELD_SET(*this, FIX::SecuritySettlAgentContactPhone);
  62. FIELD_SET(*this, FIX::CashSettlAgentName);
  63. FIELD_SET(*this, FIX::CashSettlAgentCode);
  64. FIELD_SET(*this, FIX::CashSettlAgentAcctNum);
  65. FIELD_SET(*this, FIX::CashSettlAgentAcctName);
  66. FIELD_SET(*this, FIX::CashSettlAgentContactName);
  67. FIELD_SET(*this, FIX::CashSettlAgentContactPhone);
  68. };
  69. }
  70. #endif