OnixS BME SENAF Handler C++ library 2.3.0
API documentation
Loading...
Searching...
No Matches
Enumerations.h
Go to the documentation of this file.
1/*
2 * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3 *
4 * This software owned by Onix Solutions Limited [OnixS] and is protected by
5 * copyright law and international copyright treaties.
6 *
7 * Access to and use of the software is governed by the terms of the applicable
8 * ONIXS Software Services Agreement (the Agreement) and Customer end user
9 * license agreements granting a non-assignable, non-transferable and
10 * non-exclusive license to use the software for it's own data processing
11 * purposes under the terms defined in the Agreement.
12 *
13 * Except as otherwise granted within the terms of the Agreement, copying or
14 * reproduction of any part of this source code or associated reference material
15 * to any other location for further reproduction or redistribution, and any
16 * amendments to this copyright notice, are expressly prohibited.
17 *
18 * Any reproduction or redistribution for sale or hiring of the Software not in
19 * accordance with the terms of the Agreement is a violation of copyright law.
20 */
21
22#pragma once
23
24#include <OnixS/Senaf/MarketData/Export.h>
25
26#include <string>
27
28namespace OnixS { namespace Senaf { namespace MarketData {
29
31struct ONIXS_BME_SENAF_EXPORT FlowType
32{
34 enum Enum
35 {
37 Undefined = 0x0,
38
40 BackOffice = 0x01,
41
44
47 };
48
50 static Enum deserialize(const char*);
51
53 static const char* toString(Enum);
54};
55
57struct ONIXS_BME_SENAF_EXPORT SystemErrorCode
58{
60 enum Enum
61 {
64
67
70
73 };
74
76 static Enum deserialize(const char*);
77
79 static const char* toString(Enum);
80};
81
83struct ONIXS_BME_SENAF_EXPORT Side
84{
86 enum Enum
87 {
90
92 Bid = 1,
93
95 Ask = 2
96 };
97
99 static Enum deserialize(const char*);
100
102 static const char* toString(Enum);
103};
104
106struct ONIXS_BME_SENAF_EXPORT BuySell
107{
109 enum Enum
110 {
113
115 Sell = 1,
116
118 Buy = 2
119 };
120
122 static Enum deserialize(const char*);
123
125 static const char* toString(Enum);
126};
127
129struct ONIXS_BME_SENAF_EXPORT InstrumentType
130{
132 enum Enum
133 {
136
138 Bonds = 0x1,
139
141 Strips = 0x2,
142
144 Letras = 0x3,
145
148
151
154
156 Switch = 0x7,
157
160
162 GGB = 0x9,
163
166
168 Cedulas = 0xB,
169
172
175 Reserved1 = 0x10,
176
179 Reserved2 = 0x12,
180
184 };
185
187 static Enum deserialize(const char*);
188
190 static const char* toString(Enum);
191};
192
194struct ONIXS_BME_SENAF_EXPORT ConfirmationType
195{
197 enum Enum
198 {
201
203 New = 0x1,
204
207
210
213
216
218 Delivery = 0x6,
219
222
225 };
226
228 static Enum deserialize(const char*);
229
231 static const char* toString(Enum);
232};
233
235struct ONIXS_BME_SENAF_EXPORT TradeStatus
236{
238 enum Enum
239 {
242
245
248
251
254
256 Rejected = 0x5,
257
260
263 };
264
266 static Enum deserialize(const char*);
267
269 static const char* toString(Enum);
270};
271
273struct ONIXS_BME_SENAF_EXPORT CashTerm
274{
276 enum Enum
277 {
280
282 Cash = 1,
283
286 };
287
289 static Enum deserialize(const char*);
290
292 static const char* toString(Enum);
293};
294
296struct ONIXS_BME_SENAF_EXPORT DeliveryRestrictions
297{
299 enum Enum
300 {
303
306 SUB10 = 0x01,
307
310 NO_LT = 0x02,
311
316
319 NO_ST = 0x04,
320
325
330
336 };
337
339 static Enum deserialize(const char*);
340
342 static const char* toString(Enum);
343};
344
346struct ONIXS_BME_SENAF_EXPORT Currency
347{
349 enum Enum
350 {
352 Undefined = 0x00,
353
356
359 };
360
362 static Enum deserialize(const char*);
363
365 static const char* toString(Enum);
366};
367
369struct ONIXS_BME_SENAF_EXPORT Country
370{
372 enum Enum
373 {
375 Undefined = 0x00,
376
378 Spain = 0x01,
379
381 Germany = 0x02,
382
384 Italy = 0x03,
385 };
386
388 static Enum deserialize(const char*);
389
391 static const char* toString(Enum);
392};
393
395struct ONIXS_BME_SENAF_EXPORT CCP
396{
398 enum Enum
399 {
401 NoCCP = 0x00,
402
405
408
411 };
412
414 static Enum deserialize(const char*);
415
417 static const char* toString(Enum);
418};
419
421struct ONIXS_BME_SENAF_EXPORT YieldCalculation
422{
424 enum Enum
425 {
428
431
434
436 ISMA = 0x03,
437 };
438
440 static Enum deserialize(const char*);
441
443 static const char* toString(Enum);
444};
445
447struct ONIXS_BME_SENAF_EXPORT LegNumber
448{
450 enum Enum
451 {
453 Undefined = 0x00,
454
456 FirstLeg = 0x01,
457
459 SecondLeg = 0x02,
460 };
461
463 static Enum deserialize(const char*);
464
466 static const char* toString(Enum);
467};
468
469}}} // namespace OnixS::Senaf::MarketData
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ EurexClearingAG
Eurex clearing AG.
@ LCHClearnetSA
LCH.Clearnet SA.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ TimeToRejectExpired
Time to reject expired.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ NonOperativeShortMarket
Non-Operative Short Market.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ CorporateNewIssues
Corporate New Issues.
@ GGB
GGB (Government Guaranteed Corporate Bond).
@ TreasuryRepoCNET
Treasury Repo CNET (Clearnet-Iberclear).
@ TreasuryRepoMEFE
Treasury Repo MEFE (Meffclear-Iberclear).
@ BilateralTreasuryRepo
Bilateral Treasury Repo (No CCP-Iberclear).
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
@ PendingOnDelivery
Pending on Delivery.
@ PartiallyConfirmed
Partially Confirmed.
@ PendingOnPossibleRejection
Pending on possible rejection.
Yield, Price and Cash calculate.
static Enum deserialize(const char *)
Deserializes constant from string representation.
static const char * toString(Enum)
Returns string representation.
Enum
Yield, Price and Cash calculate.
@ RecommendationOfEFFAS
Recommendation of EFFAS (actual/actual ICMA).