OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Substructures.REPO_HIST_BEST_EXECUTION_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  providerMemberCode.reserve(10);
48  providerMemberDesc.reserve(36);
49  providerMemberShortDesc.reserve(12);
50  clearingHouseCode.reserve(10);
51  clearingHouseDesc.reserve(36);
52  clearingHouseShortDesc.reserve(12);
53  }
54 
56 
57  /// Market side of the proposal
59 
60  /// Rate
61  Double rate; // DOUBLE presentation
62 
63  /// Quantity
64  Double qty; // DOUBLE presentation
65 
66  /// Minimum quantity
67  Double minQty; // DOUBLE presentation
68 
69  /// ID of the proposal
71 
72  /// ABI/MTS code of the provider member
73  std::string providerMemberCode; // maxSize = 10
74 
75  /// Description of the member
76  std::string providerMemberDesc; // maxSize = 36
77 
78  /// Short description of the member
79  std::string providerMemberShortDesc; // maxSize = 12
80 
81  /// ABI/MTS code of the Clearing House
82  std::string clearingHouseCode; // maxSize = 10
83 
84  /// Description of the Clearing House
85  std::string clearingHouseDesc; // maxSize = 36
86 
87  /// Short description of the Clearing House
88  std::string clearingHouseShortDesc; // maxSize = 12
89 
90  /// Indicates whether the proposal is traded in central counterparty (CCP) mode only or not
92 
93  /// Time at which the data was generated
94  UInt64 updateTime; // UTIME presentation
95 
96 
97  ///
98  size_t deserialize(const void* buf, size_t inLen);
99 
100  /// Provides string presentation
101  std::string toString () const;
102 
103  ///
104  size_t serializationBufSize() const { return 188; }
105 
106  ///
107  size_t serialize(void* buf) const;
108 
109 };
110 
111 
112 
113 
114 }
115 }
116 }
117 }
unsigned long long UInt64
Definition: Defines.h:47
unsigned int UInt32
Definition: Defines.h:46
TI_FLAG::Enum cCPOnlyFlag
Indicates whether the proposal is traded in central counterparty (CCP) mode only or not...
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
std::string clearingHouseShortDesc
Short description of the Clearing House.