OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_HIST_TRADE_REGISTRATION.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>
38 
39 
40 namespace OnixS {
41 namespace Mts {
42 namespace BondVision {
43 namespace SDP {
44 
45 
46 
47 ///
48 class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_TRADE_REGISTRATION : public Class
49 {
50 public:
52  {
53  sectionCode.reserve(4);
54  dealerOrderId.reserve(50);
55  originalDealerOrderId.reserve(50);
56  }
57 
59 
60  /// Class id
61  virtual ClassId::Enum id() const
62  {
64  }
65 
66  /// Message Info - unique ID of the Trade Registration
68 
69  /// Section code
70  std::string sectionCode; // maxSize = 4
71 
72  /// Sell Side Member sending the registration
74 
75  /// Buy Side Member receiving the registration
77 
78  /// Provider reference ID of the order execution
79  std::string dealerOrderId; // maxSize = 50
80 
81  /// Previous provider reference ID of the order execution
82  std::string originalDealerOrderId; // maxSize = 50
83 
84  /// Number of processed trades
86 
87  /// List of processed trades
89 
90  /// Spread iinfo
92 
93  /// Validity of the Trade Registration
95 
96  /// Duration, in seconds, of the Trade Registration
98 
99  /// Time when the Trade Registration will expire
100  UInt64 timeout; // UTIME presentation
101 
102  /// Action applied to the Trade Registration
104 
105  /// Status of the Trasw Registration
107 
108  /// Status of the Provider (Sell Side Member)
110 
111  /// Status of the Aggressor (Buy Side Member)
113 
114  /// Last update timestamp
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 2612; }
126 
127  ///
128  virtual BV_HIST_TRADE_REGISTRATION* clone() const;
129 
130  virtual BV_HIST_TRADE_REGISTRATION* clone(void*) const;
131 
132 private:
133  virtual size_t serialize(void* buf) const;
134 
135 };
136 
137 
138 }
139 }
140 }
141 }
BV_TRADE_REGISTRATION_EVENT::Enum event
Action applied to the Trade Registration.
BV_TRADE_REGISTRATION_STATUS::Enum status
Status of the Trasw Registration.
BV_TRADE_REGISTRATION_MEMBER_STATUS::Enum providerStatus
Status of the Provider (Sell Side Member)
BV_TRADE_REGISTRATION_MEMBER_STATUS::Enum aggressorStatus
Status of the Aggressor (Buy Side Member)
std::string originalDealerOrderId
Previous provider reference ID of the order execution.
std::string dealerOrderId
Provider reference ID of the order execution.
BV_TRADE_REGISTRATION_GOOD_FOR_TIME::Enum goodForTime
Validity of the Trade Registration.
BV_TRADE_REGISTRATION_MEMBER_INFO provider
Sell Side Member sending the registration.
UInt32 duration
Duration, in seconds, of the Trade Registration.
BV_TRADE_REGISTRATION_LEG_INFO leg
List of processed trades.
BV_TRADE_REGISTRATION_MEMBER_INFO aggressor
Buy Side Member receiving the registration.
TI_MSG_INFO msgInfo
Message Info - unique ID of the Trade Registration.
UInt64 timeout
Time when the Trade Registration will expire.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45