OnixS C++ LSE GTP Market Data Handler 1.0.6
API documentation
Loading...
Searching...
No Matches
Enumerations.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#include <string>
21
23
24
25namespace OnixS {
26namespace LSE {
27namespace MarketData {
28namespace GTP {
29
30
32 struct EventCode
33 {
35 typedef Byte Base;
36
37 enum Enum
38 {
40 EndOfDay = 'C',
41
44
47
50
51 };
52 };
53
55 ONIXS_LSE_GTP_API void toStr(std::string&, EventCode::Enum);
56
58 inline std::string toStr(EventCode::Enum value)
59 {
60 std::string str;
61 toStr(str, value);
62 return str;
63 }
64
67 {
69 typedef UInt8 Base;
70
71 enum Enum
72 {
74 RRG = 1,
75
78
81
84
87
89 T2S = 6,
90
91 };
92 };
93
95 ONIXS_LSE_GTP_API void toStr(std::string&, SettlementSystem::Enum);
96
98 inline std::string toStr(SettlementSystem::Enum value)
99 {
100 std::string str;
101 toStr(str, value);
102 return str;
103 }
104
107 {
109 typedef UInt8 Base;
110
111 enum Enum
112 {
115
118
119 };
120 };
121
123 ONIXS_LSE_GTP_API void toStr(std::string&, ClearingType::Enum);
124
126 inline std::string toStr(ClearingType::Enum value)
127 {
128 std::string str;
129 toStr(str, value);
130 return str;
131 }
132
135 {
137 typedef UInt8 Base;
138
139 enum Enum
140 {
143
145 Share = 1,
146
149
152
155
158
161
164
167
170
171 };
172 };
173
175 ONIXS_LSE_GTP_API void toStr(std::string&, UnderlyingType::Enum);
176
178 inline std::string toStr(UnderlyingType::Enum value)
179 {
180 std::string str;
181 toStr(str, value);
182 return str;
183 }
184
187 {
189 typedef Byte Base;
190
191 enum Enum
192 {
195
198
201
202 };
203 };
204
206 ONIXS_LSE_GTP_API void toStr(std::string&, InstrumentOptionStyle::Enum);
207
209 inline std::string toStr(InstrumentOptionStyle::Enum value)
210 {
211 std::string str;
212 toStr(str, value);
213 return str;
214 }
215
218 {
220 typedef Byte Base;
221
222 enum Enum
223 {
226
228 Secco = 1,
229
232
233 };
234 };
235
237 ONIXS_LSE_GTP_API void toStr(std::string&, DirtyCleanPrice::Enum);
238
240 inline std::string toStr(DirtyCleanPrice::Enum value)
241 {
242 std::string str;
243 toStr(str, value);
244 return str;
245 }
246
249 {
251 typedef Byte Base;
252
253 enum Enum
254 {
257
260
263
264 };
265 };
266
268 ONIXS_LSE_GTP_API void toStr(std::string&, GrossSettlementIndicator::Enum);
269
271 inline std::string toStr(GrossSettlementIndicator::Enum value)
272 {
273 std::string str;
274 toStr(str, value);
275 return str;
276 }
277
280 {
282 typedef Byte Base;
283
284 enum Enum
285 {
287 No = 0,
288
290 Yes = 1,
291
292 };
293 };
294
296 ONIXS_LSE_GTP_API void toStr(std::string&, InverseOrderbook::Enum);
297
299 inline std::string toStr(InverseOrderbook::Enum value)
300 {
301 std::string str;
302 toStr(str, value);
303 return str;
304 }
305
340
342 ONIXS_LSE_GTP_API void toStr(std::string&, SessionChangeReason::Enum);
343
345 inline std::string toStr(SessionChangeReason::Enum value)
346 {
347 std::string str;
348 toStr(str, value);
349 return str;
350 }
351
354 {
356 typedef UInt8 Base;
357
358 enum Enum
359 {
362
365
368
371
374
377
378 };
379 };
380
382 ONIXS_LSE_GTP_API void toStr(std::string&, OrderType::Enum);
383
385 inline std::string toStr(OrderType::Enum value)
386 {
387 std::string str;
388 toStr(str, value);
389 return str;
390 }
391
394 {
396 typedef UInt8 Base;
397
434 };
435
437 ONIXS_LSE_GTP_API void toStr(std::string&, TradeType::Enum);
438
440 inline std::string toStr(TradeType::Enum value)
441 {
442 std::string str;
443 toStr(str, value);
444 return str;
445 }
446
449 {
451 typedef Byte Base;
452
453 enum Enum
454 {
457
460
463
465 AESP = 'A',
466
468 EDSP = 'B',
469
471 OPA = 'P',
472
475
478
481
484
485 };
486 };
487
489 ONIXS_LSE_GTP_API void toStr(std::string&, AuctionType::Enum);
490
492 inline std::string toStr(AuctionType::Enum value)
493 {
494 std::string str;
495 toStr(str, value);
496 return str;
497 }
498
548
550 ONIXS_LSE_GTP_API void toStr(std::string&, StatisticType::Enum);
551
553 inline std::string toStr(StatisticType::Enum value)
554 {
555 std::string str;
556 toStr(str, value);
557 return str;
558 }
559
562 {
564 typedef Byte Base;
565
566 enum Enum
567 {
570
573
576
579
582
585
586 };
587 };
588
590 ONIXS_LSE_GTP_API void toStr(std::string&, AuctionInfo::Enum);
591
593 inline std::string toStr(AuctionInfo::Enum value)
594 {
595 std::string str;
596 toStr(str, value);
597 return str;
598 }
599
602 {
604 typedef Byte Base;
605
630 };
631
633 ONIXS_LSE_GTP_API void toStr(std::string&, AnnouncementType::Enum);
634
636 inline std::string toStr(AnnouncementType::Enum value)
637 {
638 std::string str;
639 toStr(str, value);
640 return str;
641 }
642
645 {
647 typedef UInt8 Base;
648
649 enum Enum
650 {
653
656
659
662
665
666 };
667 };
668
670 ONIXS_LSE_GTP_API void toStr(std::string&, OrderBookType::Enum);
671
673 inline std::string toStr(OrderBookType::Enum value)
674 {
675 std::string str;
676 toStr(str, value);
677 return str;
678 }
679
729
731 ONIXS_LSE_GTP_API void toStr(std::string&, SourceVenue::Enum);
732
734 inline std::string toStr(SourceVenue::Enum value)
735 {
736 std::string str;
737 toStr(str, value);
738 return str;
739 }
740
743 {
745 typedef UInt8 Base;
746
747 enum Enum
748 {
750 XLON = 21,
751
753 XLOM = 22,
754
756 AIMX = 23,
757
759 XPVT = 24,
760
762 XLOX = 25,
763
764 };
765 };
766
768 ONIXS_LSE_GTP_API void toStr(std::string&, VenueOfExecution::Enum);
769
771 inline std::string toStr(VenueOfExecution::Enum value)
772 {
773 std::string str;
774 toStr(str, value);
775 return str;
776 }
777
780 {
782 typedef Byte Base;
783
862 };
863
865 ONIXS_LSE_GTP_API void toStr(std::string&, TradingStatus::Enum);
866
868 inline std::string toStr(TradingStatus::Enum value)
869 {
870 std::string str;
871 toStr(str, value);
872 return str;
873 }
874
877 {
879 typedef Byte Base;
880
881 enum Enum
882 {
885
888
891
894
895 };
896 };
897
899 ONIXS_LSE_GTP_API void toStr(std::string&, ImbalanceDirection::Enum);
900
902 inline std::string toStr(ImbalanceDirection::Enum value)
903 {
904 std::string str;
905 toStr(str, value);
906 return str;
907 }
908
911 {
913 typedef UInt8 Base;
914
915 enum Enum
916 {
919
922
925
928
930 EG1 = 9,
931
933 EG2 = 10,
934
937
940
941 };
942 };
943
945 ONIXS_LSE_GTP_API void toStr(std::string&, CrossType::Enum);
946
948 inline std::string toStr(CrossType::Enum value)
949 {
950 std::string str;
951 toStr(str, value);
952 return str;
953 }
954
957 {
959 typedef UInt8 Base;
960
961 enum Enum
962 {
964 None = 0,
965
968
971
972 };
973 };
974
976 ONIXS_LSE_GTP_API void toStr(std::string&, HiddenExecutionIndicator::Enum);
977
979 inline std::string toStr(HiddenExecutionIndicator::Enum value)
980 {
981 std::string str;
982 toStr(str, value);
983 return str;
984 }
985
988 {
990 typedef Byte Base;
991
992 enum Enum
993 {
995 None = ' ',
996
999
1001 CPX = 'T',
1002
1003 };
1004 };
1005
1007 ONIXS_LSE_GTP_API void toStr(std::string&, TradeQualifier::Enum);
1008
1010 inline std::string toStr(TradeQualifier::Enum value)
1011 {
1012 std::string str;
1013 toStr(str, value);
1014 return str;
1015 }
1016
1019 {
1021 typedef UInt8 Base;
1022
1023 enum Enum
1024 {
1027
1030
1033
1036
1039
1042
1045
1046 };
1047 };
1048
1050 ONIXS_LSE_GTP_API void toStr(std::string&, MarketMechanism::Enum);
1051
1053 inline std::string toStr(MarketMechanism::Enum value)
1054 {
1055 std::string str;
1056 toStr(str, value);
1057 return str;
1058 }
1059
1062 {
1064 typedef Byte Base;
1065
1102 };
1103
1105 ONIXS_LSE_GTP_API void toStr(std::string&, TradingMode::Enum);
1106
1108 inline std::string toStr(TradingMode::Enum value)
1109 {
1110 std::string str;
1111 toStr(str, value);
1112 return str;
1113 }
1114
1117 {
1119 typedef Byte Base;
1120
1121 enum Enum
1122 {
1125
1128
1131
1134
1136 None = '-',
1137
1138 };
1139 };
1140
1142 ONIXS_LSE_GTP_API void toStr(std::string&, TransactionCategory::Enum);
1143
1145 inline std::string toStr(TransactionCategory::Enum value)
1146 {
1147 std::string str;
1148 toStr(str, value);
1149 return str;
1150 }
1151
1177
1179 ONIXS_LSE_GTP_API void toStr(std::string&, NegotiationIndicator::Enum);
1180
1182 inline std::string toStr(NegotiationIndicator::Enum value)
1183 {
1184 std::string str;
1185 toStr(str, value);
1186 return str;
1187 }
1188
1191 {
1193 typedef Byte Base;
1194
1195 enum Enum
1196 {
1199
1202
1203 };
1204 };
1205
1207 ONIXS_LSE_GTP_API void toStr(std::string&, AgencyCrossIndicator::Enum);
1208
1210 inline std::string toStr(AgencyCrossIndicator::Enum value)
1211 {
1212 std::string str;
1213 toStr(str, value);
1214 return str;
1215 }
1216
1219 {
1221 typedef Byte Base;
1222
1223 enum Enum
1224 {
1227
1230
1233
1234 };
1235 };
1236
1238 ONIXS_LSE_GTP_API void toStr(std::string&, ModificationIndicator::Enum);
1239
1241 inline std::string toStr(ModificationIndicator::Enum value)
1242 {
1243 std::string str;
1244 toStr(str, value);
1245 return str;
1246 }
1247
1250 {
1252 typedef Byte Base;
1253
1254 enum Enum
1255 {
1258
1261
1264
1267
1268 };
1269 };
1270
1272 ONIXS_LSE_GTP_API void toStr(std::string&, ReferencePriceIndicator::Enum);
1273
1275 inline std::string toStr(ReferencePriceIndicator::Enum value)
1276 {
1277 std::string str;
1278 toStr(str, value);
1279 return str;
1280 }
1281
1284 {
1286 typedef Byte Base;
1287
1288 enum Enum
1289 {
1292
1295
1296 };
1297 };
1298
1300 ONIXS_LSE_GTP_API void toStr(std::string&, SpecialDividendIndicator::Enum);
1301
1303 inline std::string toStr(SpecialDividendIndicator::Enum value)
1304 {
1305 std::string str;
1306 toStr(str, value);
1307 return str;
1308 }
1309
1312 {
1314 typedef Byte Base;
1315
1316 enum Enum
1317 {
1320
1323
1326
1327 };
1328 };
1329
1331 ONIXS_LSE_GTP_API void toStr(std::string&, OffBookAutomatedIndicator::Enum);
1332
1334 inline std::string toStr(OffBookAutomatedIndicator::Enum value)
1335 {
1336 std::string str;
1337 toStr(str, value);
1338 return str;
1339 }
1340
1343 {
1345 typedef Byte Base;
1346
1362 };
1363
1365 ONIXS_LSE_GTP_API void toStr(std::string&, PriceFormationIndicator::Enum);
1366
1368 inline std::string toStr(PriceFormationIndicator::Enum value)
1369 {
1370 std::string str;
1371 toStr(str, value);
1372 return str;
1373 }
1374
1377 {
1379 typedef Byte Base;
1380
1381 enum Enum
1382 {
1385
1388
1389 };
1390 };
1391
1393 ONIXS_LSE_GTP_API void toStr(std::string&, AlgorithmicIndicator::Enum);
1394
1396 inline std::string toStr(AlgorithmicIndicator::Enum value)
1397 {
1398 std::string str;
1399 toStr(str, value);
1400 return str;
1401 }
1402
1405 {
1407 typedef Byte Base;
1408
1409 enum Enum
1410 {
1413
1416
1419
1422
1425
1428
1429 };
1430 };
1431
1433 ONIXS_LSE_GTP_API void toStr(std::string&, PostTradeDeferralReason::Enum);
1434
1436 inline std::string toStr(PostTradeDeferralReason::Enum value)
1437 {
1438 std::string str;
1439 toStr(str, value);
1440 return str;
1441 }
1442
1445 {
1447 typedef Byte Base;
1448
1449 enum Enum
1450 {
1452 LMTF = '1',
1453
1455 DATF = '2',
1456
1458 VOLO = '3',
1459
1461 FWAF = '4',
1462
1464 IDAF = '5',
1465
1467 VOLW = '6',
1468
1470 FULF = '7',
1471
1473 FULA = '8',
1474
1476 FULV = '9',
1477
1479 FULJ = 'V',
1480
1482 COAF = 'W',
1483
1486
1487 };
1488 };
1489
1491 ONIXS_LSE_GTP_API void toStr(std::string&, DeferralEnrichmentType::Enum);
1492
1494 inline std::string toStr(DeferralEnrichmentType::Enum value)
1495 {
1496 std::string str;
1497 toStr(str, value);
1498 return str;
1499 }
1500
1503 {
1505 typedef Byte Base;
1506
1507 enum Enum
1508 {
1511
1514
1515 };
1516 };
1517
1519 ONIXS_LSE_GTP_API void toStr(std::string&, DuplicativeIndicator::Enum);
1520
1522 inline std::string toStr(DuplicativeIndicator::Enum value)
1523 {
1524 std::string str;
1525 toStr(str, value);
1526 return str;
1527 }
1528
1530 struct Side
1531 {
1533 typedef Byte Base;
1534
1535 enum Enum
1536 {
1538 None = ' ',
1539
1541 Buy = 'B',
1542
1544 Sell = 'S',
1545
1546 };
1547 };
1548
1550 ONIXS_LSE_GTP_API void toStr(std::string&, Side::Enum);
1551
1553 inline std::string toStr(Side::Enum value)
1554 {
1555 std::string str;
1556 toStr(str, value);
1557 return str;
1558 }
1559
1560}
1561}
1562}
1563}
ONIXS_LSE_GTP_API void toStr(std::string &, EventCode::Enum)
Appends string presentation of object.
UInt8 Byte
Alias for Byte.
Definition Memory.h:37
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt16 Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt16 Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
Byte Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
@ XLOX
On Exchange Mid-Priced Executions.
@ XPVT
On Exchange Private Security Market.
UInt8 Base
Integral type used as basement for constants.