OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_RFCQ_SELL_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>
34 
35 
36 namespace OnixS {
37 namespace Mts {
38 namespace BondVision {
39 namespace SDP {
40 
41 
42 
43 ///
44 class ONIXS_MTS_BONDVISION_SDP_API BV_RFCQ_SELL_SIDE_TRADING_LIST : public Class
45 {
46 public:
48  tradingList(50)
49 
50  {
51  comment.reserve(100);
52  }
53 
55 
56  /// Class id
57  virtual ClassId::Enum id() const
58  {
60  }
61 
62  /// Unique ID of the trading list
64 
65  /// Unique ID of the RFCQ
67 
68  /// Unique ID of the Buy Side Member
70 
71  /// Unique ID of the Sell Side Member
73 
74  /// Number of bonds in the trading list
76 
77  /// Number of tradable bonds in the trading list
79 
80  /// List of bonds.
81  static const size_t tradingListSize = 50;
82  std::vector<BV_RFCQ_SELL_SIDE_TRADING_LIST_INFO> tradingList;
83 
84  /// May include a comment specified by the Buy Side Member
85  std::string comment; // maxSize = 100
86 
87  /// Creation date
89 
90  /// Creation time
91  UInt64 creationTime; // UTIME presentation
92 
93  /// Last update date
95 
96  /// Last update time
97  UInt64 updateTime; // UTIME presentation
98 
99 
100  ///
101  size_t deserialize(const void* buf, size_t inLen);
102 
103  /// Provides string presentation
104  virtual std::string toString () const;
105 
106  ///
107  virtual size_t serializationBufSize() const { return 13552; }
108 
109  ///
110  virtual BV_RFCQ_SELL_SIDE_TRADING_LIST* clone() const;
111 
112  virtual BV_RFCQ_SELL_SIDE_TRADING_LIST* clone(void*) const;
113 
114 private:
115  virtual size_t serialize(void* buf) const;
116 
117 };
118 
119 
120 }
121 }
122 }
123 }
std::string comment
May include a comment specified by the Buy Side Member.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45