OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Substructures.BV_HIST_TRADE_REGISTRATION_SUB.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>
37 
38 
39 namespace OnixS {
40 namespace Mts {
41 namespace BondVision {
42 namespace SDP {
43 
44 
45 
46 ///
47 class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_TRADE_REGISTRATION_SUB
48 {
49 public:
51  {
52  sectionCode.reserve(4);
53  dealerOrderId.reserve(50);
54  originalDealerOrderId.reserve(50);
55  }
56 
58 
59  /// Message Info - unique ID of the Trade Registration
61 
62  /// Section code
63  std::string sectionCode; // maxSize = 4
64 
65  /// Sell Side Member sending the registration
67 
68  /// Buy Side Member receiving the registration
70 
71  /// Provider reference ID of the order execution
72  std::string dealerOrderId; // maxSize = 50
73 
74  /// Previous provider reference ID of the order execution
75  std::string originalDealerOrderId; // maxSize = 50
76 
77  /// Number of processed trades
79 
80  /// List of processed trades
82 
83  /// Spread iinfo
85 
86  /// Validity of the Trade Registration
88 
89  /// Duration, in seconds, of the Trade Registration
91 
92  /// Time when the Trade Registration will expire
93  UInt64 timeout; // UTIME presentation
94 
95  /// Action applied to the Trade Registration
97 
98  /// Status of the Trasw Registration
100 
101  /// Status of the Provider (Sell Side Member)
103 
104  /// Status of the Aggressor (Buy Side Member)
106 
107  /// Last update timestamp
108  UInt64 updateTime; // UTIME presentation
109 
110 
111  ///
112  size_t deserialize(const void* buf, size_t inLen);
113 
114  /// Provides string presentation
115  std::string toString () const;
116 
117  ///
118  size_t serializationBufSize() const { return 2612; }
119 
120  ///
121  size_t serialize(void* buf) const;
122 
123 };
124 
125 
126 
127 
128 }
129 }
130 }
131 }
BV_TRADE_REGISTRATION_MEMBER_INFO aggressor
Buy Side Member receiving the registration.
BV_TRADE_REGISTRATION_EVENT::Enum event
Action applied to the Trade Registration.
std::string originalDealerOrderId
Previous provider reference ID of the order execution.
BV_TRADE_REGISTRATION_GOOD_FOR_TIME::Enum goodForTime
Validity of the Trade Registration.
BV_TRADE_REGISTRATION_MEMBER_STATUS::Enum providerStatus
Status of the Provider (Sell Side Member)
BV_TRADE_REGISTRATION_STATUS::Enum status
Status of the Trasw Registration.
TI_MSG_INFO msgInfo
Message Info - unique ID of the Trade Registration.
unsigned long long UInt64
Definition: Defines.h:47
BV_TRADE_REGISTRATION_MEMBER_STATUS::Enum aggressorStatus
Status of the Aggressor (Buy Side Member)
unsigned short UInt16
Definition: Defines.h:45
BV_TRADE_REGISTRATION_MEMBER_INFO provider
Sell Side Member sending the registration.