OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Classes.REPO_HIST_FILL.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>
40 
41 
42 namespace OnixS {
43 namespace Mts {
44 namespace Repo {
45 namespace SDP {
46 
47 
48 
49 ///
51 {
52 public:
54  {
55  currency.reserve(3);
56  areaCodeShortDesc.reserve(12);
57  areaCodeDesc.reserve(36);
58  }
59 
60  virtual ~REPO_HIST_FILL() {}
61 
62  /// Class id
63  virtual ClassId::Enum id() const
64  {
66  }
67 
68  /// ID of the trade
70 
71  /// Matching mode
73 
74  /// ID of the GC Definition
76 
77  /// Member's ID of the issuer
79 
80  /// Member's ID of the bidder
82 
83  /// ID of the trading instrument
85 
86  /// Status of the trade
88 
89  /// Status of the trade settlement
91 
92  /// Settlement Type
94 
95  /// Indicates whether it is a buy or sell trade
97 
98  /// Rate
99  Double rate; // DOUBLE presentation
100 
101  /// ISO unique alphanumeric ID code of the currency
102  std::string currency; // maxSize = 3
103 
104  /// Quantity
105  Double qty; // DOUBLE presentation
106 
107  /// Nominal value
108  Double nominalValue; // DOUBLE presentation
109 
110  /// Settlement values for the trade
112 
113  /// Type of trade
115 
116  /// Best Execution information
118 
119  /// Time at which the data were updated
120  UInt64 updateTime; // UTIME presentation
121 
122  /// Spot inflation coefficient calculated by the calculation engine
123  Double cIStart; // DOUBLE presentation
124 
125  /// For future use - Inflation coefficient applied to the coupon paid within the duration of the repo trade (used for Buy Sell Back repo only)
126  Double cICouponPayment; // DOUBLE presentation
127 
128  /// End inflation coefficient calculated by the calculation engine
129  Double cIEnd; // DOUBLE presentation
130 
131  /// ID of the trade assigned by the post trading
133 
134  /// Unique ID of the EOI message the RFQ refers to
136 
137  /// Specifies whether the trade has been generated by normal trading activity or by RFQ or by ACM activity
139 
140  /// None
141  Double haircut; // DOUBLE presentation
142 
143  /// None
145 
146  /// Area Code short description
147  std::string areaCodeShortDesc; // maxSize = 12
148 
149  /// Area Code description
150  std::string areaCodeDesc; // maxSize = 36
151 
152 
153  ///
154  size_t deserialize(const void* buf, size_t inLen);
155 
156  /// Provides string presentation
157  virtual std::string toString () const;
158 
159  ///
160  virtual size_t serializationBufSize() const { return 2856; }
161 
162  ///
163  virtual REPO_HIST_FILL* clone() const;
164 
165  virtual REPO_HIST_FILL* clone(void*) const;
166 
167 private:
168  virtual size_t serialize(void* buf) const;
169 
170 };
171 
172 
173 }
174 }
175 }
176 }
REPO_HIST_INSTRUMENT_DATE_INFO instrument
ID of the trading instrument.
UInt32 eOIMsgId
Unique ID of the EOI message the RFQ refers to.
std::string currency
ISO unique alphanumeric ID code of the currency.
unsigned long long UInt64
Definition: Defines.h:47
REPO_SETTL_STATUS::Enum settlStatus
Status of the trade settlement.
UInt32 settlFillID
ID of the trade assigned by the post trading.
UInt64 updateTime
Time at which the data were updated.
REPO_HIST_SETTL_MEMBER_INFO aggressor
Member&#39;s ID of the bidder.
TI_SETTL_TYPE::Enum settlType
Settlement Type.
std::string areaCodeShortDesc
Area Code short description.
REPO_HIST_BEST_EXECUTION_INFO bestExecution
Best Execution information.
unsigned int UInt32
Definition: Defines.h:46
TI_VERB::Enum verb
Indicates whether it is a buy or sell trade.
Double cIStart
Spot inflation coefficient calculated by the calculation engine.
REPO_CONTRACT_VALUE fillValue
Settlement values for the trade.
virtual ClassId::Enum id() const
Class id.
TI_FILL_STATUS::Enum settlFillStatus
Status of the trade.
REPO_MATCH_MODE::Enum matchType
Matching mode.
REPO_HIST_SETTL_MEMBER_INFO provider
Member&#39;s ID of the issuer.
TI_TRADE_TYPE::Enum tradeType
Specifies whether the trade has been generated by normal trading activity or by RFQ or by ACM activit...
Double cICouponPayment
For future use - Inflation coefficient applied to the coupon paid within the duration of the repo tra...
std::string areaCodeDesc
Area Code description.
Double cIEnd
End inflation coefficient calculated by the calculation engine.
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
REPO_FILL_TYPE::Enum fillType
Type of trade.