OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_RFCQ_BUY_SIDE_TRADING_LIST.h
Go to the documentation of this file.
1 #pragma once
2 /*
3 * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
4 *
5 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
6 * and international copyright treaties.
7 *
8 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
9 * Services Agreement (the Agreement) and Customer end user license agreements granting
10 * a non-assignable, non-transferable and non-exclusive license to use the software
11 * for it's own data processing purposes under the terms defined in the Agreement.
12 *
13 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
14 * of this source code or associated reference material to any other location for further reproduction
15 * or redistribution, and any amendments to this copyright notice, are expressly prohibited.
16 *
17 * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
18 * the terms of the Agreement is a violation of copyright law.
19 */
20 
21 
22 /*
23 --------------
24 GENERATED FILE
25 --------------
26 */
27 
28 
29 #include <string>
35 
36 
37 namespace OnixS {
38 namespace Mts {
39 namespace BondVision {
40 namespace SDP {
41 
42 
43 
44 ///
45 class ONIXS_MTS_BONDVISION_SDP_API BV_RFCQ_BUY_SIDE_TRADING_LIST : public Class
46 {
47 public:
49  tradingList(30)
50 
51  {
52  traderName.reserve(12);
53  comment.reserve(100);
54  userData.reserve(8);
55  }
56 
58 
59  /// Class id
60  virtual ClassId::Enum id() const
61  {
63  }
64 
65  /// Message Info (Unique ID) of the trading list
67 
68  /// Unique ID of the RFCQ request
70 
71  /// Unique ID of the member
73 
74  /// Unique ID of the trader
76 
77  /// Name of the trader
78  std::string traderName; // maxSize = 12
79 
80  /// Flag specifying whether the trading list is private or public.
82 
83  /// Unique ID of the trader who is locking the trading list
85 
86  /// RFCQ Type
88 
89  /// Number of bonds in the trading list
91 
92  /// List of bonds. For each bond the list of Dealers recipients is defined in the SellSideMemberInfo substructure
93  static const size_t tradingListSize = 30;
94  std::vector<BV_RFCQ_BUY_SIDE_TRADING_LIST_INFO> tradingList;
95 
96  /// Free text
97  std::string comment; // maxSize = 100
98 
99  /// Specifies if the comment must be shown to Sell Side Members
101 
102  /// Action applied to the trading list
104 
105  /// Status of the trading list
107 
108  /// Free field used by the client
109  std::string userData; // maxSize = 8
110 
111  /// Last update date
113 
114  /// Last update time
115  UInt64 updateTime; // UTIME presentation
116 
117 
118  ///
119  size_t deserialize(const void* buf, size_t inLen);
120 
121  /// Provides string presentation
122  virtual std::string toString () const;
123 
124  ///
125  virtual size_t serializationBufSize() const { return 27976; }
126 
127  ///
128  virtual BV_RFCQ_BUY_SIDE_TRADING_LIST* clone() const;
129 
130  virtual BV_RFCQ_BUY_SIDE_TRADING_LIST* clone(void*) const;
131 
132 private:
133  virtual size_t serialize(void* buf) const;
134 
135 };
136 
137 
138 }
139 }
140 }
141 }
TI_FLAG::Enum showCommentFg
Specifies if the comment must be shown to Sell Side Members.
TI_RFCQ_TRADING_LIST_EVENT::Enum event
Action applied to the trading list.
TI_RFCQ_TRADING_LIST_STATUS::Enum status
Status of the trading list.
TI_FLAG::Enum privateFg
Flag specifying whether the trading list is private or public.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45
UInt32 workingTraderId
Unique ID of the trader who is locking the trading list.
TI_MSG_INFO tradingListMsgInfo
Message Info (Unique ID) of the trading list.