OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Classes.REPO_HIST_OTC_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 Repo {
43 namespace SDP {
44 
45 
46 
47 ///
49 {
50 public:
52  {
53  sectionCode.reserve(4);
54  sectionDesc.reserve(36);
55  comment.reserve(100);
56  brokerCode.reserve(12);
57  brokerDes.reserve(36);
58  brokerShortDes.reserve(12);
59  }
60 
62 
63  /// Class id
64  virtual ClassId::Enum id() const
65  {
67  }
68 
69  /// Data identifying the OTC registration
71 
72  /// Section code
73  std::string sectionCode; // maxSize = 4
74 
75  /// Section description
76  std::string sectionDesc; // maxSize = 36
77 
78  /// Indicates whether it is an incoming (IN) OTC registration or an outgoing (OUT) OTC registration
80 
81  /// ID of the member the OTC registration originates from
83 
84  /// ID of the member receiving the OTC registration
86 
87  /// ID of the member submitting the OTC registration
89 
90  /// Specifies whether it is a buy or sell OTC registration and is set from the receiving member's viewpoint. This means that the Verb field has different values for the Originator and the Counterpart, and reflects the type of operation (buy or sell) actually performed by the receiving member. For Broker and Broker Plus the verb is set from the originator member's viewpoint.
92 
93  /// Free text field
94  std::string comment; // maxSize = 100
95 
96  /// Action applied to the OTC Registration
98 
99  /// Status of the registration
101 
102  /// Status of the registration from the originator's point of view
104 
105  /// Status of the registration from the counterpart's point of view
107 
108  /// Indicates whether the originator wants to force the trade to be settled bilaterally or not. The counterpart receiving the registration cannot modify this flag
110 
111  /// Tradable instrument data
113 
114  /// Spot Price
115  Double price; // DOUBLE presentation
116 
117  /// Yield Reserved for future use
118  Double yield; // DOUBLE presentation
119 
120  /// Rate
121  Double rate; // DOUBLE presentation
122 
123  /// Quantity
124  Double qty; // DOUBLE presentation
125 
126  /// Time at which the data were last updated
127  UInt64 updateTime; // UTIME presentation
128 
129  /// Code of the broker
130  std::string brokerCode; // maxSize = 12
131 
132  /// Description of the broker
133  std::string brokerDes; // maxSize = 36
134 
135  /// Short description of the broker
136  std::string brokerShortDes; // maxSize = 12
137 
138  /// Haircut value
139  Double haircut; // DOUBLE presentation
140 
141 
142  ///
143  size_t deserialize(const void* buf, size_t inLen);
144 
145  /// Provides string presentation
146  virtual std::string toString () const;
147 
148  ///
149  virtual size_t serializationBufSize() const { return 2940; }
150 
151  ///
152  virtual REPO_HIST_OTC_REGISTRATION* clone() const;
153 
154  virtual REPO_HIST_OTC_REGISTRATION* clone(void*) const;
155 
156 private:
157  virtual size_t serialize(void* buf) const;
158 
159 };
160 
161 
162 }
163 }
164 }
165 }
REPO_HIST_OTC_MEMBER_INFO counterpart
ID of the member receiving the OTC registration.
TI_IN_OUT_FLAG::Enum inOutFlag
Indicates whether it is an incoming (IN) OTC registration or an outgoing (OUT) OTC registration...
REPO_OTC_REGISTRATION_SUBSTATUS::Enum counterpartSubStatus
Status of the registration from the counterpart&#39;s point of view.
TI_HIST_INSTRUMENT_INFO instrument
Tradable instrument data.
TI_FLAG::Enum bilateralOnlyFlag
Indicates whether the originator wants to force the trade to be settled bilaterally or not...
REPO_OTC_REGISTRATION_STATUS::Enum status
Status of the registration.
unsigned long long UInt64
Definition: Defines.h:47
UInt64 updateTime
Time at which the data were last updated.
TI_VERB::Enum verb
Specifies whether it is a buy or sell OTC registration and is set from the receiving member&#39;s viewpoi...
REPO_HIST_OTC_MEMBER_INFO originator
ID of the member the OTC registration originates from.
REPO_OTC_REGISTRATION_SUBSTATUS::Enum originatorSubStatus
Status of the registration from the originator&#39;s point of view.
TI_MSG_INFO msgInfo
Data identifying the OTC registration.
REPO_HIST_OTC_MEMBER_INFO submitter
ID of the member submitting the OTC registration.
REPO_OTC_REGISTRATION_EVENT::Enum event
Action applied to the OTC Registration.
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49