SettlementInstructions.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #ifndef FIX41_SETTLEMENTINSTRUCTIONS_H
  2. #define FIX41_SETTLEMENTINSTRUCTIONS_H
  3. #include "Message.h"
  4. namespace FIX41
  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::SettlInstMode& aSettlInstMode,
  18. const FIX::SettlInstSource& aSettlInstSource,
  19. const FIX::AllocAccount& aAllocAccount,
  20. const FIX::TransactTime& aTransactTime )
  21. : Message(MsgType())
  22. {
  23. set(aSettlInstID);
  24. set(aSettlInstTransType);
  25. set(aSettlInstMode);
  26. set(aSettlInstSource);
  27. set(aAllocAccount);
  28. set(aTransactTime);
  29. }
  30. FIELD_SET(*this, FIX::SettlInstID);
  31. FIELD_SET(*this, FIX::SettlInstTransType);
  32. FIELD_SET(*this, FIX::SettlInstMode);
  33. FIELD_SET(*this, FIX::SettlInstSource);
  34. FIELD_SET(*this, FIX::AllocAccount);
  35. FIELD_SET(*this, FIX::SettlLocation);
  36. FIELD_SET(*this, FIX::TradeDate);
  37. FIELD_SET(*this, FIX::AllocID);
  38. FIELD_SET(*this, FIX::LastMkt);
  39. FIELD_SET(*this, FIX::Side);
  40. FIELD_SET(*this, FIX::SecurityType);
  41. FIELD_SET(*this, FIX::EffectiveTime);
  42. FIELD_SET(*this, FIX::TransactTime);
  43. FIELD_SET(*this, FIX::ClientID);
  44. FIELD_SET(*this, FIX::ExecBroker);
  45. FIELD_SET(*this, FIX::StandInstDbType);
  46. FIELD_SET(*this, FIX::StandInstDbName);
  47. FIELD_SET(*this, FIX::StandInstDbID);
  48. FIELD_SET(*this, FIX::SettlDeliveryType);
  49. FIELD_SET(*this, FIX::SettlDepositoryCode);
  50. FIELD_SET(*this, FIX::SettlBrkrCode);
  51. FIELD_SET(*this, FIX::SettlInstCode);
  52. FIELD_SET(*this, FIX::SecuritySettlAgentName);
  53. FIELD_SET(*this, FIX::SecuritySettlAgentCode);
  54. FIELD_SET(*this, FIX::SecuritySettlAgentAcctNum);
  55. FIELD_SET(*this, FIX::SecuritySettlAgentAcctName);
  56. FIELD_SET(*this, FIX::SecuritySettlAgentContactName);
  57. FIELD_SET(*this, FIX::SecuritySettlAgentContactPhone);
  58. FIELD_SET(*this, FIX::CashSettlAgentName);
  59. FIELD_SET(*this, FIX::CashSettlAgentCode);
  60. FIELD_SET(*this, FIX::CashSettlAgentAcctNum);
  61. FIELD_SET(*this, FIX::CashSettlAgentAcctName);
  62. FIELD_SET(*this, FIX::CashSettlAgentContactName);
  63. FIELD_SET(*this, FIX::CashSettlAgentContactPhone);
  64. };
  65. }
  66. #endif