OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Substructures.REPO_OPEN_TRADE_REQUEST_INFO.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>
32 
33 
34 namespace OnixS {
35 namespace Mts {
36 namespace Repo {
37 namespace SDP {
38 
39 
40 
41 ///
43 {
44 public:
46  {
47  instrumentCode.reserve(12);
48  instrumentDesc.reserve(36);
49  sectionCode.reserve(4);
50  sectionDesc.reserve(36);
51  requestMemberCode.reserve(10);
52  requestMemberDesc.reserve(36);
53  requestMemberShortDesc.reserve(12);
54  requestTraderName.reserve(12);
55  respondMemberCode.reserve(10);
56  respondMemberDesc.reserve(36);
57  respondMemberShortDesc.reserve(12);
58  respondTraderName.reserve(12);
59  }
60 
62 
63  /// Unique ID of the request
65 
66  /// Unique ID of the instrument
68 
69  /// Alphanumeric code of the instrument
70  std::string instrumentCode; // maxSize = 12
71 
72  /// Description of the tradable instrument.
73  std::string instrumentDesc; // maxSize = 36
74 
75  /// Unique ID of the section
77 
78  /// Alphanumeric ID code of the section - brief description
79  std::string sectionCode; // maxSize = 4
80 
81  /// Section description
82  std::string sectionDesc; // maxSize = 36
83 
84  /// Unique ID of the member creating the request
86 
87  /// ABI/MTS code of the member creating the request
88  std::string requestMemberCode; // maxSize = 10
89 
90  /// Description of the member creating the request
91  std::string requestMemberDesc; // maxSize = 36
92 
93  /// Short description of the member creating the request
94  std::string requestMemberShortDesc; // maxSize = 12
95 
96  /// Unique ID of the trader creating the request
98 
99  /// Name of the trader creating the request
100  std::string requestTraderName; // maxSize = 12
101 
102  /// Unique ID of the member responding to the request
104 
105  /// ABI/MTS code of the member responding to the request
106  std::string respondMemberCode; // maxSize = 10
107 
108  /// Description of the member responding to the request
109  std::string respondMemberDesc; // maxSize = 36
110 
111  /// Short description of the member responding to the request
112  std::string respondMemberShortDesc; // maxSize = 12
113 
114  /// Unique ID of the trader responding to the request
116 
117  /// Name of the trader responding to the request
118  std::string respondTraderName; // maxSize = 12
119 
120  /// Unique ID of the Open Trade
122 
123  /// Creation Date of the Open Trade
125 
126  /// Request Type
128 
129  /// Closure Date of the Open Trade
131 
132  /// Rate
133  Double rate; // DOUBLE presentation
134 
135  /// If set to Yes, indicates the Rate field is not empty
137 
138  /// Quantity
139  Double qty; // DOUBLE presentation
140 
141  /// Creation Date of the request
143 
144  /// Creation Time of the request
145  UInt64 creationTime; // UTIME presentation
146 
147  /// Update Time of the request
148  UInt64 updateTime; // UTIME presentation
149 
150 
151  ///
152  size_t deserialize(const void* buf, size_t inLen);
153 
154  /// Provides string presentation
155  std::string toString () const;
156 
157  ///
158  size_t serializationBufSize() const { return 364; }
159 
160  ///
161  size_t serialize(void* buf) const;
162 
163 };
164 
165 
166 
167 
168 }
169 }
170 }
171 }
std::string requestTraderName
Name of the trader creating the request.
unsigned long long UInt64
Definition: Defines.h:47
UInt32 respondMemberId
Unique ID of the member responding to the request.
std::string respondMemberCode
ABI/MTS code of the member responding to the request.
std::string respondTraderName
Name of the trader responding to the request.
std::string respondMemberShortDesc
Short description of the member responding to the request.
unsigned int UInt32
Definition: Defines.h:46
std::string requestMemberDesc
Description of the member creating the request.
std::string requestMemberCode
ABI/MTS code of the member creating the request.
std::string requestMemberShortDesc
Short description of the member creating the request.
UInt32 requestMemberId
Unique ID of the member creating the request.
std::string sectionCode
Alphanumeric ID code of the section - brief description.
TI_FLAG::Enum rateFg
If set to Yes, indicates the Rate field is not empty.
UInt32 requestTraderId
Unique ID of the trader creating the request.
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
UInt32 respondTraderId
Unique ID of the trader responding to the request.
std::string respondMemberDesc
Description of the member responding to the request.