OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_RFCQ_TRADING_RELATION.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>
33 
34 
35 namespace OnixS {
36 namespace Mts {
37 namespace BondVision {
38 namespace SDP {
39 
40 
41 
42 ///
43 class ONIXS_MTS_BONDVISION_SDP_API BV_RFCQ_TRADING_RELATION : public Class
44 {
45 public:
47  {
48  buySideTraderName.reserve(12);
49  buySideFreeText.reserve(20);
50  sellSideTraderName.reserve(12);
51  sellSideFreeText.reserve(20);
52  }
53 
55 
56  /// Class id
57  virtual ClassId::Enum id() const
58  {
60  }
61 
62  /// Unique ID of the market
64 
65  /// Unique ID of the Buy Side Member
67 
68  /// Unique ID of the Buy Side Trader that originated/modified the relation.
70 
71  /// Unique name of the Buy Side Trader that originated/modified the relation.
72  std::string buySideTraderName; // maxSize = 12
73 
74  /// If valued, contains the Dealer LEI Code (set by MTS Governance).
75  std::string buySideFreeText; // maxSize = 20
76 
77  /// Sell side member's free text.
79 
80  /// Unique ID of the Sell Side Trader that accepted/modified the relation.
82 
83  /// Unique name of the Sell Side Trader that accepted/modified the relation.
84  std::string sellSideTraderName; // maxSize = 12
85 
86  /// Sell side member's free text.
87  std::string sellSideFreeText; // maxSize = 20
88 
89  /// Action applied to the relationship
91 
92  /// Status of relationship from the Buy Side Member point of view
94 
95  /// Status of the trading relationship from the Sell Side Member point of view
97 
98  /// Status of the trading relationship
100 
101  /// Creation date
103 
104  /// Creation time
105  UInt64 creationTime; // UTIME presentation
106 
107  /// Last update date
109 
110  /// Last update time
111  UInt64 updateTime; // UTIME presentation
112 
113  /// Flag to determine wheter a Buy Side Member can negotiate with unseasoned bonds or not
115 
116 
117  ///
118  size_t deserialize(const void* buf, size_t inLen);
119 
120  /// Provides string presentation
121  virtual std::string toString () const;
122 
123  ///
124  virtual size_t serializationBufSize() const { return 144; }
125 
126  ///
127  virtual BV_RFCQ_TRADING_RELATION* clone() const;
128 
129  virtual BV_RFCQ_TRADING_RELATION* clone(void*) const;
130 
131 private:
132  virtual size_t serialize(void* buf) const;
133 
134 };
135 
136 
137 }
138 }
139 }
140 }
UInt32 buySideTraderId
Unique ID of the Buy Side Trader that originated/modified the relation.
BV_RFCQ_TRADING_RELATION_STATUS::Enum buySideSubStatus
Status of relationship from the Buy Side Member point of view.
std::string buySideFreeText
If valued, contains the Dealer LEI Code (set by MTS Governance).
UInt32 sellSideTraderId
Unique ID of the Sell Side Trader that accepted/modified the relation.
std::string buySideTraderName
Unique name of the Buy Side Trader that originated/modified the relation.
BV_RFCQ_TRADING_RELATION_EVENT::Enum event
Action applied to the relationship.
BV_RFCQ_TRADING_RELATION_STATUS::Enum sellSIdeSubStatus
Status of the trading relationship from the Sell Side Member point of view.
TI_FLAG::Enum unseasonedBondTradingFg
Flag to determine wheter a Buy Side Member can negotiate with unseasoned bonds or not...
BV_RFCQ_TRADING_RELATION_STATUS::Enum status
Status of the trading relationship.
std::string sellSideTraderName
Unique name of the Sell Side Trader that accepted/modified the relation.
unsigned long long UInt64
Definition: Defines.h:47