OnixS C++ B3 BOE Binary Order Entry 1.4.0
Users' manual and API documentation
Loading...
Searching...
No Matches
Messages.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
23#include <cassert>
24#include <stdexcept>
25
26#include <OnixS/B3/BOE/ABI.h>
29
31
36{
39
42
44 enum { TemplateId = 1 };
45
48
51 void* data,
52 EncodedLength length,
54 : SbeMessage(data, length, version)
55 {
57 checkLength(length, version);
59 reset();
60 }
61
77
80 void* data,
81 EncodedLength length,
82 NoInit)
83 : SbeMessage(data, length)
84 {
85 checkCompatibility();
86 }
87
89 explicit
91 const SbeMessage& message)
92 : SbeMessage(message)
93 {
94 assert(message.valid());
95
96 checkCompatibility();
97 }
98
102 void* data,
103 EncodedLength length,
104 NoInit,
105 NoCheck)
107 : SbeMessage(data, length, NoCheck())
108 {
109 assert(schemaId() == Schema::Id);
110 assert(version() >= Schema::MinimalVersion);
111 assert(TemplateId == templateId());
112 }
113
122
124
130 {
132
133 return ordinary<SessionID>(offset);
134 }
135
140 {
142
143 setOrdinary(offset, value);
144 return *this;
145 }
146
160
168 {
170
171 setOrdinary(offset, value);
172 return *this;
173 }
174
185
190 {
192
193 setOrdinary(offset, value);
194 return *this;
195 }
196
206
209
214 {
216
217 return ordinary<Firm>(offset);
218 }
219
223 {
225
226 setOrdinary(offset, value);
227 return *this;
228 }
229
233 bool onbehalfFirm(FirmOptional& value) const
235 {
237
238 return ordinary(value, offset, NullFirmOptional());
239 }
240
245 {
247
248 setOrdinary(offset, value);
249 return *this;
250 }
251
254 {
256
257 setOrdinary(offset, NullFirmOptional());
258 return *this;
259 }
260
265 {
267 credentialsAccess(),
268 *this);
269 }
270
275 {
276 return getVariableLengthField(clientIPAccess(), *this);
277 }
278
283 {
285 clientAppNameAccess(),
286 *this);
287 }
288
293 {
295 clientAppVersionAccess(),
296 *this);
297 }
298
301 {
303 credentialsAccess(),
304 value,
305 *this);
306
307 return *this;
308 }
309
312 {
314 clientIPAccess(),
315 value,
316 *this);
317
318 return *this;
319 }
320
323 {
325 clientAppNameAccess(),
326 value,
327 *this);
328
329 return *this;
330 }
331
334 {
336 clientAppVersionAccess(),
337 value,
338 *this);
339
340 return *this;
341 }
342
346 static
347 BlockLength
351 {
352 return
353 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
354 28;
355 }
356
362 {
363 return
364 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
366 }
367
372 static
381
386 static UInt64 getMaxMessageSize(UInt8)
388 {
389 return
391 }
392
396 {
397 setCredentialsToNull();
398 setClientIPToNull();
399 setClientAppNameToNull();
400 setClientAppVersionToNull();
401 return *this;
402 }
403
407 {
409
411 return *this;
412 }
413
418 static const Char* className()
419 {
420 return "Negotiate1";
421 }
422
429 {
430 return constructStrRef("Negotiate1");
431 }
432
434 void toString(
435 std::string& dest,
436 bool skipEmptyFields = false);
437
440 std::string toString(
441 bool skipEmptyFields = false) const;
442
445 const void* tail() const
447 {
448 return
449 toOpaquePtr(
450 (clientAppVersion().end()));
451 }
452
461
462private:
463 void checkLength(
464 EncodedLength length, SchemaVersion version) const
465 {
466 const EncodedLength minimalRequiredLength =
467 minimalBlockLength(version) +
469 getMinimalVariableFieldsSize(version);
470
471 checkBinaryLength(
472 *this, length, minimalRequiredLength);
473 }
474
476 void checkVarLenFields() const
477 {
478 variableLengthFields().
479 checkTail<CredentialsEncoding>().
480 checkTail<ClientAppEncoding>().
481 checkTail<ClientAppEncoding>().
482 checkTail<ClientAppEncoding>();
483 }
484
485 void checkCompatibility() const
486 {
487 assert(TemplateId == templateId());
488
489 checkSchema<Schema>(schemaId(), version());
490 checkLength(bufferSize(), version());
491 checkVarLenFields();
492 }
493
495 struct credentialsAccess
496 {
497 CredentialsEncoding& operator()(const Negotiate1& obj) const
499 {
500 return obj.
501 variableLengthFields().
502 head<CredentialsEncoding>();
503 }
504 };
505
507 struct clientIPAccess
508 {
509 ClientAppEncoding& operator()(const Negotiate1& obj) const
511 {
512 return obj.
513 variableLengthFields().
514 tail<CredentialsEncoding>().
515 head<ClientAppEncoding>();
516 }
517 };
518
520 struct clientAppNameAccess
521 {
522 ClientAppEncoding& operator()(const Negotiate1& obj) const
524 {
525 return obj.
526 variableLengthFields().
527 tail<CredentialsEncoding>().
528 tail<ClientAppEncoding>().
529 head<ClientAppEncoding>();
530 }
531 };
532
534 struct clientAppVersionAccess
535 {
536 ClientAppEncoding& operator()(const Negotiate1& obj) const
538 {
539 return obj.
540 variableLengthFields().
541 tail<CredentialsEncoding>().
542 tail<ClientAppEncoding>().
543 tail<ClientAppEncoding>().
544 head<ClientAppEncoding>();
545 }
546 };
547
550 ThisType& setCredentialsToNull()
552 {
553 setVariableLengthFieldToNull(
554 credentialsAccess(),
555 *this);
556
557 return *this;
558 }
559
562 ThisType& setClientIPToNull()
564 {
565 setVariableLengthFieldToNull(clientIPAccess(), *this);
566
567 return *this;
568 }
569
572 ThisType& setClientAppNameToNull()
574 {
575 setVariableLengthFieldToNull(
576 clientAppNameAccess(),
577 *this);
578
579 return *this;
580 }
581
584 ThisType& setClientAppVersionToNull()
586 {
587 setVariableLengthFieldToNull(
588 clientAppVersionAccess(),
589 *this);
590
591 return *this;
592 }
593};
594
599{
602
605
607 enum { TemplateId = 2 };
608
611
614 void* data,
615 EncodedLength length,
617 : SbeMessage(data, length, version)
618 {
620 checkLength(length, version);
622 reset();
623 }
624
640
643 void* data,
644 EncodedLength length,
645 NoInit)
646 : SbeMessage(data, length)
647 {
648 checkCompatibility();
649 }
650
652 explicit
654 const SbeMessage& message)
655 : SbeMessage(message)
656 {
657 assert(message.valid());
658
659 checkCompatibility();
660 }
661
665 void* data,
666 EncodedLength length,
667 NoInit,
668 NoCheck)
670 : SbeMessage(data, length, NoCheck())
671 {
672 assert(schemaId() == Schema::Id);
673 assert(version() >= Schema::MinimalVersion);
674 assert(TemplateId == templateId());
675 }
676
685
687
693 {
695
696 return ordinary<SessionID>(offset);
697 }
698
703 {
705
706 setOrdinary(offset, value);
707 return *this;
708 }
709
723
731 {
733
734 setOrdinary(offset, value);
735 return *this;
736 }
737
747
751 {
753
754 setOrdinary(offset, value);
755 return *this;
756 }
757
767
770
780
783
788 {
790
791 return ordinary<Firm>(offset);
792 }
793
797 {
799
800 setOrdinary(offset, value);
801 return *this;
802 }
803
807 bool semanticVersion(Version& value) const
809 {
812
813 return ordinary(value, offset, NullVersion(), since);
814 }
815
819 {
822
823 setOrdinary(offset, value, since);
824 return *this;
825 }
826
828 {
831
832 setOrdinary(offset, NullVersion(), since);
833 return *this;
834 }
835
841 {
842 return
843 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
844 (version >= 4)
845 ? 28
846 : 24;
847 }
848
854 {
855 return
856 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
858 }
859
864 static
868 {
869 return
870 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
871 0;
872 }
873
878 static UInt64 getMaxMessageSize(UInt8)
880 {
881 return
882 static_cast<UInt64>(MessageHeaderBuilder::Size) +
884 }
885
889 {
890 return *this;
891 }
892
896 {
897 if (version() >= 4)
898 {
900 }
901
903 return *this;
904 }
905
910 static const Char* className()
911 {
912 return "NegotiateResponse2";
913 }
914
921 {
922 return constructStrRef("NegotiateResponse2");
923 }
924
926 void toString(
927 std::string& dest,
928 bool skipEmptyFields = false);
929
932 std::string toString(
933 bool skipEmptyFields = false) const;
934
937 const void* tail() const
939 {
940 return
941 toOpaquePtr(
942 advanceByBytes(
943 binary(),
944 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
946 }
947
956
957private:
958 void checkLength(
959 EncodedLength length, SchemaVersion version) const
960 {
961 const EncodedLength minimalRequiredLength =
962 minimalBlockLength(version) +
964 getMinimalVariableFieldsSize(version);
965
966 checkBinaryLength(
967 *this, length, minimalRequiredLength);
968 }
969
970 void checkCompatibility() const
971 {
972 assert(TemplateId == templateId());
973
974 checkSchema<Schema>(schemaId(), version());
975 checkLength(bufferSize(), version());
976 }
977};
978
983{
986
989
991 enum { TemplateId = 3 };
992
995
998 void* data,
999 EncodedLength length,
1001 : SbeMessage(data, length, version)
1002 {
1004 checkLength(length, version);
1006 reset();
1007 }
1008
1013 void* data,
1014 EncodedLength length,
1017 : SbeMessage(data, length, version)
1018 {
1020 checkLength(length, version);
1023 }
1024
1027 void* data,
1028 EncodedLength length,
1029 NoInit)
1030 : SbeMessage(data, length)
1031 {
1032 checkCompatibility();
1033 }
1034
1036 explicit
1038 const SbeMessage& message)
1039 : SbeMessage(message)
1040 {
1041 assert(message.valid());
1042
1043 checkCompatibility();
1044 }
1045
1049 void* data,
1050 EncodedLength length,
1051 NoInit,
1052 NoCheck)
1054 : SbeMessage(data, length, NoCheck())
1055 {
1056 assert(schemaId() == Schema::Id);
1057 assert(version() >= Schema::MinimalVersion);
1058 assert(TemplateId == templateId());
1059 }
1060
1069
1071
1077 {
1079
1080 return ordinary<SessionID>(offset);
1081 }
1082
1087 {
1089
1090 setOrdinary(offset, value);
1091 return *this;
1092 }
1093
1102 {
1104
1105 return ordinary<SessionVerID>(offset);
1106 }
1107
1115 {
1117
1118 setOrdinary(offset, value);
1119 return *this;
1120 }
1121
1131
1135 {
1137
1138 setOrdinary(offset, value);
1139 return *this;
1140 }
1141
1148 {
1149 return FlowType::Idempotent;
1150 }
1151
1154
1157 bool enteringFirm(FirmOptional& value) const
1159 {
1161
1162 return ordinary(value, offset, NullFirmOptional());
1163 }
1164
1168 {
1170
1171 setOrdinary(offset, value);
1172 return *this;
1173 }
1174
1177 {
1179
1180 setOrdinary(offset, NullFirmOptional());
1181 return *this;
1182 }
1183
1194
1196 ThisType&
1206
1210 bool
1212 SessionVerIDOptional& value) const
1214 {
1216
1217 return ordinary(value, offset, NullSessionVerIDOptional());
1218 }
1219
1222 ThisType&
1226 {
1228
1229 setOrdinary(offset, value);
1230 return *this;
1231 }
1232
1241
1245 static
1246 BlockLength
1250 {
1251 return
1252 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
1253 36;
1254 }
1255
1259 static
1260 BlockLength
1269
1274 static
1278 {
1279 return
1280 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
1281 0;
1282 }
1283
1288 static UInt64 getMaxMessageSize(UInt8)
1290 {
1291 return
1292 static_cast<UInt64>(MessageHeaderBuilder::Size) +
1294 }
1295
1299 {
1300 return *this;
1301 }
1302
1306 {
1309
1311 return *this;
1312 }
1313
1318 static const Char* className()
1319 {
1320 return "NegotiateReject3";
1321 }
1322
1329 {
1330 return constructStrRef("NegotiateReject3");
1331 }
1332
1334 void toString(
1335 std::string& dest,
1336 bool skipEmptyFields = false);
1337
1340 std::string toString(
1341 bool skipEmptyFields = false) const;
1342
1345 const void* tail() const
1347 {
1348 return
1349 toOpaquePtr(
1350 advanceByBytes(
1351 binary(),
1352 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
1354 }
1355
1364
1365private:
1366 void checkLength(
1367 EncodedLength length, SchemaVersion version) const
1368 {
1369 const EncodedLength minimalRequiredLength =
1370 minimalBlockLength(version) +
1372 getMinimalVariableFieldsSize(version);
1373
1374 checkBinaryLength(
1375 *this, length, minimalRequiredLength);
1376 }
1377
1378 void checkCompatibility() const
1379 {
1380 assert(TemplateId == templateId());
1381
1382 checkSchema<Schema>(schemaId(), version());
1383 checkLength(bufferSize(), version());
1384 }
1385};
1386
1390: SbeMessage
1391{
1394
1397
1399 enum { TemplateId = 4 };
1400
1403
1406 void* data,
1407 EncodedLength length,
1409 : SbeMessage(data, length, version)
1410 {
1412 checkLength(length, version);
1414 reset();
1415 }
1416
1421 void* data,
1422 EncodedLength length,
1425 : SbeMessage(data, length, version)
1426 {
1428 checkLength(length, version);
1431 }
1432
1435 void* data,
1436 EncodedLength length,
1437 NoInit)
1438 : SbeMessage(data, length)
1439 {
1440 checkCompatibility();
1441 }
1442
1444 explicit
1446 const SbeMessage& message)
1447 : SbeMessage(message)
1448 {
1449 assert(message.valid());
1450
1451 checkCompatibility();
1452 }
1453
1457 void* data,
1458 EncodedLength length,
1459 NoInit,
1460 NoCheck)
1462 : SbeMessage(data, length, NoCheck())
1463 {
1464 assert(schemaId() == Schema::Id);
1465 assert(version() >= Schema::MinimalVersion);
1466 assert(TemplateId == templateId());
1467 }
1468
1477
1479
1485 {
1487
1488 return ordinary<SessionID>(offset);
1489 }
1490
1495 {
1497
1498 setOrdinary(offset, value);
1499 return *this;
1500 }
1501
1510 {
1512
1513 return ordinary<SessionVerID>(offset);
1514 }
1515
1523 {
1525
1526 setOrdinary(offset, value);
1527 return *this;
1528 }
1529
1540
1545 {
1547
1548 setOrdinary(offset, value);
1549 return *this;
1550 }
1551
1563
1569 {
1571
1572 setOrdinary(offset, value);
1573 return *this;
1574 }
1575
1581 {
1583
1584 return ordinary<SeqNum>(offset);
1585 }
1586
1591 {
1593
1594 setOrdinary(offset, value);
1595 return *this;
1596 }
1597
1609
1612 ThisType&
1622
1635
1642 {
1644
1645 setOrdinary(offset, value);
1646 return *this;
1647 }
1648
1653 {
1655 credentialsAccess(),
1656 *this);
1657 }
1658
1661 {
1663 credentialsAccess(),
1664 value,
1665 *this);
1666
1667 return *this;
1668 }
1669
1673 static
1674 BlockLength
1678 {
1679 return
1680 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
1681 42;
1682 }
1683
1687 static
1688 BlockLength
1697
1702 static
1706 {
1707 return
1708 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
1710 }
1711
1716 static UInt64 getMaxMessageSize(UInt8)
1718 {
1719 return
1721 }
1722
1726 {
1727 setCredentialsToNull();
1728 return *this;
1729 }
1730
1734 {
1736 return *this;
1737 }
1738
1743 static const Char* className()
1744 {
1745 return "Establish4";
1746 }
1747
1754 {
1755 return constructStrRef("Establish4");
1756 }
1757
1759 void toString(
1760 std::string& dest,
1761 bool skipEmptyFields = false);
1762
1765 std::string toString(
1766 bool skipEmptyFields = false) const;
1767
1770 const void* tail() const
1772 {
1773 return
1774 toOpaquePtr(
1775 (credentials().end()));
1776 }
1777
1786
1787private:
1788 void checkLength(
1789 EncodedLength length, SchemaVersion version) const
1790 {
1791 const EncodedLength minimalRequiredLength =
1792 minimalBlockLength(version) +
1794 getMinimalVariableFieldsSize(version);
1795
1796 checkBinaryLength(
1797 *this, length, minimalRequiredLength);
1798 }
1799
1801 void checkVarLenFields() const
1802 {
1803 variableLengthFields().
1804 checkTail<CredentialsEncoding>();
1805 }
1806
1807 void checkCompatibility() const
1808 {
1809 assert(TemplateId == templateId());
1810
1811 checkSchema<Schema>(schemaId(), version());
1812 checkLength(bufferSize(), version());
1813 checkVarLenFields();
1814 }
1815
1817 struct credentialsAccess
1818 {
1819 CredentialsEncoding& operator()(const Establish4& obj) const
1821 {
1822 return obj.
1823 variableLengthFields().
1824 head<CredentialsEncoding>();
1825 }
1826 };
1827
1830 ThisType& setCredentialsToNull()
1832 {
1833 setVariableLengthFieldToNull(
1834 credentialsAccess(),
1835 *this);
1836
1837 return *this;
1838 }
1839};
1840
1844: SbeMessage
1845{
1848
1851
1853 enum { TemplateId = 5 };
1854
1857
1860 void* data,
1861 EncodedLength length,
1863 : SbeMessage(data, length, version)
1864 {
1866 checkLength(length, version);
1868 reset();
1869 }
1870
1875 void* data,
1876 EncodedLength length,
1879 : SbeMessage(data, length, version)
1880 {
1882 checkLength(length, version);
1885 }
1886
1889 void* data,
1890 EncodedLength length,
1891 NoInit)
1892 : SbeMessage(data, length)
1893 {
1894 checkCompatibility();
1895 }
1896
1898 explicit
1900 const SbeMessage& message)
1901 : SbeMessage(message)
1902 {
1903 assert(message.valid());
1904
1905 checkCompatibility();
1906 }
1907
1911 void* data,
1912 EncodedLength length,
1913 NoInit,
1914 NoCheck)
1916 : SbeMessage(data, length, NoCheck())
1917 {
1918 assert(schemaId() == Schema::Id);
1919 assert(version() >= Schema::MinimalVersion);
1920 assert(TemplateId == templateId());
1921 }
1922
1931
1933
1939 {
1941
1942 return ordinary<SessionID>(offset);
1943 }
1944
1949 {
1951
1952 setOrdinary(offset, value);
1953 return *this;
1954 }
1955
1964 {
1966
1967 return ordinary<SessionVerID>(offset);
1968 }
1969
1977 {
1979
1980 setOrdinary(offset, value);
1981 return *this;
1982 }
1983
1993
1997 {
1999
2000 setOrdinary(offset, value);
2001 return *this;
2002 }
2003
2014
2019 {
2021
2022 setOrdinary(offset, value);
2023 return *this;
2024 }
2025
2031 {
2033
2034 return ordinary<SeqNum>(offset);
2035 }
2036
2041 {
2043
2044 setOrdinary(offset, value);
2045 return *this;
2046 }
2047
2055 {
2057
2058 return ordinary<SeqNum>(offset);
2059 }
2060
2067 {
2069
2070 setOrdinary(offset, value);
2071 return *this;
2072 }
2073
2077 bool semanticVersion(Version& value) const
2079 {
2082
2083 return ordinary(value, offset, NullVersion(), since);
2084 }
2085
2089 {
2092
2093 setOrdinary(offset, value, since);
2094 return *this;
2095 }
2096
2098 {
2101
2102 setOrdinary(offset, NullVersion(), since);
2103 return *this;
2104 }
2105
2111 {
2112 return
2113 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
2114 (version >= 6)
2115 ? 40
2116 : 36;
2117 }
2118
2124 {
2125 return
2126 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
2128 }
2129
2134 static
2138 {
2139 return
2140 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
2141 0;
2142 }
2143
2148 static UInt64 getMaxMessageSize(UInt8)
2150 {
2151 return
2152 static_cast<UInt64>(MessageHeaderBuilder::Size) +
2154 }
2155
2159 {
2160 return *this;
2161 }
2162
2166 {
2167 if (version() >= 6)
2168 {
2170 }
2171
2173 return *this;
2174 }
2175
2180 static const Char* className()
2181 {
2182 return "EstablishAck5";
2183 }
2184
2191 {
2192 return constructStrRef("EstablishAck5");
2193 }
2194
2196 void toString(
2197 std::string& dest,
2198 bool skipEmptyFields = false);
2199
2202 std::string toString(
2203 bool skipEmptyFields = false) const;
2204
2207 const void* tail() const
2209 {
2210 return
2211 toOpaquePtr(
2212 advanceByBytes(
2213 binary(),
2214 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
2216 }
2217
2226
2227private:
2228 void checkLength(
2229 EncodedLength length, SchemaVersion version) const
2230 {
2231 const EncodedLength minimalRequiredLength =
2232 minimalBlockLength(version) +
2234 getMinimalVariableFieldsSize(version);
2235
2236 checkBinaryLength(
2237 *this, length, minimalRequiredLength);
2238 }
2239
2240 void checkCompatibility() const
2241 {
2242 assert(TemplateId == templateId());
2243
2244 checkSchema<Schema>(schemaId(), version());
2245 checkLength(bufferSize(), version());
2246 }
2247};
2248
2252: SbeMessage
2253{
2256
2259
2261 enum { TemplateId = 6 };
2262
2265
2268 void* data,
2269 EncodedLength length,
2271 : SbeMessage(data, length, version)
2272 {
2274 checkLength(length, version);
2276 reset();
2277 }
2278
2283 void* data,
2284 EncodedLength length,
2287 : SbeMessage(data, length, version)
2288 {
2290 checkLength(length, version);
2293 }
2294
2297 void* data,
2298 EncodedLength length,
2299 NoInit)
2300 : SbeMessage(data, length)
2301 {
2302 checkCompatibility();
2303 }
2304
2306 explicit
2308 const SbeMessage& message)
2309 : SbeMessage(message)
2310 {
2311 assert(message.valid());
2312
2313 checkCompatibility();
2314 }
2315
2319 void* data,
2320 EncodedLength length,
2321 NoInit,
2322 NoCheck)
2324 : SbeMessage(data, length, NoCheck())
2325 {
2326 assert(schemaId() == Schema::Id);
2327 assert(version() >= Schema::MinimalVersion);
2328 assert(TemplateId == templateId());
2329 }
2330
2339
2341
2347 {
2349
2350 return ordinary<SessionID>(offset);
2351 }
2352
2357 {
2359
2360 setOrdinary(offset, value);
2361 return *this;
2362 }
2363
2372 {
2374
2375 return ordinary<SessionVerID>(offset);
2376 }
2377
2385 {
2387
2388 setOrdinary(offset, value);
2389 return *this;
2390 }
2391
2401
2405 {
2407
2408 setOrdinary(offset, value);
2409 return *this;
2410 }
2411
2422
2424 ThisType&
2428 {
2430
2432 return *this;
2433 }
2434
2443 {
2445
2446 return ordinary(value, offset, NullSeqNumOptional());
2447 }
2448
2456 {
2458
2459 setOrdinary(offset, value);
2460 return *this;
2461 }
2462
2465 {
2467
2469 return *this;
2470 }
2471
2475 static
2476 BlockLength
2480 {
2481 return
2482 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
2483 26;
2484 }
2485
2489 static
2490 BlockLength
2499
2504 static
2508 {
2509 return
2510 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
2511 0;
2512 }
2513
2518 static UInt64 getMaxMessageSize(UInt8)
2520 {
2521 return
2522 static_cast<UInt64>(MessageHeaderBuilder::Size) +
2524 }
2525
2529 {
2530 return *this;
2531 }
2532
2536 {
2538
2540 return *this;
2541 }
2542
2547 static const Char* className()
2548 {
2549 return "EstablishReject6";
2550 }
2551
2558 {
2559 return constructStrRef("EstablishReject6");
2560 }
2561
2563 void toString(
2564 std::string& dest,
2565 bool skipEmptyFields = false);
2566
2569 std::string toString(
2570 bool skipEmptyFields = false) const;
2571
2574 const void* tail() const
2576 {
2577 return
2578 toOpaquePtr(
2579 advanceByBytes(
2580 binary(),
2581 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
2583 }
2584
2593
2594private:
2595 void checkLength(
2596 EncodedLength length, SchemaVersion version) const
2597 {
2598 const EncodedLength minimalRequiredLength =
2599 minimalBlockLength(version) +
2601 getMinimalVariableFieldsSize(version);
2602
2603 checkBinaryLength(
2604 *this, length, minimalRequiredLength);
2605 }
2606
2607 void checkCompatibility() const
2608 {
2609 assert(TemplateId == templateId());
2610
2611 checkSchema<Schema>(schemaId(), version());
2612 checkLength(bufferSize(), version());
2613 }
2614};
2615
2619: SbeMessage
2620{
2623
2626
2628 enum { TemplateId = 7 };
2629
2632
2635 void* data,
2636 EncodedLength length,
2638 : SbeMessage(data, length, version)
2639 {
2641 checkLength(length, version);
2643 reset();
2644 }
2645
2650 void* data,
2651 EncodedLength length,
2654 : SbeMessage(data, length, version)
2655 {
2657 checkLength(length, version);
2660 }
2661
2664 void* data,
2665 EncodedLength length,
2666 NoInit)
2667 : SbeMessage(data, length)
2668 {
2669 checkCompatibility();
2670 }
2671
2673 explicit
2675 const SbeMessage& message)
2676 : SbeMessage(message)
2677 {
2678 assert(message.valid());
2679
2680 checkCompatibility();
2681 }
2682
2686 void* data,
2687 EncodedLength length,
2688 NoInit,
2689 NoCheck)
2691 : SbeMessage(data, length, NoCheck())
2692 {
2693 assert(schemaId() == Schema::Id);
2694 assert(version() >= Schema::MinimalVersion);
2695 assert(TemplateId == templateId());
2696 }
2697
2706
2708
2714 {
2716
2717 return ordinary<SessionID>(offset);
2718 }
2719
2724 {
2726
2727 setOrdinary(offset, value);
2728 return *this;
2729 }
2730
2739 {
2741
2742 return ordinary<SessionVerID>(offset);
2743 }
2744
2752 {
2754
2755 setOrdinary(offset, value);
2756 return *this;
2757 }
2758
2768
2770 ThisType&
2774 {
2776
2777 setEnumeration<TerminationCode>(offset, value);
2778 return *this;
2779 }
2780
2784 static
2785 BlockLength
2789 {
2790 return
2791 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
2792 13;
2793 }
2794
2800 {
2801 return
2802 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
2804 }
2805
2810 static
2814 {
2815 return
2816 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
2817 0;
2818 }
2819
2824 static UInt64 getMaxMessageSize(UInt8)
2826 {
2827 return
2828 static_cast<UInt64>(MessageHeaderBuilder::Size) +
2830 }
2831
2835 {
2836 return *this;
2837 }
2838
2842 {
2844 return *this;
2845 }
2846
2851 static const Char* className()
2852 {
2853 return "Terminate7";
2854 }
2855
2862 {
2863 return constructStrRef("Terminate7");
2864 }
2865
2867 void toString(
2868 std::string& dest,
2869 bool skipEmptyFields = false);
2870
2873 std::string toString(
2874 bool skipEmptyFields = false) const;
2875
2878 const void* tail() const
2880 {
2881 return
2882 toOpaquePtr(
2883 advanceByBytes(
2884 binary(),
2885 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
2887 }
2888
2897
2898private:
2899 void checkLength(
2900 EncodedLength length, SchemaVersion version) const
2901 {
2902 const EncodedLength minimalRequiredLength =
2903 minimalBlockLength(version) +
2905 getMinimalVariableFieldsSize(version);
2906
2907 checkBinaryLength(
2908 *this, length, minimalRequiredLength);
2909 }
2910
2911 void checkCompatibility() const
2912 {
2913 assert(TemplateId == templateId());
2914
2915 checkSchema<Schema>(schemaId(), version());
2916 checkLength(bufferSize(), version());
2917 }
2918};
2919
2923: SbeMessage
2924{
2927
2930
2932 enum { TemplateId = 8 };
2933
2936
2939 void* data,
2940 EncodedLength length,
2942 : SbeMessage(data, length, version)
2943 {
2945 checkLength(length, version);
2947 reset();
2948 }
2949
2954 void* data,
2955 EncodedLength length,
2958 : SbeMessage(data, length, version)
2959 {
2961 checkLength(length, version);
2964 }
2965
2968 void* data,
2969 EncodedLength length,
2970 NoInit)
2971 : SbeMessage(data, length)
2972 {
2973 checkCompatibility();
2974 }
2975
2977 explicit
2979 const SbeMessage& message)
2980 : SbeMessage(message)
2981 {
2982 assert(message.valid());
2983
2984 checkCompatibility();
2985 }
2986
2990 void* data,
2991 EncodedLength length,
2992 NoInit,
2993 NoCheck)
2995 : SbeMessage(data, length, NoCheck())
2996 {
2997 assert(schemaId() == Schema::Id);
2998 assert(version() >= Schema::MinimalVersion);
2999 assert(TemplateId == templateId());
3000 }
3001
3010
3012
3017 {
3019
3020 return ordinary<SeqNum>(offset);
3021 }
3022
3026 {
3028
3029 setOrdinary(offset, value);
3030 return *this;
3031 }
3032
3037 {
3039
3040 return ordinary<MessageCounter>(offset);
3041 }
3042
3046 {
3048
3049 setOrdinary(offset, value);
3050 return *this;
3051 }
3052
3056 static
3057 BlockLength
3061 {
3062 return
3063 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3064 8;
3065 }
3066
3072 {
3073 return
3074 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3076 }
3077
3082 static
3086 {
3087 return
3088 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3089 0;
3090 }
3091
3096 static UInt64 getMaxMessageSize(UInt8)
3098 {
3099 return
3100 static_cast<UInt64>(MessageHeaderBuilder::Size) +
3102 }
3103
3107 {
3108 return *this;
3109 }
3110
3114 {
3116 return *this;
3117 }
3118
3123 static const Char* className()
3124 {
3125 return "NotApplied8";
3126 }
3127
3134 {
3135 return constructStrRef("NotApplied8");
3136 }
3137
3139 void toString(
3140 std::string& dest,
3141 bool skipEmptyFields = false);
3142
3145 std::string toString(
3146 bool skipEmptyFields = false) const;
3147
3150 const void* tail() const
3152 {
3153 return
3154 toOpaquePtr(
3155 advanceByBytes(
3156 binary(),
3157 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
3159 }
3160
3169
3170private:
3171 void checkLength(
3172 EncodedLength length, SchemaVersion version) const
3173 {
3174 const EncodedLength minimalRequiredLength =
3175 minimalBlockLength(version) +
3177 getMinimalVariableFieldsSize(version);
3178
3179 checkBinaryLength(
3180 *this, length, minimalRequiredLength);
3181 }
3182
3183 void checkCompatibility() const
3184 {
3185 assert(TemplateId == templateId());
3186
3187 checkSchema<Schema>(schemaId(), version());
3188 checkLength(bufferSize(), version());
3189 }
3190};
3191
3195: SbeMessage
3196{
3199
3202
3204 enum { TemplateId = 9 };
3205
3208
3211 void* data,
3212 EncodedLength length,
3214 : SbeMessage(data, length, version)
3215 {
3217 checkLength(length, version);
3219 reset();
3220 }
3221
3226 void* data,
3227 EncodedLength length,
3230 : SbeMessage(data, length, version)
3231 {
3233 checkLength(length, version);
3236 }
3237
3240 void* data,
3241 EncodedLength length,
3242 NoInit)
3243 : SbeMessage(data, length)
3244 {
3245 checkCompatibility();
3246 }
3247
3249 explicit
3251 const SbeMessage& message)
3252 : SbeMessage(message)
3253 {
3254 assert(message.valid());
3255
3256 checkCompatibility();
3257 }
3258
3262 void* data,
3263 EncodedLength length,
3264 NoInit,
3265 NoCheck)
3267 : SbeMessage(data, length, NoCheck())
3268 {
3269 assert(schemaId() == Schema::Id);
3270 assert(version() >= Schema::MinimalVersion);
3271 assert(TemplateId == templateId());
3272 }
3273
3282
3284
3290 {
3292
3293 return ordinary<SeqNum>(offset);
3294 }
3295
3300 {
3302
3303 setOrdinary(offset, value);
3304 return *this;
3305 }
3306
3310 static
3311 BlockLength
3315 {
3316 return
3317 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3318 4;
3319 }
3320
3326 {
3327 return
3328 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3330 }
3331
3336 static
3340 {
3341 return
3342 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3343 0;
3344 }
3345
3350 static UInt64 getMaxMessageSize(UInt8)
3352 {
3353 return
3354 static_cast<UInt64>(MessageHeaderBuilder::Size) +
3356 }
3357
3361 {
3362 return *this;
3363 }
3364
3368 {
3370 return *this;
3371 }
3372
3377 static const Char* className()
3378 {
3379 return "Sequence9";
3380 }
3381
3388 {
3389 return constructStrRef("Sequence9");
3390 }
3391
3393 void toString(
3394 std::string& dest,
3395 bool skipEmptyFields = false);
3396
3399 std::string toString(
3400 bool skipEmptyFields = false) const;
3401
3404 const void* tail() const
3406 {
3407 return
3408 toOpaquePtr(
3409 advanceByBytes(
3410 binary(),
3411 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
3413 }
3414
3423
3424private:
3425 void checkLength(
3426 EncodedLength length, SchemaVersion version) const
3427 {
3428 const EncodedLength minimalRequiredLength =
3429 minimalBlockLength(version) +
3431 getMinimalVariableFieldsSize(version);
3432
3433 checkBinaryLength(
3434 *this, length, minimalRequiredLength);
3435 }
3436
3437 void checkCompatibility() const
3438 {
3439 assert(TemplateId == templateId());
3440
3441 checkSchema<Schema>(schemaId(), version());
3442 checkLength(bufferSize(), version());
3443 }
3444};
3445
3449: SbeMessage
3450{
3453
3456
3458 enum { TemplateId = 12 };
3459
3462
3465 void* data,
3466 EncodedLength length,
3468 : SbeMessage(data, length, version)
3469 {
3471 checkLength(length, version);
3473 reset();
3474 }
3475
3480 void* data,
3481 EncodedLength length,
3484 : SbeMessage(data, length, version)
3485 {
3487 checkLength(length, version);
3490 }
3491
3494 void* data,
3495 EncodedLength length,
3496 NoInit)
3497 : SbeMessage(data, length)
3498 {
3499 checkCompatibility();
3500 }
3501
3503 explicit
3505 const SbeMessage& message)
3506 : SbeMessage(message)
3507 {
3508 assert(message.valid());
3509
3510 checkCompatibility();
3511 }
3512
3516 void* data,
3517 EncodedLength length,
3518 NoInit,
3519 NoCheck)
3521 : SbeMessage(data, length, NoCheck())
3522 {
3523 assert(schemaId() == Schema::Id);
3524 assert(version() >= Schema::MinimalVersion);
3525 assert(TemplateId == templateId());
3526 }
3527
3536
3538
3544 {
3546
3547 return ordinary<SessionID>(offset);
3548 }
3549
3554 {
3556
3557 setOrdinary(offset, value);
3558 return *this;
3559 }
3560
3571
3576 {
3578
3579 setOrdinary(offset, value);
3580 return *this;
3581 }
3582
3587 {
3589
3590 return ordinary<SeqNum>(offset);
3591 }
3592
3596 {
3598
3599 setOrdinary(offset, value);
3600 return *this;
3601 }
3602
3608 {
3610
3611 return ordinary<MessageCounter>(offset);
3612 }
3613
3618 {
3620
3621 setOrdinary(offset, value);
3622 return *this;
3623 }
3624
3628 static
3629 BlockLength
3633 {
3634 return
3635 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3636 20;
3637 }
3638
3644 {
3645 return
3646 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3648 }
3649
3654 static
3658 {
3659 return
3660 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3661 0;
3662 }
3663
3668 static UInt64 getMaxMessageSize(UInt8)
3670 {
3671 return
3672 static_cast<UInt64>(MessageHeaderBuilder::Size) +
3674 }
3675
3679 {
3680 return *this;
3681 }
3682
3686 {
3688 return *this;
3689 }
3690
3695 static const Char* className()
3696 {
3697 return "RetransmitRequest12";
3698 }
3699
3706 {
3707 return constructStrRef("RetransmitRequest12");
3708 }
3709
3711 void toString(
3712 std::string& dest,
3713 bool skipEmptyFields = false);
3714
3717 std::string toString(
3718 bool skipEmptyFields = false) const;
3719
3722 const void* tail() const
3724 {
3725 return
3726 toOpaquePtr(
3727 advanceByBytes(
3728 binary(),
3729 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
3731 }
3732
3741
3742private:
3743 void checkLength(
3744 EncodedLength length, SchemaVersion version) const
3745 {
3746 const EncodedLength minimalRequiredLength =
3747 minimalBlockLength(version) +
3749 getMinimalVariableFieldsSize(version);
3750
3751 checkBinaryLength(
3752 *this, length, minimalRequiredLength);
3753 }
3754
3755 void checkCompatibility() const
3756 {
3757 assert(TemplateId == templateId());
3758
3759 checkSchema<Schema>(schemaId(), version());
3760 checkLength(bufferSize(), version());
3761 }
3762};
3763
3767: SbeMessage
3768{
3771
3774
3776 enum { TemplateId = 13 };
3777
3780
3783 void* data,
3784 EncodedLength length,
3786 : SbeMessage(data, length, version)
3787 {
3789 checkLength(length, version);
3791 reset();
3792 }
3793
3798 void* data,
3799 EncodedLength length,
3802 : SbeMessage(data, length, version)
3803 {
3805 checkLength(length, version);
3808 }
3809
3812 void* data,
3813 EncodedLength length,
3814 NoInit)
3815 : SbeMessage(data, length)
3816 {
3817 checkCompatibility();
3818 }
3819
3821 explicit
3823 const SbeMessage& message)
3824 : SbeMessage(message)
3825 {
3826 assert(message.valid());
3827
3828 checkCompatibility();
3829 }
3830
3834 void* data,
3835 EncodedLength length,
3836 NoInit,
3837 NoCheck)
3839 : SbeMessage(data, length, NoCheck())
3840 {
3841 assert(schemaId() == Schema::Id);
3842 assert(version() >= Schema::MinimalVersion);
3843 assert(TemplateId == templateId());
3844 }
3845
3854
3856
3862 {
3864
3865 return ordinary<SessionID>(offset);
3866 }
3867
3872 {
3874
3875 setOrdinary(offset, value);
3876 return *this;
3877 }
3878
3888
3892 {
3894
3895 setOrdinary(offset, value);
3896 return *this;
3897 }
3898
3903 {
3905
3906 return ordinary<SeqNum>(offset);
3907 }
3908
3912 {
3914
3915 setOrdinary(offset, value);
3916 return *this;
3917 }
3918
3923 {
3925
3926 return ordinary<MessageCounter>(offset);
3927 }
3928
3932 {
3934
3935 setOrdinary(offset, value);
3936 return *this;
3937 }
3938
3942 static
3943 BlockLength
3947 {
3948 return
3949 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3950 20;
3951 }
3952
3958 {
3959 return
3960 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3962 }
3963
3968 static
3972 {
3973 return
3974 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
3975 0;
3976 }
3977
3982 static UInt64 getMaxMessageSize(UInt8)
3984 {
3985 return
3986 static_cast<UInt64>(MessageHeaderBuilder::Size) +
3988 }
3989
3993 {
3994 return *this;
3995 }
3996
4000 {
4002 return *this;
4003 }
4004
4009 static const Char* className()
4010 {
4011 return "Retransmission13";
4012 }
4013
4020 {
4021 return constructStrRef("Retransmission13");
4022 }
4023
4025 void toString(
4026 std::string& dest,
4027 bool skipEmptyFields = false);
4028
4031 std::string toString(
4032 bool skipEmptyFields = false) const;
4033
4036 const void* tail() const
4038 {
4039 return
4040 toOpaquePtr(
4041 advanceByBytes(
4042 binary(),
4043 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
4045 }
4046
4055
4056private:
4057 void checkLength(
4058 EncodedLength length, SchemaVersion version) const
4059 {
4060 const EncodedLength minimalRequiredLength =
4061 minimalBlockLength(version) +
4063 getMinimalVariableFieldsSize(version);
4064
4065 checkBinaryLength(
4066 *this, length, minimalRequiredLength);
4067 }
4068
4069 void checkCompatibility() const
4070 {
4071 assert(TemplateId == templateId());
4072
4073 checkSchema<Schema>(schemaId(), version());
4074 checkLength(bufferSize(), version());
4075 }
4076};
4077
4081: SbeMessage
4082{
4085
4088
4090 enum { TemplateId = 14 };
4091
4094
4097 void* data,
4098 EncodedLength length,
4100 : SbeMessage(data, length, version)
4101 {
4103 checkLength(length, version);
4105 reset();
4106 }
4107
4112 void* data,
4113 EncodedLength length,
4116 : SbeMessage(data, length, version)
4117 {
4119 checkLength(length, version);
4122 }
4123
4126 void* data,
4127 EncodedLength length,
4128 NoInit)
4129 : SbeMessage(data, length)
4130 {
4131 checkCompatibility();
4132 }
4133
4135 explicit
4137 const SbeMessage& message)
4138 : SbeMessage(message)
4139 {
4140 assert(message.valid());
4141
4142 checkCompatibility();
4143 }
4144
4148 void* data,
4149 EncodedLength length,
4150 NoInit,
4151 NoCheck)
4153 : SbeMessage(data, length, NoCheck())
4154 {
4155 assert(schemaId() == Schema::Id);
4156 assert(version() >= Schema::MinimalVersion);
4157 assert(TemplateId == templateId());
4158 }
4159
4168
4170
4176 {
4178
4179 return ordinary<SessionID>(offset);
4180 }
4181
4186 {
4188
4189 setOrdinary(offset, value);
4190 return *this;
4191 }
4192
4202
4206 {
4208
4209 setOrdinary(offset, value);
4210 return *this;
4211 }
4212
4223
4225 ThisType&
4229 {
4231
4233 return *this;
4234 }
4235
4239 static
4240 BlockLength
4244 {
4245 return
4246 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
4247 13;
4248 }
4249
4255 {
4256 return
4257 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
4259 }
4260
4265 static
4269 {
4270 return
4271 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
4272 0;
4273 }
4274
4279 static UInt64 getMaxMessageSize(UInt8)
4281 {
4282 return
4283 static_cast<UInt64>(MessageHeaderBuilder::Size) +
4285 }
4286
4290 {
4291 return *this;
4292 }
4293
4297 {
4299 return *this;
4300 }
4301
4306 static const Char* className()
4307 {
4308 return "RetransmitReject14";
4309 }
4310
4317 {
4318 return constructStrRef("RetransmitReject14");
4319 }
4320
4322 void toString(
4323 std::string& dest,
4324 bool skipEmptyFields = false);
4325
4328 std::string toString(
4329 bool skipEmptyFields = false) const;
4330
4333 const void* tail() const
4335 {
4336 return
4337 toOpaquePtr(
4338 advanceByBytes(
4339 binary(),
4340 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
4342 }
4343
4352
4353private:
4354 void checkLength(
4355 EncodedLength length, SchemaVersion version) const
4356 {
4357 const EncodedLength minimalRequiredLength =
4358 minimalBlockLength(version) +
4360 getMinimalVariableFieldsSize(version);
4361
4362 checkBinaryLength(
4363 *this, length, minimalRequiredLength);
4364 }
4365
4366 void checkCompatibility() const
4367 {
4368 assert(TemplateId == templateId());
4369
4370 checkSchema<Schema>(schemaId(), version());
4371 checkLength(bufferSize(), version());
4372 }
4373};
4374
4378: SbeMessage
4379{
4382
4385
4387 enum { TemplateId = 100 };
4388
4391
4394 void* data,
4395 EncodedLength length,
4397 : SbeMessage(data, length, version)
4398 {
4400 checkLength(length, version);
4402 reset();
4403 }
4404
4409 void* data,
4410 EncodedLength length,
4413 : SbeMessage(data, length, version)
4414 {
4416 checkLength(length, version);
4419 }
4420
4423 void* data,
4424 EncodedLength length,
4425 NoInit)
4426 : SbeMessage(data, length)
4427 {
4428 checkCompatibility();
4429 }
4430
4432 explicit
4434 const SbeMessage& message)
4435 : SbeMessage(message)
4436 {
4437 assert(message.valid());
4438
4439 checkCompatibility();
4440 }
4441
4445 void* data,
4446 EncodedLength length,
4447 NoInit,
4448 NoCheck)
4450 : SbeMessage(data, length, NoCheck())
4451 {
4452 assert(schemaId() == Schema::Id);
4453 assert(version() >= Schema::MinimalVersion);
4454 assert(TemplateId == templateId());
4455 }
4456
4465
4467
4478
4486
4489 bool ordTagId(OrdTagID& value) const
4491 {
4493
4494 return ordinary(value, offset, NullOrdTagID());
4495 }
4496
4500 {
4502
4503 setOrdinary(offset, value);
4504 return *this;
4505 }
4506
4509 {
4511
4512 setOrdinary(offset, NullOrdTagID());
4513 return *this;
4514 }
4515
4524 {
4526
4527 return enumeration<Boolean>(offset);
4528 }
4529
4537 {
4539
4540 setEnumeration<Boolean>(offset, value);
4541 return *this;
4542 }
4543
4549 {
4551
4552 return ordinary<ClOrdID>(offset);
4553 }
4554
4559 {
4561
4562 setOrdinary(offset, value);
4563 return *this;
4564 }
4565
4568 bool account(AccountOptional& value) const
4570 {
4572
4573 return ordinary(value, offset, NullAccountOptional());
4574 }
4575
4579 {
4581
4582 setOrdinary(offset, value);
4583 return *this;
4584 }
4585
4588 {
4590
4592 return *this;
4593 }
4594
4599 {
4602
4603 return fixedStr<length>(offset);
4604 }
4605
4609 {
4612
4613 setFixedStr<length>(offset, value);
4614 return *this;
4615 }
4616
4621 {
4624
4625 return fixedStr<length>(offset);
4626 }
4627
4631 {
4634
4635 setFixedStr<length>(offset, value);
4636 return *this;
4637 }
4638
4650
4653 ThisType&
4663
4668 {
4670
4671 return ordinary<SecurityID>(offset);
4672 }
4673
4677 {
4679
4680 setOrdinary(offset, value);
4681 return *this;
4682 }
4683
4692
4694
4701 {
4702 return constructStrRef("BVMF");
4703 }
4704
4709 {
4711
4712 return enumeration<Side>(offset);
4713 }
4714
4718 {
4720
4721 setEnumeration<Side>(offset, value);
4722 return *this;
4723 }
4724
4734
4736 ThisType&
4738 SimpleOrdType::Enum value)
4740 {
4742
4743 setEnumeration<SimpleOrdType>(offset, value);
4744 return *this;
4745 }
4746
4756
4758 ThisType&
4762 {
4764
4765 setEnumeration<SimpleTimeInForce>(offset, value);
4766 return *this;
4767 }
4768
4771 bool
4780
4782 ThisType&
4786 {
4788
4790 return *this;
4791 }
4792
4801
4806 {
4808
4809 return ordinary<Quantity>(offset);
4810 }
4811
4815 {
4817
4818 setOrdinary(offset, value);
4819 return *this;
4820 }
4821
4825 bool price(PriceOptional& value) const
4827 {
4829
4830 return decimal(value, offset, NullPriceOptional());
4831 }
4832
4837 {
4839
4840 setOrdinary(offset, value);
4841 return *this;
4842 }
4843
4846 {
4848
4849 setOrdinary(offset, NullPriceOptional());
4850 return *this;
4851 }
4852
4856 bool investorId(InvestorID& value) const
4858 {
4860
4861 return ordinary(value, offset, NullInvestorID());
4862 }
4863
4868 {
4870
4871 setOrdinary(offset, value);
4872 return *this;
4873 }
4874
4877 {
4879
4880 setOrdinary(offset, NullInvestorID());
4881 return *this;
4882 }
4883
4886 StrRef memo() const
4888 {
4889 return getVariableLengthField(memoAccess(), *this);
4890 }
4891
4894 {
4896 memoAccess(),
4897 value,
4898 *this);
4899
4900 return *this;
4901 }
4902
4906 static
4907 BlockLength
4911 {
4912 return
4913 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
4914 84;
4915 }
4916
4922 {
4923 return
4924 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
4926 }
4927
4932 static
4936 {
4937 return
4938 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
4939 static_cast<MessageSize>(MemoEncoding::Size);
4940 }
4941
4946 static UInt64 getMaxMessageSize(UInt8)
4948 {
4949 return
4951 }
4952
4956 {
4957 setMemoToNull();
4958 return *this;
4959 }
4960
4964 {
4965 businessHeader().setSendingTimeToNull();
4971
4973 return *this;
4974 }
4975
4980 static const Char* className()
4981 {
4982 return "SimpleNewOrder100";
4983 }
4984
4991 {
4992 return constructStrRef("SimpleNewOrder100");
4993 }
4994
4996 void toString(
4997 std::string& dest,
4998 bool skipEmptyFields = false);
4999
5002 std::string toString(
5003 bool skipEmptyFields = false) const;
5004
5007 const void* tail() const
5009 {
5010 return
5011 toOpaquePtr(
5012 (memo().end()));
5013 }
5014
5023
5024private:
5025 void checkLength(
5026 EncodedLength length, SchemaVersion version) const
5027 {
5028 const EncodedLength minimalRequiredLength =
5029 minimalBlockLength(version) +
5031 getMinimalVariableFieldsSize(version);
5032
5033 checkBinaryLength(
5034 *this, length, minimalRequiredLength);
5035 }
5036
5038 void checkVarLenFields() const
5039 {
5040 variableLengthFields().
5041 checkTail<MemoEncoding>();
5042 }
5043
5044 void checkCompatibility() const
5045 {
5046 assert(TemplateId == templateId());
5047
5048 checkSchema<Schema>(schemaId(), version());
5049 checkLength(bufferSize(), version());
5050 checkVarLenFields();
5051 }
5052
5054 struct memoAccess
5055 {
5056 MemoEncoding&
5057 operator()(
5058 const SimpleNewOrder100& obj) const
5060 {
5061 return obj.
5062 variableLengthFields().
5063 head<MemoEncoding>();
5064 }
5065 };
5066
5069 ThisType& setMemoToNull()
5071 {
5072 setVariableLengthFieldToNull(memoAccess(), *this);
5073
5074 return *this;
5075 }
5076};
5077
5081: SbeMessage
5082{
5085
5088
5090 enum { TemplateId = 101 };
5091
5094
5097 void* data,
5098 EncodedLength length,
5100 : SbeMessage(data, length, version)
5101 {
5103 checkLength(length, version);
5105 reset();
5106 }
5107
5112 void* data,
5113 EncodedLength length,
5116 : SbeMessage(data, length, version)
5117 {
5119 checkLength(length, version);
5122 }
5123
5126 void* data,
5127 EncodedLength length,
5128 NoInit)
5129 : SbeMessage(data, length)
5130 {
5131 checkCompatibility();
5132 }
5133
5135 explicit
5137 const SbeMessage& message)
5138 : SbeMessage(message)
5139 {
5140 assert(message.valid());
5141
5142 checkCompatibility();
5143 }
5144
5148 void* data,
5149 EncodedLength length,
5150 NoInit,
5151 NoCheck)
5153 : SbeMessage(data, length, NoCheck())
5154 {
5155 assert(schemaId() == Schema::Id);
5156 assert(version() >= Schema::MinimalVersion);
5157 assert(TemplateId == templateId());
5158 }
5159
5168
5170
5181
5189
5192 bool ordTagId(OrdTagID& value) const
5194 {
5196
5197 return ordinary(value, offset, NullOrdTagID());
5198 }
5199
5203 {
5205
5206 setOrdinary(offset, value);
5207 return *this;
5208 }
5209
5212 {
5214
5215 setOrdinary(offset, NullOrdTagID());
5216 return *this;
5217 }
5218
5227 {
5229
5230 return enumeration<Boolean>(offset);
5231 }
5232
5240 {
5242
5243 setEnumeration<Boolean>(offset, value);
5244 return *this;
5245 }
5246
5252 {
5254
5255 return ordinary<ClOrdID>(offset);
5256 }
5257
5262 {
5264
5265 setOrdinary(offset, value);
5266 return *this;
5267 }
5268
5271 bool account(AccountOptional& value) const
5273 {
5275
5276 return ordinary(value, offset, NullAccountOptional());
5277 }
5278
5282 {
5284
5285 setOrdinary(offset, value);
5286 return *this;
5287 }
5288
5291 {
5293
5295 return *this;
5296 }
5297
5302 {
5305
5306 return fixedStr<length>(offset);
5307 }
5308
5312 {
5315
5316 setFixedStr<length>(offset, value);
5317 return *this;
5318 }
5319
5324 {
5327
5328 return fixedStr<length>(offset);
5329 }
5330
5334 {
5337
5338 setFixedStr<length>(offset, value);
5339 return *this;
5340 }
5341
5353
5356 ThisType&
5366
5371 {
5373
5374 return ordinary<SecurityID>(offset);
5375 }
5376
5380 {
5382
5383 setOrdinary(offset, value);
5384 return *this;
5385 }
5386
5395
5397
5404 {
5405 return constructStrRef("BVMF");
5406 }
5407
5412 {
5414
5415 return enumeration<Side>(offset);
5416 }
5417
5421 {
5423
5424 setEnumeration<Side>(offset, value);
5425 return *this;
5426 }
5427
5437
5439 ThisType&
5441 SimpleOrdType::Enum value)
5443 {
5445
5446 setEnumeration<SimpleOrdType>(offset, value);
5447 return *this;
5448 }
5449
5459
5461 ThisType&
5465 {
5467
5468 setEnumeration<SimpleTimeInForce>(offset, value);
5469 return *this;
5470 }
5471
5474 bool
5483
5485 ThisType&
5489 {
5491
5493 return *this;
5494 }
5495
5504
5509 {
5511
5512 return ordinary<Quantity>(offset);
5513 }
5514
5518 {
5520
5521 setOrdinary(offset, value);
5522 return *this;
5523 }
5524
5528 bool price(PriceOptional& value) const
5530 {
5532
5533 return decimal(value, offset, NullPriceOptional());
5534 }
5535
5540 {
5542
5543 setOrdinary(offset, value);
5544 return *this;
5545 }
5546
5549 {
5551
5552 setOrdinary(offset, NullPriceOptional());
5553 return *this;
5554 }
5555
5558 bool orderId(OrderIDOptional& value) const
5560 {
5562
5563 return ordinary(value, offset, NullOrderIDOptional());
5564 }
5565
5569 {
5571
5572 setOrdinary(offset, value);
5573 return *this;
5574 }
5575
5578 {
5580
5582 return *this;
5583 }
5584
5587 bool origClOrdId(ClOrdIDOptional& value) const
5589 {
5591
5592 return ordinary(value, offset, NullClOrdIDOptional());
5593 }
5594
5598 {
5600
5601 setOrdinary(offset, value);
5602 return *this;
5603 }
5604
5607 {
5609
5611 return *this;
5612 }
5613
5617 bool investorId(InvestorID& value) const
5619 {
5621
5622 return ordinary(value, offset, NullInvestorID());
5623 }
5624
5629 {
5631
5632 setOrdinary(offset, value);
5633 return *this;
5634 }
5635
5638 {
5640
5641 setOrdinary(offset, NullInvestorID());
5642 return *this;
5643 }
5644
5653
5655
5658 StrRef memo() const
5660 {
5661 return getVariableLengthField(memoAccess(), *this);
5662 }
5663
5666 {
5668 memoAccess(),
5669 value,
5670 *this);
5671
5672 return *this;
5673 }
5674
5678 static
5679 BlockLength
5683 {
5684 return
5685 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
5686 100;
5687 }
5688
5694 {
5695 return
5696 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
5698 }
5699
5704 static
5708 {
5709 return
5710 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
5711 static_cast<MessageSize>(MemoEncoding::Size);
5712 }
5713
5718 static UInt64 getMaxMessageSize(UInt8)
5720 {
5721 return
5723 }
5724
5728 {
5729 setMemoToNull();
5730 return *this;
5731 }
5732
5736 {
5737 businessHeader().setSendingTimeToNull();
5745
5747 return *this;
5748 }
5749
5754 static const Char* className()
5755 {
5756 return "SimpleModifyOrder101";
5757 }
5758
5765 {
5766 return constructStrRef("SimpleModifyOrder101");
5767 }
5768
5770 void toString(
5771 std::string& dest,
5772 bool skipEmptyFields = false);
5773
5776 std::string toString(
5777 bool skipEmptyFields = false) const;
5778
5781 const void* tail() const
5783 {
5784 return
5785 toOpaquePtr(
5786 (memo().end()));
5787 }
5788
5797
5798private:
5799 void checkLength(
5800 EncodedLength length, SchemaVersion version) const
5801 {
5802 const EncodedLength minimalRequiredLength =
5803 minimalBlockLength(version) +
5805 getMinimalVariableFieldsSize(version);
5806
5807 checkBinaryLength(
5808 *this, length, minimalRequiredLength);
5809 }
5810
5812 void checkVarLenFields() const
5813 {
5814 variableLengthFields().
5815 checkTail<MemoEncoding>();
5816 }
5817
5818 void checkCompatibility() const
5819 {
5820 assert(TemplateId == templateId());
5821
5822 checkSchema<Schema>(schemaId(), version());
5823 checkLength(bufferSize(), version());
5824 checkVarLenFields();
5825 }
5826
5828 struct memoAccess
5829 {
5830 MemoEncoding&
5831 operator()(
5832 const SimpleModifyOrder101& obj) const
5834 {
5835 return obj.
5836 variableLengthFields().
5837 head<MemoEncoding>();
5838 }
5839 };
5840
5843 ThisType& setMemoToNull()
5845 {
5846 setVariableLengthFieldToNull(memoAccess(), *this);
5847
5848 return *this;
5849 }
5850};
5851
5855: SbeMessage
5856{
5859
5862
5864 enum { TemplateId = 102 };
5865
5868
5871 void* data,
5872 EncodedLength length,
5874 : SbeMessage(data, length, version)
5875 {
5877 checkLength(length, version);
5879 reset();
5880 }
5881
5886 void* data,
5887 EncodedLength length,
5890 : SbeMessage(data, length, version)
5891 {
5893 checkLength(length, version);
5896 }
5897
5900 void* data,
5901 EncodedLength length,
5902 NoInit)
5903 : SbeMessage(data, length)
5904 {
5905 checkCompatibility();
5906 }
5907
5909 explicit
5911 const SbeMessage& message)
5912 : SbeMessage(message)
5913 {
5914 assert(message.valid());
5915
5916 checkCompatibility();
5917 }
5918
5922 void* data,
5923 EncodedLength length,
5924 NoInit,
5925 NoCheck)
5927 : SbeMessage(data, length, NoCheck())
5928 {
5929 assert(schemaId() == Schema::Id);
5930 assert(version() >= Schema::MinimalVersion);
5931 assert(TemplateId == templateId());
5932 }
5933
5942
5944
5955
5963
5966 bool ordTagId(OrdTagID& value) const
5968 {
5970
5971 return ordinary(value, offset, NullOrdTagID());
5972 }
5973
5977 {
5979
5980 setOrdinary(offset, value);
5981 return *this;
5982 }
5983
5986 {
5988
5989 setOrdinary(offset, NullOrdTagID());
5990 return *this;
5991 }
5992
6001 {
6003
6004 return enumeration<Boolean>(offset);
6005 }
6006
6014 {
6016
6017 setEnumeration<Boolean>(offset, value);
6018 return *this;
6019 }
6020
6026 {
6028
6029 return ordinary<ClOrdID>(offset);
6030 }
6031
6036 {
6038
6039 setOrdinary(offset, value);
6040 return *this;
6041 }
6042
6045 bool account(AccountOptional& value) const
6047 {
6049
6050 return ordinary(value, offset, NullAccountOptional());
6051 }
6052
6056 {
6058
6059 setOrdinary(offset, value);
6060 return *this;
6061 }
6062
6065 {
6067
6069 return *this;
6070 }
6071
6076 {
6079
6080 return fixedStr<length>(offset);
6081 }
6082
6086 {
6089
6090 setFixedStr<length>(offset, value);
6091 return *this;
6092 }
6093
6098 {
6101
6102 return fixedStr<length>(offset);
6103 }
6104
6108 {
6111
6112 setFixedStr<length>(offset, value);
6113 return *this;
6114 }
6115
6127
6130 ThisType&
6140
6145 {
6147
6148 return ordinary<SecurityID>(offset);
6149 }
6150
6154 {
6156
6157 setOrdinary(offset, value);
6158 return *this;
6159 }
6160
6169
6171
6178 {
6179 return constructStrRef("BVMF");
6180 }
6181
6186 {
6188
6189 return enumeration<Side>(offset);
6190 }
6191
6195 {
6197
6198 setEnumeration<Side>(offset, value);
6199 return *this;
6200 }
6201
6206 {
6208
6209 return enumeration<OrdType>(offset);
6210 }
6211
6215 {
6217
6218 setEnumeration<OrdType>(offset, value);
6219 return *this;
6220 }
6221
6231
6235 {
6237
6238 setEnumeration<TimeInForce>(offset, value);
6239 return *this;
6240 }
6241
6244 bool
6253
6255 ThisType&
6259 {
6261
6263 return *this;
6264 }
6265
6274
6279 {
6281
6282 return ordinary<Quantity>(offset);
6283 }
6284
6288 {
6290
6291 setOrdinary(offset, value);
6292 return *this;
6293 }
6294
6298 bool price(PriceOptional& value) const
6300 {
6302
6303 return decimal(value, offset, NullPriceOptional());
6304 }
6305
6310 {
6312
6313 setOrdinary(offset, value);
6314 return *this;
6315 }
6316
6319 {
6321
6322 setOrdinary(offset, NullPriceOptional());
6323 return *this;
6324 }
6325
6329 bool stopPx(PriceOptional& value) const
6331 {
6333
6334 return decimal(value, offset, NullPriceOptional());
6335 }
6336
6341 {
6343
6344 setOrdinary(offset, value);
6345 return *this;
6346 }
6347
6350 {
6352
6353 setOrdinary(offset, NullPriceOptional());
6354 return *this;
6355 }
6356
6359 bool minQty(QuantityOptional& value) const
6361 {
6363
6364 return ordinary(value, offset, NullQuantityOptional());
6365 }
6366
6370 {
6372
6373 setOrdinary(offset, value);
6374 return *this;
6375 }
6376
6379 {
6381
6383 return *this;
6384 }
6385
6389 bool maxFloor(QuantityOptional& value) const
6391 {
6393
6394 return ordinary(value, offset, NullQuantityOptional());
6395 }
6396
6401 {
6403
6404 setOrdinary(offset, value);
6405 return *this;
6406 }
6407
6410 {
6412
6414 return *this;
6415 }
6416
6419 bool executingTrader(StrRef& value) const
6421 {
6424
6425 return fixedStr<length>(value, offset);
6426 }
6427
6431 {
6434
6435 setFixedStr<length>(offset, value);
6436 return *this;
6437 }
6438
6448
6452 bool expireDate(Timestamp& value) const
6454 {
6455 typedef LocalMktDateOptional FieldValue;
6456
6458
6459 FieldValue fieldValue;
6460
6461 if (ordinary(fieldValue, offset, NullLocalMktDateOptional()))
6462 {
6463 value = localMktDateToTimestamp(fieldValue);
6464 return true;
6465 }
6466 return false;
6467 }
6468
6473 {
6475
6476 setOrdinary(offset, timestampToLocalMktDate(value));
6477 return *this;
6478 }
6479
6482 {
6484
6486 return *this;
6487 }
6488
6491 bool custodianInfo(CustodianInfo& value) const
6493 {
6495
6496 return ordinary(value, offset, NullCustodianInfo());
6497 }
6498
6502 {
6504
6505 setOrdinary(offset, value);
6506 return *this;
6507 }
6508
6511 {
6513
6514 setOrdinary(offset, NullCustodianInfo());
6515 return *this;
6516 }
6517
6521 bool investorId(InvestorID& value) const
6523 {
6525
6526 return ordinary(value, offset, NullInvestorID());
6527 }
6528
6533 {
6535
6536 setOrdinary(offset, value);
6537 return *this;
6538 }
6539
6542 {
6544
6545 setOrdinary(offset, NullInvestorID());
6546 return *this;
6547 }
6548
6551 bool
6553 StrategyIDOptional& value) const
6555 {
6557
6558 return ordinary(value, offset, NullStrategyIDOptional());
6559 }
6560
6564 {
6566
6567 setOrdinary(offset, value);
6568 return *this;
6569 }
6570
6573 {
6575
6577 return *this;
6578 }
6579
6584 {
6587
6588 return ordinary(value, offset, NullAccountOptional(), since);
6589 }
6590
6593 {
6596
6597 setOrdinary(offset, value, since);
6598 return *this;
6599 }
6600
6602 {
6605
6606 setOrdinary(offset, NullAccountOptional(), since);
6607 return *this;
6608 }
6609
6614 {
6615 return getVariableLengthField(deskIDAccess(), *this);
6616 }
6617
6620 StrRef memo() const
6622 {
6623 return getVariableLengthField(memoAccess(), *this);
6624 }
6625
6628 {
6630 deskIDAccess(),
6631 value,
6632 *this);
6633
6634 return *this;
6635 }
6636
6639 {
6641 memoAccess(),
6642 value,
6643 *this);
6644
6645 return *this;
6646 }
6647
6653 {
6654 return
6655 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
6656 (version >= 5)
6657 ? 135
6658 : 131;
6659 }
6660
6666 {
6667 return
6668 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
6670 }
6671
6676 static
6680 {
6681 return
6682 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
6683 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
6684 }
6685
6690 static UInt64 getMaxMessageSize(UInt8)
6692 {
6693 return
6695 }
6696
6700 {
6701 setDeskIdToNull();
6702 setMemoToNull();
6703 return *this;
6704 }
6705
6709 {
6710 businessHeader().setSendingTimeToNull();
6723
6724 if (version() >= 5)
6725 {
6727 }
6728
6730 return *this;
6731 }
6732
6737 static const Char* className()
6738 {
6739 return "NewOrderSingle102";
6740 }
6741
6748 {
6749 return constructStrRef("NewOrderSingle102");
6750 }
6751
6753 void toString(
6754 std::string& dest,
6755 bool skipEmptyFields = false);
6756
6759 std::string toString(
6760 bool skipEmptyFields = false) const;
6761
6764 const void* tail() const
6766 {
6767 return
6768 toOpaquePtr(
6769 (memo().end()));
6770 }
6771
6780
6781private:
6782 void checkLength(
6783 EncodedLength length, SchemaVersion version) const
6784 {
6785 const EncodedLength minimalRequiredLength =
6786 minimalBlockLength(version) +
6788 getMinimalVariableFieldsSize(version);
6789
6790 checkBinaryLength(
6791 *this, length, minimalRequiredLength);
6792 }
6793
6795 void checkVarLenFields() const
6796 {
6797 variableLengthFields().
6798 checkTail<DeskIDEncoding>().
6799 checkTail<MemoEncoding>();
6800 }
6801
6802 void checkCompatibility() const
6803 {
6804 assert(TemplateId == templateId());
6805
6806 checkSchema<Schema>(schemaId(), version());
6807 checkLength(bufferSize(), version());
6808 checkVarLenFields();
6809 }
6810
6812 struct deskIDAccess
6813 {
6814 DeskIDEncoding&
6815 operator()(
6816 const NewOrderSingle102& obj) const
6818 {
6819 return obj.
6820 variableLengthFields().
6821 head<DeskIDEncoding>();
6822 }
6823 };
6824
6826 struct memoAccess
6827 {
6828 MemoEncoding&
6829 operator()(
6830 const NewOrderSingle102& obj) const
6832 {
6833 return obj.
6834 variableLengthFields().
6835 tail<DeskIDEncoding>().
6836 head<MemoEncoding>();
6837 }
6838 };
6839
6842 ThisType& setDeskIdToNull()
6844 {
6845 setVariableLengthFieldToNull(deskIDAccess(), *this);
6846
6847 return *this;
6848 }
6849
6852 ThisType& setMemoToNull()
6854 {
6855 setVariableLengthFieldToNull(memoAccess(), *this);
6856
6857 return *this;
6858 }
6859};
6860
6864: SbeMessage
6865{
6868
6871
6873 enum { TemplateId = 104 };
6874
6877
6880 void* data,
6881 EncodedLength length,
6883 : SbeMessage(data, length, version)
6884 {
6886 checkLength(length, version);
6888 reset();
6889 }
6890
6895 void* data,
6896 EncodedLength length,
6899 : SbeMessage(data, length, version)
6900 {
6902 checkLength(length, version);
6905 }
6906
6909 void* data,
6910 EncodedLength length,
6911 NoInit)
6912 : SbeMessage(data, length)
6913 {
6914 checkCompatibility();
6915 }
6916
6918 explicit
6920 const SbeMessage& message)
6921 : SbeMessage(message)
6922 {
6923 assert(message.valid());
6924
6925 checkCompatibility();
6926 }
6927
6931 void* data,
6932 EncodedLength length,
6933 NoInit,
6934 NoCheck)
6936 : SbeMessage(data, length, NoCheck())
6937 {
6938 assert(schemaId() == Schema::Id);
6939 assert(version() >= Schema::MinimalVersion);
6940 assert(TemplateId == templateId());
6941 }
6942
6951
6953
6964
6972
6975 bool ordTagId(OrdTagID& value) const
6977 {
6979
6980 return ordinary(value, offset, NullOrdTagID());
6981 }
6982
6986 {
6988
6989 setOrdinary(offset, value);
6990 return *this;
6991 }
6992
6995 {
6997
6998 setOrdinary(offset, NullOrdTagID());
6999 return *this;
7000 }
7001
7010 {
7012
7013 return enumeration<Boolean>(offset);
7014 }
7015
7023 {
7025
7026 setEnumeration<Boolean>(offset, value);
7027 return *this;
7028 }
7029
7035 {
7037
7038 return ordinary<ClOrdID>(offset);
7039 }
7040
7045 {
7047
7048 setOrdinary(offset, value);
7049 return *this;
7050 }
7051
7054 bool account(AccountOptional& value) const
7056 {
7058
7059 return ordinary(value, offset, NullAccountOptional());
7060 }
7061
7065 {
7067
7068 setOrdinary(offset, value);
7069 return *this;
7070 }
7071
7074 {
7076
7078 return *this;
7079 }
7080
7085 {
7088
7089 return fixedStr<length>(offset);
7090 }
7091
7095 {
7098
7099 setFixedStr<length>(offset, value);
7100 return *this;
7101 }
7102
7107 {
7110
7111 return fixedStr<length>(offset);
7112 }
7113
7117 {
7120
7121 setFixedStr<length>(offset, value);
7122 return *this;
7123 }
7124
7136
7139 ThisType&
7149
7154 {
7156
7157 return ordinary<SecurityID>(offset);
7158 }
7159
7163 {
7165
7166 setOrdinary(offset, value);
7167 return *this;
7168 }
7169
7178
7180
7187 {
7188 return constructStrRef("BVMF");
7189 }
7190
7195 {
7197
7198 return enumeration<Side>(offset);
7199 }
7200
7204 {
7206
7207 setEnumeration<Side>(offset, value);
7208 return *this;
7209 }
7210
7215 {
7217
7218 return enumeration<OrdType>(offset);
7219 }
7220
7224 {
7226
7227 setEnumeration<OrdType>(offset, value);
7228 return *this;
7229 }
7230
7235 {
7237
7238 return enumeration<TimeInForce>(value, offset, NullChar());
7239 }
7240
7244 {
7246
7247 setEnumeration<TimeInForce>(offset, value);
7248 return *this;
7249 }
7250
7253 {
7255
7256 setOrdinary(offset, NullChar());
7257 return *this;
7258 }
7259
7262 bool
7271
7273 ThisType&
7277 {
7279
7281 return *this;
7282 }
7283
7292
7297 {
7299
7300 return ordinary<Quantity>(offset);
7301 }
7302
7306 {
7308
7309 setOrdinary(offset, value);
7310 return *this;
7311 }
7312
7316 bool price(PriceOptional& value) const
7318 {
7320
7321 return decimal(value, offset, NullPriceOptional());
7322 }
7323
7328 {
7330
7331 setOrdinary(offset, value);
7332 return *this;
7333 }
7334
7337 {
7339
7340 setOrdinary(offset, NullPriceOptional());
7341 return *this;
7342 }
7343
7346 bool orderId(OrderIDOptional& value) const
7348 {
7350
7351 return ordinary(value, offset, NullOrderIDOptional());
7352 }
7353
7357 {
7359
7360 setOrdinary(offset, value);
7361 return *this;
7362 }
7363
7366 {
7368
7370 return *this;
7371 }
7372
7375 bool origClOrdId(ClOrdIDOptional& value) const
7377 {
7379
7380 return ordinary(value, offset, NullClOrdIDOptional());
7381 }
7382
7386 {
7388
7389 setOrdinary(offset, value);
7390 return *this;
7391 }
7392
7395 {
7397
7399 return *this;
7400 }
7401
7405 bool stopPx(PriceOptional& value) const
7407 {
7409
7410 return decimal(value, offset, NullPriceOptional());
7411 }
7412
7417 {
7419
7420 setOrdinary(offset, value);
7421 return *this;
7422 }
7423
7426 {
7428
7429 setOrdinary(offset, NullPriceOptional());
7430 return *this;
7431 }
7432
7435 bool minQty(QuantityOptional& value) const
7437 {
7439
7440 return ordinary(value, offset, NullQuantityOptional());
7441 }
7442
7446 {
7448
7449 setOrdinary(offset, value);
7450 return *this;
7451 }
7452
7455 {
7457
7459 return *this;
7460 }
7461
7465 bool maxFloor(QuantityOptional& value) const
7467 {
7469
7470 return ordinary(value, offset, NullQuantityOptional());
7471 }
7472
7477 {
7479
7480 setOrdinary(offset, value);
7481 return *this;
7482 }
7483
7486 {
7488
7490 return *this;
7491 }
7492
7495 bool executingTrader(StrRef& value) const
7497 {
7500
7501 return fixedStr<length>(value, offset);
7502 }
7503
7507 {
7510
7511 setFixedStr<length>(offset, value);
7512 return *this;
7513 }
7514
7524
7529 {
7531
7532 return enumeration<AccountType>(value, offset, NullUint8EnumEncoding());
7533 }
7534
7538 {
7540
7541 setEnumeration<AccountType>(offset, value);
7542 return *this;
7543 }
7544
7547 {
7549
7551 return *this;
7552 }
7553
7557 bool expireDate(Timestamp& value) const
7559 {
7560 typedef LocalMktDateOptional FieldValue;
7561
7563
7564 FieldValue fieldValue;
7565
7566 if (ordinary(fieldValue, offset, NullLocalMktDateOptional()))
7567 {
7568 value = localMktDateToTimestamp(fieldValue);
7569 return true;
7570 }
7571 return false;
7572 }
7573
7578 {
7580
7581 setOrdinary(offset, timestampToLocalMktDate(value));
7582 return *this;
7583 }
7584
7587 {
7589
7591 return *this;
7592 }
7593
7596 bool custodianInfo(CustodianInfo& value) const
7598 {
7600
7601 return ordinary(value, offset, NullCustodianInfo());
7602 }
7603
7607 {
7609
7610 setOrdinary(offset, value);
7611 return *this;
7612 }
7613
7616 {
7618
7619 setOrdinary(offset, NullCustodianInfo());
7620 return *this;
7621 }
7622
7626 bool investorId(InvestorID& value) const
7628 {
7630
7631 return ordinary(value, offset, NullInvestorID());
7632 }
7633
7638 {
7640
7641 setOrdinary(offset, value);
7642 return *this;
7643 }
7644
7647 {
7649
7650 setOrdinary(offset, NullInvestorID());
7651 return *this;
7652 }
7653
7656 bool
7658 StrategyIDOptional& value) const
7660 {
7662
7663 return ordinary(value, offset, NullStrategyIDOptional());
7664 }
7665
7669 {
7671
7672 setOrdinary(offset, value);
7673 return *this;
7674 }
7675
7678 {
7680
7682 return *this;
7683 }
7684
7689 {
7692
7693 return ordinary(value, offset, NullAccountOptional(), since);
7694 }
7695
7698 {
7701
7702 setOrdinary(offset, value, since);
7703 return *this;
7704 }
7705
7707 {
7710
7711 setOrdinary(offset, NullAccountOptional(), since);
7712 return *this;
7713 }
7714
7719 {
7720 return getVariableLengthField(deskIDAccess(), *this);
7721 }
7722
7725 StrRef memo() const
7727 {
7728 return getVariableLengthField(memoAccess(), *this);
7729 }
7730
7733 {
7735 deskIDAccess(),
7736 value,
7737 *this);
7738
7739 return *this;
7740 }
7741
7744 {
7746 memoAccess(),
7747 value,
7748 *this);
7749
7750 return *this;
7751 }
7752
7758 {
7759 return
7760 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
7761 (version >= 5)
7762 ? 152
7763 : 148;
7764 }
7765
7771 {
7772 return
7773 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
7775 }
7776
7781 static
7785 {
7786 return
7787 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
7788 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
7789 }
7790
7795 static UInt64 getMaxMessageSize(UInt8)
7797 {
7798 return
7800 }
7801
7805 {
7806 setDeskIdToNull();
7807 setMemoToNull();
7808 return *this;
7809 }
7810
7814 {
7815 businessHeader().setSendingTimeToNull();
7832
7833 if (version() >= 5)
7834 {
7836 }
7837
7839 return *this;
7840 }
7841
7846 static const Char* className()
7847 {
7848 return "OrderCancelReplaceRequest104";
7849 }
7850
7857 {
7858 return constructStrRef(
7859 "OrderCancelReplaceRequest104");
7860 }
7861
7863 void toString(
7864 std::string& dest,
7865 bool skipEmptyFields = false);
7866
7869 std::string toString(
7870 bool skipEmptyFields = false) const;
7871
7874 const void* tail() const
7876 {
7877 return
7878 toOpaquePtr(
7879 (memo().end()));
7880 }
7881
7890
7891private:
7892 void checkLength(
7893 EncodedLength length, SchemaVersion version) const
7894 {
7895 const EncodedLength minimalRequiredLength =
7896 minimalBlockLength(version) +
7898 getMinimalVariableFieldsSize(version);
7899
7900 checkBinaryLength(
7901 *this, length, minimalRequiredLength);
7902 }
7903
7905 void checkVarLenFields() const
7906 {
7907 variableLengthFields().
7908 checkTail<DeskIDEncoding>().
7909 checkTail<MemoEncoding>();
7910 }
7911
7912 void checkCompatibility() const
7913 {
7914 assert(TemplateId == templateId());
7915
7916 checkSchema<Schema>(schemaId(), version());
7917 checkLength(bufferSize(), version());
7918 checkVarLenFields();
7919 }
7920
7922 struct deskIDAccess
7923 {
7924 DeskIDEncoding&
7925 operator()(
7926 const OrderCancelReplaceRequest104& obj) const
7928 {
7929 return obj.
7930 variableLengthFields().
7931 head<DeskIDEncoding>();
7932 }
7933 };
7934
7936 struct memoAccess
7937 {
7938 MemoEncoding&
7939 operator()(
7940 const OrderCancelReplaceRequest104& obj) const
7942 {
7943 return obj.
7944 variableLengthFields().
7945 tail<DeskIDEncoding>().
7946 head<MemoEncoding>();
7947 }
7948 };
7949
7952 ThisType& setDeskIdToNull()
7954 {
7955 setVariableLengthFieldToNull(deskIDAccess(), *this);
7956
7957 return *this;
7958 }
7959
7962 ThisType& setMemoToNull()
7964 {
7965 setVariableLengthFieldToNull(memoAccess(), *this);
7966
7967 return *this;
7968 }
7969};
7970
7974: SbeMessage
7975{
7978
7981
7983 enum { TemplateId = 105 };
7984
7987
7990 void* data,
7991 EncodedLength length,
7993 : SbeMessage(data, length, version)
7994 {
7996 checkLength(length, version);
7998 reset();
7999 }
8000
8005 void* data,
8006 EncodedLength length,
8009 : SbeMessage(data, length, version)
8010 {
8012 checkLength(length, version);
8015 }
8016
8019 void* data,
8020 EncodedLength length,
8021 NoInit)
8022 : SbeMessage(data, length)
8023 {
8024 checkCompatibility();
8025 }
8026
8028 explicit
8030 const SbeMessage& message)
8031 : SbeMessage(message)
8032 {
8033 assert(message.valid());
8034
8035 checkCompatibility();
8036 }
8037
8041 void* data,
8042 EncodedLength length,
8043 NoInit,
8044 NoCheck)
8046 : SbeMessage(data, length, NoCheck())
8047 {
8048 assert(schemaId() == Schema::Id);
8049 assert(version() >= Schema::MinimalVersion);
8050 assert(TemplateId == templateId());
8051 }
8052
8061
8063
8074
8082
8088 {
8090
8091 return ordinary<ClOrdID>(offset);
8092 }
8093
8098 {
8100
8101 setOrdinary(offset, value);
8102 return *this;
8103 }
8104
8109 {
8111
8112 return ordinary<SecurityID>(offset);
8113 }
8114
8118 {
8120
8121 setOrdinary(offset, value);
8122 return *this;
8123 }
8124
8133
8135
8142 {
8143 return constructStrRef("BVMF");
8144 }
8145
8148 bool orderId(OrderIDOptional& value) const
8150 {
8152
8153 return ordinary(value, offset, NullOrderIDOptional());
8154 }
8155
8159 {
8161
8162 setOrdinary(offset, value);
8163 return *this;
8164 }
8165
8168 {
8170
8172 return *this;
8173 }
8174
8177 bool origClOrdId(ClOrdIDOptional& value) const
8179 {
8181
8182 return ordinary(value, offset, NullClOrdIDOptional());
8183 }
8184
8188 {
8190
8191 setOrdinary(offset, value);
8192 return *this;
8193 }
8194
8197 {
8199
8201 return *this;
8202 }
8203
8208 {
8210
8211 return enumeration<Side>(offset);
8212 }
8213
8217 {
8219
8220 setEnumeration<Side>(offset, value);
8221 return *this;
8222 }
8223
8226 bool
8235
8237 ThisType&
8247
8256
8261 {
8264
8265 return fixedStr<length>(offset);
8266 }
8267
8271 {
8274
8275 setFixedStr<length>(offset, value);
8276 return *this;
8277 }
8278
8283 {
8286
8287 return fixedStr<length>(offset);
8288 }
8289
8293 {
8296
8297 setFixedStr<length>(offset, value);
8298 return *this;
8299 }
8300
8303 bool executingTrader(StrRef& value) const
8305 {
8308
8309 return fixedStr<length>(value, offset);
8310 }
8311
8315 {
8318
8319 setFixedStr<length>(offset, value);
8320 return *this;
8321 }
8322
8332
8337 {
8338 return getVariableLengthField(deskIDAccess(), *this);
8339 }
8340
8343 StrRef memo() const
8345 {
8346 return getVariableLengthField(memoAccess(), *this);
8347 }
8348
8351 {
8353 deskIDAccess(),
8354 value,
8355 *this);
8356
8357 return *this;
8358 }
8359
8362 {
8364 memoAccess(),
8365 value,
8366 *this);
8367
8368 return *this;
8369 }
8370
8374 static
8375 BlockLength
8379 {
8380 return
8381 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
8382 76;
8383 }
8384
8388 static
8389 BlockLength
8398
8403 static
8407 {
8408 return
8409 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
8410 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
8411 }
8412
8417 static UInt64 getMaxMessageSize(UInt8)
8419 {
8420 return
8422 }
8423
8427 {
8428 setDeskIdToNull();
8429 setMemoToNull();
8430 return *this;
8431 }
8432
8436 {
8437 businessHeader().setSendingTimeToNull();
8442
8444 return *this;
8445 }
8446
8451 static const Char* className()
8452 {
8453 return "OrderCancelRequest105";
8454 }
8455
8462 {
8463 return constructStrRef("OrderCancelRequest105");
8464 }
8465
8467 void toString(
8468 std::string& dest,
8469 bool skipEmptyFields = false);
8470
8473 std::string toString(
8474 bool skipEmptyFields = false) const;
8475
8478 const void* tail() const
8480 {
8481 return
8482 toOpaquePtr(
8483 (memo().end()));
8484 }
8485
8494
8495private:
8496 void checkLength(
8497 EncodedLength length, SchemaVersion version) const
8498 {
8499 const EncodedLength minimalRequiredLength =
8500 minimalBlockLength(version) +
8502 getMinimalVariableFieldsSize(version);
8503
8504 checkBinaryLength(
8505 *this, length, minimalRequiredLength);
8506 }
8507
8509 void checkVarLenFields() const
8510 {
8511 variableLengthFields().
8512 checkTail<DeskIDEncoding>().
8513 checkTail<MemoEncoding>();
8514 }
8515
8516 void checkCompatibility() const
8517 {
8518 assert(TemplateId == templateId());
8519
8520 checkSchema<Schema>(schemaId(), version());
8521 checkLength(bufferSize(), version());
8522 checkVarLenFields();
8523 }
8524
8526 struct deskIDAccess
8527 {
8528 DeskIDEncoding&
8529 operator()(
8530 const OrderCancelRequest105& obj) const
8532 {
8533 return obj.
8534 variableLengthFields().
8535 head<DeskIDEncoding>();
8536 }
8537 };
8538
8540 struct memoAccess
8541 {
8542 MemoEncoding&
8543 operator()(
8544 const OrderCancelRequest105& obj) const
8546 {
8547 return obj.
8548 variableLengthFields().
8549 tail<DeskIDEncoding>().
8550 head<MemoEncoding>();
8551 }
8552 };
8553
8556 ThisType& setDeskIdToNull()
8558 {
8559 setVariableLengthFieldToNull(deskIDAccess(), *this);
8560
8561 return *this;
8562 }
8563
8566 ThisType& setMemoToNull()
8568 {
8569 setVariableLengthFieldToNull(memoAccess(), *this);
8570
8571 return *this;
8572 }
8573};
8574
8578: SbeMessage
8579{
8582
8585
8587 enum { TemplateId = 106 };
8588
8593 <
8595 >
8596 {
8598 typedef
8600 <
8602 >
8604
8607
8611 void* data,
8612 EncodedLength length,
8614 : Base(data, numericCast<Base::BlockLength>(length), version)
8615 {
8617 assert(length >= minimalBlockLength(version));
8618 }
8619
8623 {
8624 return *this;
8625 }
8626
8630 {
8633
8634 if (version() >= 5)
8635 {
8637 }
8638
8640 return *this;
8641 }
8642
8644 void
8645 toString(
8646 std::string& dest,
8647 bool skipEmptyFields = false);
8648
8651 std::string
8652 toString(
8653 bool skipEmptyFields = false) const;
8654
8655
8660 {
8662
8663 return enumeration<Side>(offset);
8664 }
8665
8669 {
8671
8672 setEnumeration<Side>(offset, value);
8673 return *this;
8674 }
8675
8678 bool account(AccountOptional& value) const
8680 {
8682
8683 return ordinary(value, offset, NullAccountOptional());
8684 }
8685
8689 {
8691
8692 setOrdinary(offset, value);
8693 return *this;
8694 }
8695
8698 {
8700
8702 return *this;
8703 }
8704
8707 bool enteringFirm(FirmOptional& value) const
8709 {
8711
8712 return ordinary(value, offset, NullFirmOptional());
8713 }
8714
8718 {
8720
8721 setOrdinary(offset, value);
8722 return *this;
8723 }
8724
8727 {
8729
8730 setOrdinary(offset, NullFirmOptional());
8731 return *this;
8732 }
8733
8739 {
8741
8742 return ordinary<ClOrdID>(offset);
8743 }
8744
8749 {
8751
8752 setOrdinary(offset, value);
8753 return *this;
8754 }
8755
8760 {
8763
8764 return ordinary(value, offset, NullAccountOptional(), since);
8765 }
8766
8769 {
8772
8773 setOrdinary(offset, value, since);
8774 return *this;
8775 }
8776
8778 {
8781
8782 setOrdinary(offset, NullAccountOptional(), since);
8783 return *this;
8784 }
8785
8790 static
8800
8807 {
8808 return
8809 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
8810 (version >= 5)
8811 ? 22
8812 : 18;
8813 }
8814
8819 static const Char* className()
8820 {
8821 return "NewOrderCross106.SidesEntry";
8822 }
8823 };
8824
8826 typedef
8829
8832
8835 void* data,
8836 EncodedLength length,
8838 : SbeMessage(data, length, version)
8839 {
8841 checkLength(length, version);
8843 reset();
8844 }
8845
8850 void* data,
8851 EncodedLength length,
8854 : SbeMessage(data, length, version)
8855 {
8857 checkLength(length, version);
8860 }
8861
8864 void* data,
8865 EncodedLength length,
8866 NoInit)
8867 : SbeMessage(data, length)
8868 {
8869 checkCompatibility();
8870 }
8871
8873 explicit
8875 const SbeMessage& message)
8876 : SbeMessage(message)
8877 {
8878 assert(message.valid());
8879
8880 checkCompatibility();
8881 }
8882
8886 void* data,
8887 EncodedLength length,
8888 NoInit,
8889 NoCheck)
8891 : SbeMessage(data, length, NoCheck())
8892 {
8893 assert(schemaId() == Schema::Id);
8894 assert(version() >= Schema::MinimalVersion);
8895 assert(TemplateId == templateId());
8896 }
8897
8906
8908
8919
8927
8931 bool
8933 CrossOrdType::Enum& value) const
8935 {
8938
8939 return enumeration<CrossOrdType>(value, offset, NullChar(), since);
8940 }
8941
8945 {
8948
8949 setEnumeration<CrossOrdType>(offset, value, since);
8950 return *this;
8951 }
8952
8954 {
8957
8958 setOrdinary(offset, NullChar(), since);
8959 return *this;
8960 }
8961
8967 {
8969
8970 return ordinary<CrossID>(offset);
8971 }
8972
8977 {
8979
8980 setOrdinary(offset, value);
8981 return *this;
8982 }
8983
8988 {
8991
8992 return fixedStr<length>(offset);
8993 }
8994
8998 {
9001
9002 setFixedStr<length>(offset, value);
9003 return *this;
9004 }
9005
9010 {
9013
9014 return fixedStr<length>(offset);
9015 }
9016
9020 {
9023
9024 setFixedStr<length>(offset, value);
9025 return *this;
9026 }
9027
9030 bool executingTrader(StrRef& value) const
9032 {
9035
9036 return fixedStr<length>(value, offset);
9037 }
9038
9042 {
9045
9046 setFixedStr<length>(offset, value);
9047 return *this;
9048 }
9049
9059
9064 {
9066
9067 return ordinary<SecurityID>(offset);
9068 }
9069
9073 {
9075
9076 setOrdinary(offset, value);
9077 return *this;
9078 }
9079
9088
9090
9097 {
9098 return constructStrRef("BVMF");
9099 }
9100
9105 {
9107
9108 return ordinary<Quantity>(offset);
9109 }
9110
9114 {
9116
9117 setOrdinary(offset, value);
9118 return *this;
9119 }
9120
9124 bool price(PriceOptional& value) const
9126 {
9128
9129 return decimal(value, offset, NullPriceOptional());
9130 }
9131
9136 {
9138
9139 setOrdinary(offset, value);
9140 return *this;
9141 }
9142
9145 {
9147
9148 setOrdinary(offset, NullPriceOptional());
9149 return *this;
9150 }
9151
9154 bool
9163
9165 ThisType&
9169 {
9171
9172 setEnumeration<CrossedIndicator>(offset, value);
9173 return *this;
9174 }
9175
9178 {
9180
9182 return *this;
9183 }
9184
9188 bool crossType(CrossType::Enum& value) const
9190 {
9192
9193 return enumeration<CrossType>(value, offset, NullUint8EnumEncoding());
9194 }
9195
9200 {
9202
9203 setEnumeration<CrossType>(offset, value);
9204 return *this;
9205 }
9206
9209 {
9211
9213 return *this;
9214 }
9215
9219 bool
9228
9231 ThisType&
9235 {
9237
9239 return *this;
9240 }
9241
9244 {
9246
9247 setOrdinary(offset, NullUInt8());
9248 return *this;
9249 }
9250
9255 {
9257
9258 return ordinary(value, offset, NullQuantityOptional());
9259 }
9260
9264 {
9266
9267 setOrdinary(offset, value);
9268 return *this;
9269 }
9270
9273 {
9275
9277 return *this;
9278 }
9279
9282 Sides sides() const
9284 {
9285 return getGroup<Sides>(SidesAccess(), *this);
9286 }
9287
9292 {
9293 return getGroup<Sides>(SidesAccess(), *this);
9294 }
9295
9300 {
9301 return constructGroup<Sides>(
9302 SidesAccess(),
9303 length,
9304 *this);
9305 }
9306
9309 Sides
9311 Sides::Size length,
9313 {
9314 return setupGroup<Sides>(
9315 SidesAccess(),
9316 length,
9317 *this);
9318 }
9319
9324 {
9325 return getVariableLengthField(deskIDAccess(), *this);
9326 }
9327
9330 StrRef memo() const
9332 {
9333 return getVariableLengthField(memoAccess(), *this);
9334 }
9335
9338 {
9340 deskIDAccess(),
9341 value,
9342 *this);
9343
9344 return *this;
9345 }
9346
9349 {
9351 memoAccess(),
9352 value,
9353 *this);
9354
9355 return *this;
9356 }
9357
9363 {
9364 return
9365 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
9366 (version >= 6)
9367 ? 84
9368 : 18;
9369 }
9370
9374 static
9375 BlockLength
9384
9389 static
9393 {
9394 return
9395 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
9396 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size) + static_cast<MessageSize>(Sides::EmptySize);
9397 }
9398
9403 static UInt64 getMaxMessageSize(UInt8)
9405 {
9406 return
9408 }
9409
9413 {
9414 setSidesToNull();
9415 setDeskIdToNull();
9416 setMemoToNull();
9417 return *this;
9418 }
9419
9423 {
9424 businessHeader().setSendingTimeToNull();
9431
9432 if (version() >= 6)
9433 {
9435 }
9436
9438 return *this;
9439 }
9440
9445 static const Char* className()
9446 {
9447 return "NewOrderCross106";
9448 }
9449
9456 {
9457 return constructStrRef("NewOrderCross106");
9458 }
9459
9461 void toString(
9462 std::string& dest,
9463 bool skipEmptyFields = false);
9464
9467 std::string toString(
9468 bool skipEmptyFields = false) const;
9469
9472 const void* tail() const
9474 {
9475 return
9476 toOpaquePtr(
9477 (memo().end()));
9478 }
9479
9488
9489private:
9490 void checkLength(
9491 EncodedLength length, SchemaVersion version) const
9492 {
9493 const EncodedLength minimalRequiredLength =
9494 minimalBlockLength(version) +
9496 getMinimalVariableFieldsSize(version);
9497
9498 checkBinaryLength(
9499 *this, length, minimalRequiredLength);
9500 }
9501
9503 void checkVarLenFields() const
9504 {
9505 groups().
9506 checkVariableLengthFields<Sides>().
9507 checkTail<DeskIDEncoding>().
9508 checkTail<MemoEncoding>();
9509 }
9510
9511 void checkCompatibility() const
9512 {
9513 assert(TemplateId == templateId());
9514
9515 checkSchema<Schema>(schemaId(), version());
9516 checkLength(bufferSize(), version());
9517 checkVarLenFields();
9518 }
9519
9521 struct SidesAccess
9522 {
9523 Sides
9524 operator()(
9525 const NewOrderCross106& obj) const
9527 {
9528 return obj.
9529 groups().
9530 head<Sides>();
9531 }
9532 };
9533
9536 void setSidesToNull()
9538 {
9539 resetGroup<Sides>(SidesAccess(), *this);
9540 }
9541
9543 struct deskIDAccess
9544 {
9545 DeskIDEncoding&
9546 operator()(
9547 const NewOrderCross106& obj) const
9549 {
9550 return obj.
9551 groups().
9552 variableLengthFields<Sides>().
9553 head<DeskIDEncoding>();
9554 }
9555 };
9556
9558 struct memoAccess
9559 {
9560 MemoEncoding&
9561 operator()(
9562 const NewOrderCross106& obj) const
9564 {
9565 return obj.
9566 groups().
9567 variableLengthFields<Sides>().
9568 tail<DeskIDEncoding>().
9569 head<MemoEncoding>();
9570 }
9571 };
9572
9575 ThisType& setDeskIdToNull()
9577 {
9578 setVariableLengthFieldToNull(deskIDAccess(), *this);
9579
9580 return *this;
9581 }
9582
9585 ThisType& setMemoToNull()
9587 {
9588 setVariableLengthFieldToNull(memoAccess(), *this);
9589
9590 return *this;
9591 }
9592};
9593
9597: SbeMessage
9598{
9601
9604
9606 enum { TemplateId = 200 };
9607
9610
9613 void* data,
9614 EncodedLength length,
9616 : SbeMessage(data, length, version)
9617 {
9619 checkLength(length, version);
9621 reset();
9622 }
9623
9628 void* data,
9629 EncodedLength length,
9632 : SbeMessage(data, length, version)
9633 {
9635 checkLength(length, version);
9638 }
9639
9642 void* data,
9643 EncodedLength length,
9644 NoInit)
9645 : SbeMessage(data, length)
9646 {
9647 checkCompatibility();
9648 }
9649
9651 explicit
9653 const SbeMessage& message)
9654 : SbeMessage(message)
9655 {
9656 assert(message.valid());
9657
9658 checkCompatibility();
9659 }
9660
9664 void* data,
9665 EncodedLength length,
9666 NoInit,
9667 NoCheck)
9669 : SbeMessage(data, length, NoCheck())
9670 {
9671 assert(schemaId() == Schema::Id);
9672 assert(version() >= Schema::MinimalVersion);
9673 assert(TemplateId == templateId());
9674 }
9675
9684
9686
9697
9705
9710 {
9712
9713 return enumeration<Side>(offset);
9714 }
9715
9719 {
9721
9722 setEnumeration<Side>(offset, value);
9723 return *this;
9724 }
9725
9730 {
9732
9733 return enumeration<OrdStatus>(offset);
9734 }
9735
9739 {
9741
9742 setEnumeration<OrdStatus>(offset, value);
9743 return *this;
9744 }
9745
9751 {
9753
9754 return ordinary<ClOrdID>(offset);
9755 }
9756
9761 {
9763
9764 setOrdinary(offset, value);
9765 return *this;
9766 }
9767
9774 {
9776
9777 return ordinary<OrderID>(offset);
9778 }
9779
9785 {
9787
9788 setOrdinary(offset, value);
9789 return *this;
9790 }
9791
9796 {
9798
9799 return ordinary<SecurityID>(offset);
9800 }
9801
9805 {
9807
9808 setOrdinary(offset, value);
9809 return *this;
9810 }
9811
9820
9822
9829 {
9830 return constructStrRef("BVMF");
9831 }
9832
9837 {
9839
9840 return ordinary<OrderID>(offset);
9841 }
9842
9846 {
9848
9849 setOrdinary(offset, value);
9850 return *this;
9851 }
9852
9855 bool account(AccountOptional& value) const
9857 {
9859
9860 return ordinary(value, offset, NullAccountOptional());
9861 }
9862
9866 {
9868
9869 setOrdinary(offset, value);
9870 return *this;
9871 }
9872
9875 {
9877
9879 return *this;
9880 }
9881
9887 {
9889
9890 return ordinary<ExecID>(offset);
9891 }
9892
9897 {
9899
9900 setOrdinary(offset, value);
9901 return *this;
9902 }
9903
9913
9917 {
9919
9920 setOrdinary(offset, value);
9921 return *this;
9922 }
9923
9928 bool
9937
9941 ThisType&
9945 {
9947
9948 setOrdinary(offset, value);
9949 return *this;
9950 }
9951
9960
9968 {
9970
9971 return decimal(value, offset, NullPriceOptional());
9972 }
9973
9980 {
9982
9983 setOrdinary(offset, value);
9984 return *this;
9985 }
9986
9989 {
9991
9992 setOrdinary(offset, NullPriceOptional());
9993 return *this;
9994 }
9995
10006
10011 {
10013
10014 setOrdinary(offset, timestampToLocalMktDate(value));
10015 return *this;
10016 }
10017
10024 {
10026
10027 return enumeration<Boolean>(offset);
10028 }
10029
10035 {
10037
10038 setEnumeration<Boolean>(offset, value);
10039 return *this;
10040 }
10041
10045 bool
10047 MultiLegReportingType::Enum& value) const
10049 {
10051
10052 return enumeration<MultiLegReportingType>(value, offset, NullChar());
10053 }
10054
10057 ThisType&
10061 {
10063
10065 return *this;
10066 }
10067
10070 {
10072
10073 setOrdinary(offset, NullChar());
10074 return *this;
10075 }
10076
10081 {
10083
10084 return enumeration<OrdType>(offset);
10085 }
10086
10090 {
10092
10093 setEnumeration<OrdType>(offset, value);
10094 return *this;
10095 }
10096
10101 {
10103
10104 return enumeration<TimeInForce>(offset);
10105 }
10106
10110 {
10112
10113 setEnumeration<TimeInForce>(offset, value);
10114 return *this;
10115 }
10116
10120 bool expireDate(Timestamp& value) const
10122 {
10123 typedef LocalMktDateOptional FieldValue;
10124
10126
10127 FieldValue fieldValue;
10128
10129 if (ordinary(fieldValue, offset, NullLocalMktDateOptional()))
10130 {
10131 value = localMktDateToTimestamp(fieldValue);
10132 return true;
10133 }
10134 return false;
10135 }
10136
10141 {
10143
10144 setOrdinary(offset, timestampToLocalMktDate(value));
10145 return *this;
10146 }
10147
10150 {
10152
10154 return *this;
10155 }
10156
10161 {
10163
10164 return ordinary<Quantity>(offset);
10165 }
10166
10170 {
10172
10173 setOrdinary(offset, value);
10174 return *this;
10175 }
10176
10180 bool price(PriceOptional& value) const
10182 {
10184
10185 return decimal(value, offset, NullPriceOptional());
10186 }
10187
10192 {
10194
10195 setOrdinary(offset, value);
10196 return *this;
10197 }
10198
10201 {
10203
10204 setOrdinary(offset, NullPriceOptional());
10205 return *this;
10206 }
10207
10211 bool stopPx(PriceOptional& value) const
10213 {
10215
10216 return decimal(value, offset, NullPriceOptional());
10217 }
10218
10223 {
10225
10226 setOrdinary(offset, value);
10227 return *this;
10228 }
10229
10232 {
10234
10235 setOrdinary(offset, NullPriceOptional());
10236 return *this;
10237 }
10238
10241 bool minQty(QuantityOptional& value) const
10243 {
10245
10246 return ordinary(value, offset, NullQuantityOptional());
10247 }
10248
10252 {
10254
10255 setOrdinary(offset, value);
10256 return *this;
10257 }
10258
10261 {
10263
10265 return *this;
10266 }
10267
10271 bool maxFloor(QuantityOptional& value) const
10273 {
10275
10276 return ordinary(value, offset, NullQuantityOptional());
10277 }
10278
10283 {
10285
10286 setOrdinary(offset, value);
10287 return *this;
10288 }
10289
10292 {
10294
10296 return *this;
10297 }
10298
10302 bool crossId(CrossIDOptional& value) const
10304 {
10306
10307 return ordinary(value, offset, NullCrossIDOptional());
10308 }
10309
10314 {
10316
10317 setOrdinary(offset, value);
10318 return *this;
10319 }
10320
10323 {
10325
10327 return *this;
10328 }
10329
10332 bool
10334 UTCTimestampNanosOptional& value) const
10336 {
10338
10339 return ordinary(value, offset, NullUTCTimestampNanosOptional());
10340 }
10341
10343 ThisType&
10347 {
10349
10350 setOrdinary(offset, value);
10351 return *this;
10352 }
10353
10356 {
10358
10360 return *this;
10361 }
10362
10365 bool ordTagId(OrdTagID& value) const
10367 {
10369
10370 return ordinary(value, offset, NullOrdTagID());
10371 }
10372
10376 {
10378
10379 setOrdinary(offset, value);
10380 return *this;
10381 }
10382
10385 {
10387
10388 setOrdinary(offset, NullOrdTagID());
10389 return *this;
10390 }
10391
10395 bool investorId(InvestorID& value) const
10397 {
10399
10400 return ordinary(value, offset, NullInvestorID());
10401 }
10402
10407 {
10409
10410 setOrdinary(offset, value);
10411 return *this;
10412 }
10413
10416 {
10418
10419 setOrdinary(offset, NullInvestorID());
10420 return *this;
10421 }
10422
10426 bool crossType(CrossType::Enum& value) const
10428 {
10430
10431 return enumeration<CrossType>(value, offset, NullUint8EnumEncoding());
10432 }
10433
10438 {
10440
10441 setEnumeration<CrossType>(offset, value);
10442 return *this;
10443 }
10444
10447 {
10449
10451 return *this;
10452 }
10453
10458 bool
10460 CrossPrioritization::Enum& value) const
10462 {
10464
10465 return enumeration<CrossPrioritization>(value, offset, NullUInt8());
10466 }
10467
10471 ThisType&
10475 {
10477
10479 return *this;
10480 }
10481
10484 {
10486
10487 setOrdinary(offset, NullUInt8());
10488 return *this;
10489 }
10490
10499 {
10501
10502 return enumeration<Boolean>(value, offset, NullUInt8());
10503 }
10504
10512 {
10514
10515 setEnumeration<Boolean>(offset, value);
10516 return *this;
10517 }
10518
10521 {
10523
10524 setOrdinary(offset, NullUInt8());
10525 return *this;
10526 }
10527
10530 bool
10532 StrategyIDOptional& value) const
10534 {
10536
10537 return ordinary(value, offset, NullStrategyIDOptional());
10538 }
10539
10543 {
10545
10546 setOrdinary(offset, value);
10547 return *this;
10548 }
10549
10552 {
10554
10556 return *this;
10557 }
10558
10563 {
10566
10567 return ordinary(value, offset, NullAccountOptional(), since);
10568 }
10569
10572 {
10575
10576 setOrdinary(offset, value, since);
10577 return *this;
10578 }
10579
10581 {
10584
10585 setOrdinary(offset, NullAccountOptional(), since);
10586 return *this;
10587 }
10588
10593 {
10594 return getVariableLengthField(deskIDAccess(), *this);
10595 }
10596
10599 StrRef memo() const
10601 {
10602 return getVariableLengthField(memoAccess(), *this);
10603 }
10604
10607 {
10609 deskIDAccess(),
10610 value,
10611 *this);
10612
10613 return *this;
10614 }
10615
10618 {
10620 memoAccess(),
10621 value,
10622 *this);
10623
10624 return *this;
10625 }
10626
10632 {
10633 return
10634 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
10635 (version >= 5)
10636 ? 176
10637 : (version >= 3)
10638 ? 172
10639 : 152;
10640 }
10641
10645 static
10646 BlockLength
10650 {
10651 return
10652 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
10654 }
10655
10660 static
10664 {
10665 return
10666 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
10667 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
10668 }
10669
10674 static UInt64 getMaxMessageSize(UInt8)
10676 {
10677 return
10679 }
10680
10684 {
10685 setDeskIdToNull();
10686 setMemoToNull();
10687 return *this;
10688 }
10689
10693 {
10694 businessHeader().setSendingTimeToNull();
10695 businessHeader().setMarketSegmentIdToNull();
10713
10714 if (version() >= 5)
10715 {
10717 }
10718
10720 return *this;
10721 }
10722
10727 static const Char* className()
10728 {
10729 return "ExecutionReportNew200";
10730 }
10731
10738 {
10739 return constructStrRef("ExecutionReportNew200");
10740 }
10741
10743 void toString(
10744 std::string& dest,
10745 bool skipEmptyFields = false);
10746
10749 std::string toString(
10750 bool skipEmptyFields = false) const;
10751
10754 const void* tail() const
10756 {
10757 return
10758 toOpaquePtr(
10759 (memo().end()));
10760 }
10761
10770
10771private:
10772 void checkLength(
10773 EncodedLength length, SchemaVersion version) const
10774 {
10775 const EncodedLength minimalRequiredLength =
10776 minimalBlockLength(version) +
10778 getMinimalVariableFieldsSize(version);
10779
10780 checkBinaryLength(
10781 *this, length, minimalRequiredLength);
10782 }
10783
10785 void checkVarLenFields() const
10786 {
10787 variableLengthFields().
10788 checkTail<DeskIDEncoding>().
10789 checkTail<MemoEncoding>();
10790 }
10791
10792 void checkCompatibility() const
10793 {
10794 assert(TemplateId == templateId());
10795
10796 checkSchema<Schema>(schemaId(), version());
10797 checkLength(bufferSize(), version());
10798 checkVarLenFields();
10799 }
10800
10802 struct deskIDAccess
10803 {
10804 DeskIDEncoding&
10805 operator()(
10806 const ExecutionReportNew200& obj) const
10808 {
10809 return obj.
10810 variableLengthFields().
10811 head<DeskIDEncoding>();
10812 }
10813 };
10814
10816 struct memoAccess
10817 {
10818 MemoEncoding&
10819 operator()(
10820 const ExecutionReportNew200& obj) const
10822 {
10823 return obj.
10824 variableLengthFields().
10825 tail<DeskIDEncoding>().
10826 head<MemoEncoding>();
10827 }
10828 };
10829
10832 ThisType& setDeskIdToNull()
10834 {
10835 setVariableLengthFieldToNull(deskIDAccess(), *this);
10836
10837 return *this;
10838 }
10839
10842 ThisType& setMemoToNull()
10844 {
10845 setVariableLengthFieldToNull(memoAccess(), *this);
10846
10847 return *this;
10848 }
10849};
10850
10854: SbeMessage
10855{
10858
10861
10863 enum { TemplateId = 201 };
10864
10867
10870 void* data,
10871 EncodedLength length,
10873 : SbeMessage(data, length, version)
10874 {
10876 checkLength(length, version);
10878 reset();
10879 }
10880
10885 void* data,
10886 EncodedLength length,
10889 : SbeMessage(data, length, version)
10890 {
10892 checkLength(length, version);
10895 }
10896
10899 void* data,
10900 EncodedLength length,
10901 NoInit)
10902 : SbeMessage(data, length)
10903 {
10904 checkCompatibility();
10905 }
10906
10908 explicit
10910 const SbeMessage& message)
10911 : SbeMessage(message)
10912 {
10913 assert(message.valid());
10914
10915 checkCompatibility();
10916 }
10917
10921 void* data,
10922 EncodedLength length,
10923 NoInit,
10924 NoCheck)
10926 : SbeMessage(data, length, NoCheck())
10927 {
10928 assert(schemaId() == Schema::Id);
10929 assert(version() >= Schema::MinimalVersion);
10930 assert(TemplateId == templateId());
10931 }
10932
10941
10943
10949 {
10951
10953 }
10954
10962
10967 {
10969
10970 return enumeration<Side>(offset);
10971 }
10972
10976 {
10978
10979 setEnumeration<Side>(offset, value);
10980 return *this;
10981 }
10982
10987 {
10989
10990 return enumeration<OrdStatus>(offset);
10991 }
10992
10996 {
10998
10999 setEnumeration<OrdStatus>(offset, value);
11000 return *this;
11001 }
11002
11008 {
11010
11011 return ordinary<ClOrdID>(offset);
11012 }
11013
11018 {
11020
11021 setOrdinary(offset, value);
11022 return *this;
11023 }
11024
11031 {
11033
11034 return ordinary<OrderID>(offset);
11035 }
11036
11042 {
11044
11045 setOrdinary(offset, value);
11046 return *this;
11047 }
11048
11053 {
11055
11056 return ordinary<SecurityID>(offset);
11057 }
11058
11062 {
11064
11065 setOrdinary(offset, value);
11066 return *this;
11067 }
11068
11077
11079
11086 {
11087 return constructStrRef("BVMF");
11088 }
11089
11095 {
11097
11098 return ordinary<Quantity>(offset);
11099 }
11100
11105 {
11107
11108 setOrdinary(offset, value);
11109 return *this;
11110 }
11111
11114 bool account(AccountOptional& value) const
11116 {
11118
11119 return ordinary(value, offset, NullAccountOptional());
11120 }
11121
11125 {
11127
11128 setOrdinary(offset, value);
11129 return *this;
11130 }
11131
11134 {
11136
11138 return *this;
11139 }
11140
11146 {
11148
11149 return ordinary<ExecID>(offset);
11150 }
11151
11156 {
11158
11159 setOrdinary(offset, value);
11160 return *this;
11161 }
11162
11167 {
11169
11170 return ordinary<UTCTimestampNanos>(offset);
11171 }
11172
11176 {
11178
11179 setOrdinary(offset, value);
11180 return *this;
11181 }
11182
11187 {
11189
11190 return ordinary<Quantity>(offset);
11191 }
11192
11196 {
11198
11199 setOrdinary(offset, value);
11200 return *this;
11201 }
11202
11207 bool
11209 UTCTimestampNanosOptional& value) const
11211 {
11213
11214 return ordinary(value, offset, NullUTCTimestampNanosOptional());
11215 }
11216
11220 ThisType&
11224 {
11226
11227 setOrdinary(offset, value);
11228 return *this;
11229 }
11230
11239
11244 {
11246
11247 return ordinary<OrderID>(offset);
11248 }
11249
11253 {
11255
11256 setOrdinary(offset, value);
11257 return *this;
11258 }
11259
11263 bool origClOrdId(ClOrdIDOptional& value) const
11265 {
11267
11268 return ordinary(value, offset, NullClOrdIDOptional());
11269 }
11270
11275 {
11277
11278 setOrdinary(offset, value);
11279 return *this;
11280 }
11281
11284 {
11286
11288 return *this;
11289 }
11290
11298 {
11300
11301 return decimal(value, offset, NullPriceOptional());
11302 }
11303
11310 {
11312
11313 setOrdinary(offset, value);
11314 return *this;
11315 }
11316
11319 {
11321
11322 setOrdinary(offset, NullPriceOptional());
11323 return *this;
11324 }
11325
11331 {
11333
11335 }
11336
11341 {
11343
11344 setOrdinary(offset, timestampToLocalMktDate(value));
11345 return *this;
11346 }
11347
11354 {
11356
11357 return enumeration<Boolean>(offset);
11358 }
11359
11365 {
11367
11368 setEnumeration<Boolean>(offset, value);
11369 return *this;
11370 }
11371
11375 bool
11377 MultiLegReportingType::Enum& value) const
11379 {
11381
11382 return enumeration<MultiLegReportingType>(value, offset, NullChar());
11383 }
11384
11387 ThisType&
11391 {
11393
11395 return *this;
11396 }
11397
11400 {
11402
11403 setOrdinary(offset, NullChar());
11404 return *this;
11405 }
11406
11411 {
11413
11414 return enumeration<OrdType>(offset);
11415 }
11416
11420 {
11422
11423 setEnumeration<OrdType>(offset, value);
11424 return *this;
11425 }
11426
11431 {
11433
11434 return enumeration<TimeInForce>(offset);
11435 }
11436
11440 {
11442
11443 setEnumeration<TimeInForce>(offset, value);
11444 return *this;
11445 }
11446
11450 bool expireDate(Timestamp& value) const
11452 {
11453 typedef LocalMktDateOptional FieldValue;
11454
11456
11457 FieldValue fieldValue;
11458
11459 if (ordinary(fieldValue, offset, NullLocalMktDateOptional()))
11460 {
11461 value = localMktDateToTimestamp(fieldValue);
11462 return true;
11463 }
11464 return false;
11465 }
11466
11471 {
11473
11474 setOrdinary(offset, timestampToLocalMktDate(value));
11475 return *this;
11476 }
11477
11480 {
11482
11484 return *this;
11485 }
11486
11491 {
11493
11494 return ordinary<Quantity>(offset);
11495 }
11496
11500 {
11502
11503 setOrdinary(offset, value);
11504 return *this;
11505 }
11506
11510 bool price(PriceOptional& value) const
11512 {
11514
11515 return decimal(value, offset, NullPriceOptional());
11516 }
11517
11522 {
11524
11525 setOrdinary(offset, value);
11526 return *this;
11527 }
11528
11531 {
11533
11534 setOrdinary(offset, NullPriceOptional());
11535 return *this;
11536 }
11537
11541 bool stopPx(PriceOptional& value) const
11543 {
11545
11546 return decimal(value, offset, NullPriceOptional());
11547 }
11548
11553 {
11555
11556 setOrdinary(offset, value);
11557 return *this;
11558 }
11559
11562 {
11564
11565 setOrdinary(offset, NullPriceOptional());
11566 return *this;
11567 }
11568
11571 bool minQty(QuantityOptional& value) const
11573 {
11575
11576 return ordinary(value, offset, NullQuantityOptional());
11577 }
11578
11582 {
11584
11585 setOrdinary(offset, value);
11586 return *this;
11587 }
11588
11591 {
11593
11595 return *this;
11596 }
11597
11601 bool maxFloor(QuantityOptional& value) const
11603 {
11605
11606 return ordinary(value, offset, NullQuantityOptional());
11607 }
11608
11613 {
11615
11616 setOrdinary(offset, value);
11617 return *this;
11618 }
11619
11622 {
11624
11626 return *this;
11627 }
11628
11631 bool
11633 UTCTimestampNanosOptional& value) const
11635 {
11637
11638 return ordinary(value, offset, NullUTCTimestampNanosOptional());
11639 }
11640
11642 ThisType&
11646 {
11648
11649 setOrdinary(offset, value);
11650 return *this;
11651 }
11652
11655 {
11657
11659 return *this;
11660 }
11661
11664 bool ordTagId(OrdTagID& value) const
11666 {
11668
11669 return ordinary(value, offset, NullOrdTagID());
11670 }
11671
11675 {
11677
11678 setOrdinary(offset, value);
11679 return *this;
11680 }
11681
11684 {
11686
11687 setOrdinary(offset, NullOrdTagID());
11688 return *this;
11689 }
11690
11694 bool investorId(InvestorID& value) const
11696 {
11698
11699 return ordinary(value, offset, NullInvestorID());
11700 }
11701
11706 {
11708
11709 setOrdinary(offset, value);
11710 return *this;
11711 }
11712
11715 {
11717
11718 setOrdinary(offset, NullInvestorID());
11719 return *this;
11720 }
11721
11730 {
11732
11733 return enumeration<Boolean>(value, offset, NullUInt8());
11734 }
11735
11743 {
11745
11746 setEnumeration<Boolean>(offset, value);
11747 return *this;
11748 }
11749
11752 {
11754
11755 setOrdinary(offset, NullUInt8());
11756 return *this;
11757 }
11758
11761 bool
11771
11773 ThisType&
11776 {
11779
11780 setEnumeration<ExecRestatementReason>(offset, value, since);
11781 return *this;
11782 }
11783
11785 {
11788
11789 setOrdinary(offset, NullUint8EnumEncoding(), since);
11790 return *this;
11791 }
11792
11795 bool
11797 StrategyIDOptional& value) const
11799 {
11801
11802 return ordinary(value, offset, NullStrategyIDOptional());
11803 }
11804
11808 {
11810
11811 setOrdinary(offset, value);
11812 return *this;
11813 }
11814
11817 {
11819
11821 return *this;
11822 }
11823
11828 {
11831
11832 return ordinary(value, offset, NullAccountOptional(), since);
11833 }
11834
11837 {
11840
11841 setOrdinary(offset, value, since);
11842 return *this;
11843 }
11844
11846 {
11849
11850 setOrdinary(offset, NullAccountOptional(), since);
11851 return *this;
11852 }
11853
11858 {
11859 return getVariableLengthField(deskIDAccess(), *this);
11860 }
11861
11864 StrRef memo() const
11866 {
11867 return getVariableLengthField(memoAccess(), *this);
11868 }
11869
11872 {
11874 deskIDAccess(),
11875 value,
11876 *this);
11877
11878 return *this;
11879 }
11880
11883 {
11885 memoAccess(),
11886 value,
11887 *this);
11888
11889 return *this;
11890 }
11891
11897 {
11898 return
11899 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
11900 (version >= 6)
11901 ? 190
11902 : (version >= 3)
11903 ? 181
11904 : 168;
11905 }
11906
11910 static
11911 BlockLength
11915 {
11916 return
11917 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
11919 }
11920
11925 static
11929 {
11930 return
11931 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
11932 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
11933 }
11934
11939 static UInt64 getMaxMessageSize(UInt8)
11941 {
11942 return
11944 }
11945
11949 {
11950 setDeskIdToNull();
11951 setMemoToNull();
11952 return *this;
11953 }
11954
11958 {
11959 businessHeader().setSendingTimeToNull();
11960 businessHeader().setMarketSegmentIdToNull();
11976
11977 if (version() >= 5)
11978 {
11980 }
11981
11982 if (version() >= 6)
11983 {
11985 }
11986
11988 return *this;
11989 }
11990
11995 static const Char* className()
11996 {
11997 return "ExecutionReportModify201";
11998 }
11999
12006 {
12007 return constructStrRef(
12008 "ExecutionReportModify201");
12009 }
12010
12012 void toString(
12013 std::string& dest,
12014 bool skipEmptyFields = false);
12015
12018 std::string toString(
12019 bool skipEmptyFields = false) const;
12020
12023 const void* tail() const
12025 {
12026 return
12027 toOpaquePtr(
12028 (memo().end()));
12029 }
12030
12039
12040private:
12041 void checkLength(
12042 EncodedLength length, SchemaVersion version) const
12043 {
12044 const EncodedLength minimalRequiredLength =
12045 minimalBlockLength(version) +
12047 getMinimalVariableFieldsSize(version);
12048
12049 checkBinaryLength(
12050 *this, length, minimalRequiredLength);
12051 }
12052
12054 void checkVarLenFields() const
12055 {
12056 variableLengthFields().
12057 checkTail<DeskIDEncoding>().
12058 checkTail<MemoEncoding>();
12059 }
12060
12061 void checkCompatibility() const
12062 {
12063 assert(TemplateId == templateId());
12064
12065 checkSchema<Schema>(schemaId(), version());
12066 checkLength(bufferSize(), version());
12067 checkVarLenFields();
12068 }
12069
12071 struct deskIDAccess
12072 {
12073 DeskIDEncoding&
12074 operator()(
12075 const ExecutionReportModify201& obj) const
12077 {
12078 return obj.
12079 variableLengthFields().
12080 head<DeskIDEncoding>();
12081 }
12082 };
12083
12085 struct memoAccess
12086 {
12087 MemoEncoding&
12088 operator()(
12089 const ExecutionReportModify201& obj) const
12091 {
12092 return obj.
12093 variableLengthFields().
12094 tail<DeskIDEncoding>().
12095 head<MemoEncoding>();
12096 }
12097 };
12098
12101 ThisType& setDeskIdToNull()
12103 {
12104 setVariableLengthFieldToNull(deskIDAccess(), *this);
12105
12106 return *this;
12107 }
12108
12111 ThisType& setMemoToNull()
12113 {
12114 setVariableLengthFieldToNull(memoAccess(), *this);
12115
12116 return *this;
12117 }
12118};
12119
12123: SbeMessage
12124{
12127
12130
12132 enum { TemplateId = 202 };
12133
12136
12139 void* data,
12140 EncodedLength length,
12142 : SbeMessage(data, length, version)
12143 {
12145 checkLength(length, version);
12147 reset();
12148 }
12149
12154 void* data,
12155 EncodedLength length,
12158 : SbeMessage(data, length, version)
12159 {
12161 checkLength(length, version);
12164 }
12165
12168 void* data,
12169 EncodedLength length,
12170 NoInit)
12171 : SbeMessage(data, length)
12172 {
12173 checkCompatibility();
12174 }
12175
12177 explicit
12179 const SbeMessage& message)
12180 : SbeMessage(message)
12181 {
12182 assert(message.valid());
12183
12184 checkCompatibility();
12185 }
12186
12190 void* data,
12191 EncodedLength length,
12192 NoInit,
12193 NoCheck)
12195 : SbeMessage(data, length, NoCheck())
12196 {
12197 assert(schemaId() == Schema::Id);
12198 assert(version() >= Schema::MinimalVersion);
12199 assert(TemplateId == templateId());
12200 }
12201
12210
12212
12218 {
12220
12222 }
12223
12231
12236 {
12238
12239 return enumeration<Side>(offset);
12240 }
12241
12245 {
12247
12248 setEnumeration<Side>(offset, value);
12249 return *this;
12250 }
12251
12256 {
12258
12259 return enumeration<OrdStatus>(offset);
12260 }
12261
12265 {
12267
12268 setEnumeration<OrdStatus>(offset, value);
12269 return *this;
12270 }
12271
12277 {
12279
12280 return ordinary<ClOrdID>(offset);
12281 }
12282
12287 {
12289
12290 setOrdinary(offset, value);
12291 return *this;
12292 }
12293
12300 {
12302
12303 return ordinary<OrderID>(offset);
12304 }
12305
12311 {
12313
12314 setOrdinary(offset, value);
12315 return *this;
12316 }
12317
12322 {
12324
12325 return ordinary<SecurityID>(offset);
12326 }
12327
12331 {
12333
12334 setOrdinary(offset, value);
12335 return *this;
12336 }
12337
12346
12348
12355 {
12356 return constructStrRef("BVMF");
12357 }
12358
12363 {
12365
12366 return ordinary<Quantity>(offset);
12367 }
12368
12372 {
12374
12375 setOrdinary(offset, value);
12376 return *this;
12377 }
12378
12381 bool account(AccountOptional& value) const
12383 {
12385
12386 return ordinary(value, offset, NullAccountOptional());
12387 }
12388
12392 {
12394
12395 setOrdinary(offset, value);
12396 return *this;
12397 }
12398
12401 {
12403
12405 return *this;
12406 }
12407
12413 {
12415
12416 return ordinary<ExecID>(offset);
12417 }
12418
12423 {
12425
12426 setOrdinary(offset, value);
12427 return *this;
12428 }
12429
12434 {
12436
12437 return ordinary<UTCTimestampNanos>(offset);
12438 }
12439
12443 {
12445
12446 setOrdinary(offset, value);
12447 return *this;
12448 }
12449
12454 bool
12456 UTCTimestampNanosOptional& value) const
12458 {
12460
12461 return ordinary(value, offset, NullUTCTimestampNanosOptional());
12462 }
12463
12467 ThisType&
12471 {
12473
12474 setOrdinary(offset, value);
12475 return *this;
12476 }
12477
12486
12491 {
12493
12494 return ordinary<OrderID>(offset);
12495 }
12496
12500 {
12502
12503 setOrdinary(offset, value);
12504 return *this;
12505 }
12506
12510 bool origClOrdId(ClOrdIDOptional& value) const
12512 {
12514
12515 return ordinary(value, offset, NullClOrdIDOptional());
12516 }
12517
12522 {
12524
12525 setOrdinary(offset, value);
12526 return *this;
12527 }
12528
12531 {
12533
12535 return *this;
12536 }
12537
12543 {
12545
12547 }
12548
12553 {
12555
12556 setOrdinary(offset, timestampToLocalMktDate(value));
12557 return *this;
12558 }
12559
12566 {
12568
12569 return enumeration<Boolean>(offset);
12570 }
12571
12577 {
12579
12580 setEnumeration<Boolean>(offset, value);
12581 return *this;
12582 }
12583
12586 bool
12595
12597 ThisType&
12601 {
12603
12605 return *this;
12606 }
12607
12610 {
12612
12614 return *this;
12615 }
12616
12620 bool
12622 MassActionReportIDOptional& value) const
12624 {
12626
12627 return ordinary(value, offset, NullMassActionReportIDOptional());
12628 }
12629
12632 ThisType&
12636 {
12638
12639 setOrdinary(offset, value);
12640 return *this;
12641 }
12642
12645 {
12647
12649 return *this;
12650 }
12651
12656 {
12658
12659 return enumeration<OrdType>(offset);
12660 }
12661
12665 {
12667
12668 setEnumeration<OrdType>(offset, value);
12669 return *this;
12670 }
12671
12676 {
12678
12679 return enumeration<TimeInForce>(offset);
12680 }
12681
12685 {
12687
12688 setEnumeration<TimeInForce>(offset, value);
12689 return *this;
12690 }
12691
12695 bool expireDate(Timestamp& value) const
12697 {
12698 typedef LocalMktDateOptional FieldValue;
12699
12701
12702 FieldValue fieldValue;
12703
12704 if (ordinary(fieldValue, offset, NullLocalMktDateOptional()))
12705 {
12706 value = localMktDateToTimestamp(fieldValue);
12707 return true;
12708 }
12709 return false;
12710 }
12711
12716 {
12718
12719 setOrdinary(offset, timestampToLocalMktDate(value));
12720 return *this;
12721 }
12722
12725 {
12727
12729 return *this;
12730 }
12731
12736 {
12738
12739 return ordinary<Quantity>(offset);
12740 }
12741
12745 {
12747
12748 setOrdinary(offset, value);
12749 return *this;
12750 }
12751
12755 bool price(PriceOptional& value) const
12757 {
12759
12760 return decimal(value, offset, NullPriceOptional());
12761 }
12762
12767 {
12769
12770 setOrdinary(offset, value);
12771 return *this;
12772 }
12773
12776 {
12778
12779 setOrdinary(offset, NullPriceOptional());
12780 return *this;
12781 }
12782
12786 bool stopPx(PriceOptional& value) const
12788 {
12790
12791 return decimal(value, offset, NullPriceOptional());
12792 }
12793
12798 {
12800
12801 setOrdinary(offset, value);
12802 return *this;
12803 }
12804
12807 {
12809
12810 setOrdinary(offset, NullPriceOptional());
12811 return *this;
12812 }
12813
12816 bool minQty(QuantityOptional& value) const
12818 {
12820
12821 return ordinary(value, offset, NullQuantityOptional());
12822 }
12823
12827 {
12829
12830 setOrdinary(offset, value);
12831 return *this;
12832 }
12833
12836 {
12838
12840 return *this;
12841 }
12842
12846 bool maxFloor(QuantityOptional& value) const
12848 {
12850
12851 return ordinary(value, offset, NullQuantityOptional());
12852 }
12853
12858 {
12860
12861 setOrdinary(offset, value);
12862 return *this;
12863 }
12864
12867 {
12869
12871 return *this;
12872 }
12873
12876 bool
12878 UTCTimestampNanosOptional& value) const
12880 {
12882
12883 return ordinary(value, offset, NullUTCTimestampNanosOptional());
12884 }
12885
12887 ThisType&
12891 {
12893
12894 setOrdinary(offset, value);
12895 return *this;
12896 }
12897
12900 {
12902
12904 return *this;
12905 }
12906
12909 bool ordTagId(OrdTagID& value) const
12911 {
12913
12914 return ordinary(value, offset, NullOrdTagID());
12915 }
12916
12920 {
12922
12923 setOrdinary(offset, value);
12924 return *this;
12925 }
12926
12929 {
12931
12932 setOrdinary(offset, NullOrdTagID());
12933 return *this;
12934 }
12935
12939 bool investorId(InvestorID& value) const
12941 {
12943
12944 return ordinary(value, offset, NullInvestorID());
12945 }
12946
12951 {
12953
12954 setOrdinary(offset, value);
12955 return *this;
12956 }
12957
12960 {
12962
12963 setOrdinary(offset, NullInvestorID());
12964 return *this;
12965 }
12966
12969 bool
12971 StrategyIDOptional& value) const
12973 {
12975
12976 return ordinary(value, offset, NullStrategyIDOptional());
12977 }
12978
12982 {
12984
12985 setOrdinary(offset, value);
12986 return *this;
12987 }
12988
12991 {
12993
12995 return *this;
12996 }
12997
13003 {
13005
13006 return ordinary(value, offset, NullSessionIDOptional());
13007 }
13008
13013 {
13015
13016 setOrdinary(offset, value);
13017 return *this;
13018 }
13019
13022 {
13024
13026 return *this;
13027 }
13028
13033 {
13034 return getVariableLengthField(deskIDAccess(), *this);
13035 }
13036
13039 StrRef memo() const
13041 {
13042 return getVariableLengthField(memoAccess(), *this);
13043 }
13044
13047 {
13049 deskIDAccess(),
13050 value,
13051 *this);
13052
13053 return *this;
13054 }
13055
13058 {
13060 memoAccess(),
13061 value,
13062 *this);
13063
13064 return *this;
13065 }
13066
13072 {
13073 return
13074 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
13075 (version >= 3)
13076 ? 184
13077 : 164;
13078 }
13079
13083 static
13084 BlockLength
13088 {
13089 return
13090 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
13092 }
13093
13098 static
13102 {
13103 return
13104 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
13105 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
13106 }
13107
13112 static UInt64 getMaxMessageSize(UInt8)
13114 {
13115 return
13117 }
13118
13122 {
13123 setDeskIdToNull();
13124 setMemoToNull();
13125 return *this;
13126 }
13127
13131 {
13132 businessHeader().setSendingTimeToNull();
13133 businessHeader().setMarketSegmentIdToNull();
13149
13151 return *this;
13152 }
13153
13158 static const Char* className()
13159 {
13160 return "ExecutionReportCancel202";
13161 }
13162
13169 {
13170 return constructStrRef(
13171 "ExecutionReportCancel202");
13172 }
13173
13175 void toString(
13176 std::string& dest,
13177 bool skipEmptyFields = false);
13178
13181 std::string toString(
13182 bool skipEmptyFields = false) const;
13183
13186 const void* tail() const
13188 {
13189 return
13190 toOpaquePtr(
13191 (memo().end()));
13192 }
13193
13202
13203private:
13204 void checkLength(
13205 EncodedLength length, SchemaVersion version) const
13206 {
13207 const EncodedLength minimalRequiredLength =
13208 minimalBlockLength(version) +
13210 getMinimalVariableFieldsSize(version);
13211
13212 checkBinaryLength(
13213 *this, length, minimalRequiredLength);
13214 }
13215
13217 void checkVarLenFields() const
13218 {
13219 variableLengthFields().
13220 checkTail<DeskIDEncoding>().
13221 checkTail<MemoEncoding>();
13222 }
13223
13224 void checkCompatibility() const
13225 {
13226 assert(TemplateId == templateId());
13227
13228 checkSchema<Schema>(schemaId(), version());
13229 checkLength(bufferSize(), version());
13230 checkVarLenFields();
13231 }
13232
13234 struct deskIDAccess
13235 {
13236 DeskIDEncoding&
13237 operator()(
13238 const ExecutionReportCancel202& obj) const
13240 {
13241 return obj.
13242 variableLengthFields().
13243 head<DeskIDEncoding>();
13244 }
13245 };
13246
13248 struct memoAccess
13249 {
13250 MemoEncoding&
13251 operator()(
13252 const ExecutionReportCancel202& obj) const
13254 {
13255 return obj.
13256 variableLengthFields().
13257 tail<DeskIDEncoding>().
13258 head<MemoEncoding>();
13259 }
13260 };
13261
13264 ThisType& setDeskIdToNull()
13266 {
13267 setVariableLengthFieldToNull(deskIDAccess(), *this);
13268
13269 return *this;
13270 }
13271
13274 ThisType& setMemoToNull()
13276 {
13277 setVariableLengthFieldToNull(memoAccess(), *this);
13278
13279 return *this;
13280 }
13281};
13282
13286: SbeMessage
13287{
13290
13293
13295 enum { TemplateId = 203 };
13296
13299
13302 void* data,
13303 EncodedLength length,
13305 : SbeMessage(data, length, version)
13306 {
13308 checkLength(length, version);
13310 reset();
13311 }
13312
13317 void* data,
13318 EncodedLength length,
13321 : SbeMessage(data, length, version)
13322 {
13324 checkLength(length, version);
13327 }
13328
13331 void* data,
13332 EncodedLength length,
13333 NoInit)
13334 : SbeMessage(data, length)
13335 {
13336 checkCompatibility();
13337 }
13338
13340 explicit
13342 const SbeMessage& message)
13343 : SbeMessage(message)
13344 {
13345 assert(message.valid());
13346
13347 checkCompatibility();
13348 }
13349
13353 void* data,
13354 EncodedLength length,
13355 NoInit,
13356 NoCheck)
13358 : SbeMessage(data, length, NoCheck())
13359 {
13360 assert(schemaId() == Schema::Id);
13361 assert(version() >= Schema::MinimalVersion);
13362 assert(TemplateId == templateId());
13363 }
13364
13373
13375
13381 {
13383
13385 }
13386
13394
13399 {
13401
13402 return enumeration<Side>(offset);
13403 }
13404
13408 {
13410
13411 setEnumeration<Side>(offset, value);
13412 return *this;
13413 }
13414
13419 {
13421
13422 return enumeration<OrdStatus>(offset);
13423 }
13424
13428 {
13430
13431 setEnumeration<OrdStatus>(offset, value);
13432 return *this;
13433 }
13434
13438 bool clOrdId(ClOrdIDOptional& value) const
13440 {
13442
13443 return ordinary(value, offset, NullClOrdIDOptional());
13444 }
13445
13450 {
13452
13453 setOrdinary(offset, value);
13454 return *this;
13455 }
13456
13459 {
13461
13463 return *this;
13464 }
13465
13472 {
13474
13475 return ordinary<OrderID>(offset);
13476 }
13477
13483 {
13485
13486 setOrdinary(offset, value);
13487 return *this;
13488 }
13489
13494 {
13496
13497 return ordinary<SecurityID>(offset);
13498 }
13499
13503 {
13505
13506 setOrdinary(offset, value);
13507 return *this;
13508 }
13509
13518
13520
13527 {
13528 return constructStrRef("BVMF");
13529 }
13530
13533 bool account(AccountOptional& value) const
13535 {
13537
13538 return ordinary(value, offset, NullAccountOptional());
13539 }
13540
13544 {
13546
13547 setOrdinary(offset, value);
13548 return *this;
13549 }
13550
13553 {
13555
13557 return *this;
13558 }
13559
13564 {
13566
13567 return ordinary<Quantity>(offset);
13568 }
13569
13573 {
13575
13576 setOrdinary(offset, value);
13577 return *this;
13578 }
13579
13584 {
13586
13587 return decimal<Price>(offset);
13588 }
13589
13593 {
13595
13596 setOrdinary(offset, value);
13597 return *this;
13598 }
13599
13605 {
13607
13608 return ordinary<ExecID>(offset);
13609 }
13610
13615 {
13617
13618 setOrdinary(offset, value);
13619 return *this;
13620 }
13621
13626 {
13628
13629 return ordinary<UTCTimestampNanos>(offset);
13630 }
13631
13635 {
13637
13638 setOrdinary(offset, value);
13639 return *this;
13640 }
13641
13647 {
13649
13650 return ordinary<Quantity>(offset);
13651 }
13652
13657 {
13659
13660 setOrdinary(offset, value);
13661 return *this;
13662 }
13663
13668 {
13670
13671 return ordinary<Quantity>(offset);
13672 }
13673
13677 {
13679
13680 setOrdinary(offset, value);
13681 return *this;
13682 }
13683
13689 {
13691
13692 return enumeration<Boolean>(offset);
13693 }
13694
13699 {
13701
13702 setEnumeration<Boolean>(offset, value);
13703 return *this;
13704 }
13705
13712 {
13714
13715 return enumeration<ExecType>(offset);
13716 }
13717
13723 {
13725
13726 setEnumeration<ExecType>(offset, value);
13727 return *this;
13728 }
13729
13732 bool
13734 OrderCategory::Enum& value) const
13736 {
13738
13739 return enumeration<OrderCategory>(value, offset, NullChar());
13740 }
13741
13743 ThisType&
13745 OrderCategory::Enum value)
13747 {
13749
13750 setEnumeration<OrderCategory>(offset, value);
13751 return *this;
13752 }
13753
13756 {
13758
13759 setOrdinary(offset, NullChar());
13760 return *this;
13761 }
13762
13766 bool
13768 MultiLegReportingType::Enum& value) const
13770 {
13772
13773 return enumeration<MultiLegReportingType>(value, offset, NullChar());
13774 }
13775
13778 ThisType&
13782 {
13784
13786 return *this;
13787 }
13788
13791 {
13793
13794 setOrdinary(offset, NullChar());
13795 return *this;
13796 }
13797
13803 {
13805
13806 return ordinary<TradeID>(offset);
13807 }
13808
13813 {
13815
13816 setOrdinary(offset, value);
13817 return *this;
13818 }
13819
13824 {
13826
13827 return ordinary<Firm>(offset);
13828 }
13829
13833 {
13835
13836 setOrdinary(offset, value);
13837 return *this;
13838 }
13839
13844 {
13846
13847 return ordinary<OrderID>(offset);
13848 }
13849
13853 {
13855
13856 setOrdinary(offset, value);
13857 return *this;
13858 }
13859
13865 {
13867
13869 }
13870
13875 {
13877
13878 setOrdinary(offset, timestampToLocalMktDate(value));
13879 return *this;
13880 }
13881
13887 {
13889
13890 return ordinary(value, offset, NullTotNoRelatedSym());
13891 }
13892
13897 {
13899
13900 setOrdinary(offset, value);
13901 return *this;
13902 }
13903
13906 {
13908
13910 return *this;
13911 }
13912
13921 {
13923
13924 return ordinary(value, offset, NullExecIDOptional());
13925 }
13926
13934 {
13936
13937 setOrdinary(offset, value);
13938 return *this;
13939 }
13940
13943 {
13945
13947 return *this;
13948 }
13949
13953 bool execRefId(ExecIDOptional& value) const
13955 {
13957
13958 return ordinary(value, offset, NullExecIDOptional());
13959 }
13960
13965 {
13967
13968 setOrdinary(offset, value);
13969 return *this;
13970 }
13971
13974 {
13976
13978 return *this;
13979 }
13980
13984 bool crossId(CrossIDOptional& value) const
13986 {
13988
13989 return ordinary(value, offset, NullCrossIDOptional());
13990 }
13991
13996 {
13998
13999 setOrdinary(offset, value);
14000 return *this;
14001 }
14002
14005 {
14007
14009 return *this;
14010 }
14011
14014 bool
14016 CrossedIndicator::Enum& value) const
14018 {
14020
14022 }
14023
14025 ThisType&
14029 {
14031
14032 setEnumeration<CrossedIndicator>(offset, value);
14033 return *this;
14034 }
14035
14038 {
14040
14042 return *this;
14043 }
14044
14049 {
14051
14052 return ordinary<Quantity>(offset);
14053 }
14054
14058 {
14060
14061 setOrdinary(offset, value);
14062 return *this;
14063 }
14064
14067 bool
14069 TradingSessionID::Enum& value) const
14071 {
14073
14075 }
14076
14078 ThisType&
14082 {
14084
14085 setEnumeration<TradingSessionID>(offset, value);
14086 return *this;
14087 }
14088
14091 {
14093
14095 return *this;
14096 }
14097
14100 bool
14102 TradingSessionSubID::Enum& value) const
14104 {
14106
14108 }
14109
14111 ThisType&
14115 {
14117
14119 return *this;
14120 }
14121
14124 {
14126
14128 return *this;
14129 }
14130
14133 bool
14142
14144 ThisType&
14148 {
14150
14152 return *this;
14153 }
14154
14157 {
14159
14161 return *this;
14162 }
14163
14167 bool crossType(CrossType::Enum& value) const
14169 {
14171
14172 return enumeration<CrossType>(value, offset, NullUint8EnumEncoding());
14173 }
14174
14179 {
14181
14182 setEnumeration<CrossType>(offset, value);
14183 return *this;
14184 }
14185
14188 {
14190
14192 return *this;
14193 }
14194
14199 bool
14201 CrossPrioritization::Enum& value) const
14203 {
14205
14206 return enumeration<CrossPrioritization>(value, offset, NullUInt8());
14207 }
14208
14212 ThisType&
14216 {
14218
14220 return *this;
14221 }
14222
14225 {
14227
14228 setOrdinary(offset, NullUInt8());
14229 return *this;
14230 }
14231
14234 bool
14236 StrategyIDOptional& value) const
14238 {
14240
14241 return ordinary(value, offset, NullStrategyIDOptional());
14242 }
14243
14247 {
14249
14250 setOrdinary(offset, value);
14251 return *this;
14252 }
14253
14256 {
14258
14260 return *this;
14261 }
14262
14268 {
14271
14272 return ordinary(value, offset, NullImpliedEventID(), since);
14273 }
14274
14278 {
14281
14282 setOrdinary(offset, value, since);
14283 return *this;
14284 }
14285
14287 {
14290
14291 setOrdinary(offset, NullImpliedEventID(), since);
14292 return *this;
14293 }
14294
14299 {
14302
14303 return ordinary(value, offset, NullAccountOptional(), since);
14304 }
14305
14308 {
14311
14312 setOrdinary(offset, value, since);
14313 return *this;
14314 }
14315
14317 {
14320
14321 setOrdinary(offset, NullAccountOptional(), since);
14322 return *this;
14323 }
14324
14329 {
14330 return getVariableLengthField(deskIDAccess(), *this);
14331 }
14332
14335 StrRef memo() const
14337 {
14338 return getVariableLengthField(memoAccess(), *this);
14339 }
14340
14343 {
14345 deskIDAccess(),
14346 value,
14347 *this);
14348
14349 return *this;
14350 }
14351
14354 {
14356 memoAccess(),
14357 value,
14358 *this);
14359
14360 return *this;
14361 }
14362
14368 {
14369 return
14370 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
14371 (version >= 5)
14372 ? 174
14373 : (version >= 4)
14374 ? 170
14375 : (version >= 3)
14376 ? 164
14377 : 159;
14378 }
14379
14383 static
14384 BlockLength
14388 {
14389 return
14390 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
14392 }
14393
14398 static
14402 {
14403 return
14404 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
14405 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
14406 }
14407
14412 static UInt64 getMaxMessageSize(UInt8)
14414 {
14415 return
14417 }
14418
14422 {
14423 setDeskIdToNull();
14424 setMemoToNull();
14425 return *this;
14426 }
14427
14431 {
14432 businessHeader().setSendingTimeToNull();
14433 businessHeader().setMarketSegmentIdToNull();
14449
14450 if (version() >= 4)
14451 {
14453 }
14454
14455 if (version() >= 5)
14456 {
14458 }
14459
14461 return *this;
14462 }
14463
14468 static const Char* className()
14469 {
14470 return "ExecutionReportTrade203";
14471 }
14472
14479 {
14480 return constructStrRef(
14481 "ExecutionReportTrade203");
14482 }
14483
14485 void toString(
14486 std::string& dest,
14487 bool skipEmptyFields = false);
14488
14491 std::string toString(
14492 bool skipEmptyFields = false) const;
14493
14496 const void* tail() const
14498 {
14499 return
14500 toOpaquePtr(
14501 (memo().end()));
14502 }
14503
14512
14513private:
14514 void checkLength(
14515 EncodedLength length, SchemaVersion version) const
14516 {
14517 const EncodedLength minimalRequiredLength =
14518 minimalBlockLength(version) +
14520 getMinimalVariableFieldsSize(version);
14521
14522 checkBinaryLength(
14523 *this, length, minimalRequiredLength);
14524 }
14525
14527 void checkVarLenFields() const
14528 {
14529 variableLengthFields().
14530 checkTail<DeskIDEncoding>().
14531 checkTail<MemoEncoding>();
14532 }
14533
14534 void checkCompatibility() const
14535 {
14536 assert(TemplateId == templateId());
14537
14538 checkSchema<Schema>(schemaId(), version());
14539 checkLength(bufferSize(), version());
14540 checkVarLenFields();
14541 }
14542
14544 struct deskIDAccess
14545 {
14546 DeskIDEncoding&
14547 operator()(
14548 const ExecutionReportTrade203& obj) const
14550 {
14551 return obj.
14552 variableLengthFields().
14553 head<DeskIDEncoding>();
14554 }
14555 };
14556
14558 struct memoAccess
14559 {
14560 MemoEncoding&
14561 operator()(
14562 const ExecutionReportTrade203& obj) const
14564 {
14565 return obj.
14566 variableLengthFields().
14567 tail<DeskIDEncoding>().
14568 head<MemoEncoding>();
14569 }
14570 };
14571
14574 ThisType& setDeskIdToNull()
14576 {
14577 setVariableLengthFieldToNull(deskIDAccess(), *this);
14578
14579 return *this;
14580 }
14581
14584 ThisType& setMemoToNull()
14586 {
14587 setVariableLengthFieldToNull(memoAccess(), *this);
14588
14589 return *this;
14590 }
14591};
14592
14596: SbeMessage
14597{
14600
14603
14605 enum { TemplateId = 204 };
14606
14609
14612 void* data,
14613 EncodedLength length,
14615 : SbeMessage(data, length, version)
14616 {
14618 checkLength(length, version);
14620 reset();
14621 }
14622
14627 void* data,
14628 EncodedLength length,
14631 : SbeMessage(data, length, version)
14632 {
14634 checkLength(length, version);
14637 }
14638
14641 void* data,
14642 EncodedLength length,
14643 NoInit)
14644 : SbeMessage(data, length)
14645 {
14646 checkCompatibility();
14647 }
14648
14650 explicit
14652 const SbeMessage& message)
14653 : SbeMessage(message)
14654 {
14655 assert(message.valid());
14656
14657 checkCompatibility();
14658 }
14659
14663 void* data,
14664 EncodedLength length,
14665 NoInit,
14666 NoCheck)
14668 : SbeMessage(data, length, NoCheck())
14669 {
14670 assert(schemaId() == Schema::Id);
14671 assert(version() >= Schema::MinimalVersion);
14672 assert(TemplateId == templateId());
14673 }
14674
14683
14685
14691 {
14693
14695 }
14696
14704
14709 {
14711
14712 return enumeration<Side>(offset);
14713 }
14714
14718 {
14720
14721 setEnumeration<Side>(offset, value);
14722 return *this;
14723 }
14724
14730 {
14731 return OrdStatus::Rejected;
14732 }
14733
14735
14746
14749 ThisType&
14753 {
14755
14756 setEnumeration<CxlRejResponseTo>(offset, value);
14757 return *this;
14758 }
14759
14765 {
14767
14768 return ordinary<ClOrdID>(offset);
14769 }
14770
14775 {
14777
14778 setOrdinary(offset, value);
14779 return *this;
14780 }
14781
14788 {
14790
14791 return ordinary(value, offset, NullOrderIDOptional());
14792 }
14793
14799 {
14801
14802 setOrdinary(offset, value);
14803 return *this;
14804 }
14805
14808 {
14810
14812 return *this;
14813 }
14814
14819 {
14821
14822 return ordinary<SecurityID>(offset);
14823 }
14824
14828 {
14830
14831 setOrdinary(offset, value);
14832 return *this;
14833 }
14834
14843
14845
14852 {
14853 return constructStrRef("BVMF");
14854 }
14855
14861 {
14863
14864 return ordinary<RejReason>(offset);
14865 }
14866
14871 {
14873
14874 setOrdinary(offset, value);
14875 return *this;
14876 }
14877
14882 {
14884
14885 return ordinary<UTCTimestampNanos>(offset);
14886 }
14887
14891 {
14893
14894 setOrdinary(offset, value);
14895 return *this;
14896 }
14897
14903 {
14905
14906 return ordinary<ExecID>(offset);
14907 }
14908
14913 {
14915
14916 setOrdinary(offset, value);
14917 return *this;
14918 }
14919
14922 bool orderId(OrderIDOptional& value) const
14924 {
14926
14927 return ordinary(value, offset, NullOrderIDOptional());
14928 }
14929
14933 {
14935
14936 setOrdinary(offset, value);
14937 return *this;
14938 }
14939
14942 {
14944
14946 return *this;
14947 }
14948
14952 bool origClOrdId(ClOrdIDOptional& value) const
14954 {
14956
14957 return ordinary(value, offset, NullClOrdIDOptional());
14958 }
14959
14964 {
14966
14967 setOrdinary(offset, value);
14968 return *this;
14969 }
14970
14973 {
14975
14977 return *this;
14978 }
14979
14982 bool account(AccountOptional& value) const
14984 {
14986
14987 return ordinary(value, offset, NullAccountOptional());
14988 }
14989
14993 {
14995
14996 setOrdinary(offset, value);
14997 return *this;
14998 }
14999
15002 {
15004
15006 return *this;
15007 }
15008
15013 {
15015
15016 return enumeration<OrdType>(offset);
15017 }
15018
15022 {
15024
15025 setEnumeration<OrdType>(offset, value);
15026 return *this;
15027 }
15028
15033 {
15035
15036 return enumeration<TimeInForce>(offset);
15037 }
15038
15042 {
15044
15045 setEnumeration<TimeInForce>(offset, value);
15046 return *this;
15047 }
15048
15052 bool expireDate(Timestamp& value) const
15054 {
15055 typedef LocalMktDateOptional FieldValue;
15056
15058
15059 FieldValue fieldValue;
15060
15061 if (ordinary(fieldValue, offset, NullLocalMktDateOptional()))
15062 {
15063 value = localMktDateToTimestamp(fieldValue);
15064 return true;
15065 }
15066 return false;
15067 }
15068
15073 {
15075
15076 setOrdinary(offset, timestampToLocalMktDate(value));
15077 return *this;
15078 }
15079
15082 {
15084
15086 return *this;
15087 }
15088
15092 bool orderQty(QuantityOptional& value) const
15094 {
15096
15097 return ordinary(value, offset, NullQuantityOptional());
15098 }
15099
15104 {
15106
15107 setOrdinary(offset, value);
15108 return *this;
15109 }
15110
15113 {
15115
15117 return *this;
15118 }
15119
15123 bool price(PriceOptional& value) const
15125 {
15127
15128 return decimal(value, offset, NullPriceOptional());
15129 }
15130
15135 {
15137
15138 setOrdinary(offset, value);
15139 return *this;
15140 }
15141
15144 {
15146
15147 setOrdinary(offset, NullPriceOptional());
15148 return *this;
15149 }
15150
15154 bool stopPx(PriceOptional& value) const
15156 {
15158
15159 return decimal(value, offset, NullPriceOptional());
15160 }
15161
15166 {
15168
15169 setOrdinary(offset, value);
15170 return *this;
15171 }
15172
15175 {
15177
15178 setOrdinary(offset, NullPriceOptional());
15179 return *this;
15180 }
15181
15184 bool minQty(QuantityOptional& value) const
15186 {
15188
15189 return ordinary(value, offset, NullQuantityOptional());
15190 }
15191
15195 {
15197
15198 setOrdinary(offset, value);
15199 return *this;
15200 }
15201
15204 {
15206
15208 return *this;
15209 }
15210
15214 bool maxFloor(QuantityOptional& value) const
15216 {
15218
15219 return ordinary(value, offset, NullQuantityOptional());
15220 }
15221
15226 {
15228
15229 setOrdinary(offset, value);
15230 return *this;
15231 }
15232
15235 {
15237
15239 return *this;
15240 }
15241
15245 bool crossId(CrossIDOptional& value) const
15247 {
15249
15250 return ordinary(value, offset, NullCrossIDOptional());
15251 }
15252
15257 {
15259
15260 setOrdinary(offset, value);
15261 return *this;
15262 }
15263
15266 {
15268
15270 return *this;
15271 }
15272
15275 bool
15277 CrossedIndicator::Enum& value) const
15279 {
15281
15283 }
15284
15286 ThisType&
15290 {
15292
15293 setEnumeration<CrossedIndicator>(offset, value);
15294 return *this;
15295 }
15296
15299 {
15301
15303 return *this;
15304 }
15305
15308 bool
15310 UTCTimestampNanosOptional& value) const
15312 {
15314
15315 return ordinary(value, offset, NullUTCTimestampNanosOptional());
15316 }
15317
15319 ThisType&
15323 {
15325
15326 setOrdinary(offset, value);
15327 return *this;
15328 }
15329
15332 {
15334
15336 return *this;
15337 }
15338
15341 bool ordTagId(OrdTagID& value) const
15343 {
15345
15346 return ordinary(value, offset, NullOrdTagID());
15347 }
15348
15352 {
15354
15355 setOrdinary(offset, value);
15356 return *this;
15357 }
15358
15361 {
15363
15364 setOrdinary(offset, NullOrdTagID());
15365 return *this;
15366 }
15367
15371 bool investorId(InvestorID& value) const
15373 {
15375
15376 return ordinary(value, offset, NullInvestorID());
15377 }
15378
15383 {
15385
15386 setOrdinary(offset, value);
15387 return *this;
15388 }
15389
15392 {
15394
15395 setOrdinary(offset, NullInvestorID());
15396 return *this;
15397 }
15398
15401 bool
15403 StrategyIDOptional& value) const
15405 {
15407
15408 return ordinary(value, offset, NullStrategyIDOptional());
15409 }
15410
15414 {
15416
15417 setOrdinary(offset, value);
15418 return *this;
15419 }
15420
15423 {
15425
15427 return *this;
15428 }
15429
15434 {
15437
15438 return ordinary(value, offset, NullAccountOptional(), since);
15439 }
15440
15443 {
15446
15447 setOrdinary(offset, value, since);
15448 return *this;
15449 }
15450
15452 {
15455
15456 setOrdinary(offset, NullAccountOptional(), since);
15457 return *this;
15458 }
15459
15464 {
15465 return getVariableLengthField(deskIDAccess(), *this);
15466 }
15467
15470 StrRef memo() const
15472 {
15473 return getVariableLengthField(memoAccess(), *this);
15474 }
15475
15478 StrRef text() const
15480 {
15481 return getVariableLengthField(textAccess(), *this);
15482 }
15483
15486 {
15488 deskIDAccess(),
15489 value,
15490 *this);
15491
15492 return *this;
15493 }
15494
15497 {
15499 memoAccess(),
15500 value,
15501 *this);
15502
15503 return *this;
15504 }
15505
15508 {
15510 textAccess(),
15511 value,
15512 *this);
15513
15514 return *this;
15515 }
15516
15522 {
15523 return
15524 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
15525 (version >= 5)
15526 ? 166
15527 : (version >= 3)
15528 ? 162
15529 : 146;
15530 }
15531
15535 static
15536 BlockLength
15540 {
15541 return
15542 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
15544 }
15545
15550 static
15554 {
15555 return
15556 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
15558 }
15559
15564 static UInt64 getMaxMessageSize(UInt8)
15566 {
15567 return
15569 }
15570
15574 {
15575 setDeskIdToNull();
15576 setMemoToNull();
15577 setTextToNull();
15578 return *this;
15579 }
15580
15584 {
15585 businessHeader().setSendingTimeToNull();
15586 businessHeader().setMarketSegmentIdToNull();
15603
15604 if (version() >= 5)
15605 {
15607 }
15608
15610 return *this;
15611 }
15612
15617 static const Char* className()
15618 {
15619 return "ExecutionReportReject204";
15620 }
15621
15628 {
15629 return constructStrRef(
15630 "ExecutionReportReject204");
15631 }
15632
15634 void toString(
15635 std::string& dest,
15636 bool skipEmptyFields = false);
15637
15640 std::string toString(
15641 bool skipEmptyFields = false) const;
15642
15645 const void* tail() const
15647 {
15648 return
15649 toOpaquePtr(
15650 (text().end()));
15651 }
15652
15661
15662private:
15663 void checkLength(
15664 EncodedLength length, SchemaVersion version) const
15665 {
15666 const EncodedLength minimalRequiredLength =
15667 minimalBlockLength(version) +
15669 getMinimalVariableFieldsSize(version);
15670
15671 checkBinaryLength(
15672 *this, length, minimalRequiredLength);
15673 }
15674
15676 void checkVarLenFields() const
15677 {
15678 variableLengthFields().
15679 checkTail<DeskIDEncoding>().
15680 checkTail<MemoEncoding>().
15681 checkTail<TextEncoding>();
15682 }
15683
15684 void checkCompatibility() const
15685 {
15686 assert(TemplateId == templateId());
15687
15688 checkSchema<Schema>(schemaId(), version());
15689 checkLength(bufferSize(), version());
15690 checkVarLenFields();
15691 }
15692
15694 struct deskIDAccess
15695 {
15696 DeskIDEncoding&
15697 operator()(
15698 const ExecutionReportReject204& obj) const
15700 {
15701 return obj.
15702 variableLengthFields().
15703 head<DeskIDEncoding>();
15704 }
15705 };
15706
15708 struct memoAccess
15709 {
15710 MemoEncoding&
15711 operator()(
15712 const ExecutionReportReject204& obj) const
15714 {
15715 return obj.
15716 variableLengthFields().
15717 tail<DeskIDEncoding>().
15718 head<MemoEncoding>();
15719 }
15720 };
15721
15723 struct textAccess
15724 {
15725 TextEncoding&
15726 operator()(
15727 const ExecutionReportReject204& obj) const
15729 {
15730 return obj.
15731 variableLengthFields().
15732 tail<DeskIDEncoding>().
15733 tail<MemoEncoding>().
15734 head<TextEncoding>();
15735 }
15736 };
15737
15740 ThisType& setDeskIdToNull()
15742 {
15743 setVariableLengthFieldToNull(deskIDAccess(), *this);
15744
15745 return *this;
15746 }
15747
15750 ThisType& setMemoToNull()
15752 {
15753 setVariableLengthFieldToNull(memoAccess(), *this);
15754
15755 return *this;
15756 }
15757
15760 ThisType& setTextToNull()
15762 {
15763 setVariableLengthFieldToNull(textAccess(), *this);
15764
15765 return *this;
15766 }
15767};
15768
15772: SbeMessage
15773{
15776
15779
15781 enum { TemplateId = 205 };
15782
15785
15788 void* data,
15789 EncodedLength length,
15791 : SbeMessage(data, length, version)
15792 {
15794 checkLength(length, version);
15796 reset();
15797 }
15798
15803 void* data,
15804 EncodedLength length,
15807 : SbeMessage(data, length, version)
15808 {
15810 checkLength(length, version);
15813 }
15814
15817 void* data,
15818 EncodedLength length,
15819 NoInit)
15820 : SbeMessage(data, length)
15821 {
15822 checkCompatibility();
15823 }
15824
15826 explicit
15828 const SbeMessage& message)
15829 : SbeMessage(message)
15830 {
15831 assert(message.valid());
15832
15833 checkCompatibility();
15834 }
15835
15839 void* data,
15840 EncodedLength length,
15841 NoInit,
15842 NoCheck)
15844 : SbeMessage(data, length, NoCheck())
15845 {
15846 assert(schemaId() == Schema::Id);
15847 assert(version() >= Schema::MinimalVersion);
15848 assert(TemplateId == templateId());
15849 }
15850
15859
15861
15867 {
15869
15871 }
15872
15880
15885 {
15887
15888 return enumeration<Side>(offset);
15889 }
15890
15894 {
15896
15897 setEnumeration<Side>(offset, value);
15898 return *this;
15899 }
15900
15905 {
15907
15908 return enumeration<OrdStatus>(offset);
15909 }
15910
15914 {
15916
15917 setEnumeration<OrdStatus>(offset, value);
15918 return *this;
15919 }
15920
15924 bool clOrdId(ClOrdIDOptional& value) const
15926 {
15928
15929 return ordinary(value, offset, NullClOrdIDOptional());
15930 }
15931
15936 {
15938
15939 setOrdinary(offset, value);
15940 return *this;
15941 }
15942
15945 {
15947
15949 return *this;
15950 }
15951
15958 {
15960
15961 return ordinary<OrderID>(offset);
15962 }
15963
15969 {
15971
15972 setOrdinary(offset, value);
15973 return *this;
15974 }
15975
15980 {
15982
15983 return ordinary<SecurityID>(offset);
15984 }
15985
15989 {
15991
15992 setOrdinary(offset, value);
15993 return *this;
15994 }
15995
16004
16006
16013 {
16014 return constructStrRef("BVMF");
16015 }
16016
16019 bool account(AccountOptional& value) const
16021 {
16023
16024 return ordinary(value, offset, NullAccountOptional());
16025 }
16026
16030 {
16032
16033 setOrdinary(offset, value);
16034 return *this;
16035 }
16036
16039 {
16041
16043 return *this;
16044 }
16045
16050 {
16052
16053 return ordinary<Quantity>(offset);
16054 }
16055
16059 {
16061
16062 setOrdinary(offset, value);
16063 return *this;
16064 }
16065
16070 {
16072
16073 return decimal<Price>(offset);
16074 }
16075
16079 {
16081
16082 setOrdinary(offset, value);
16083 return *this;
16084 }
16085
16091 {
16093
16094 return ordinary<ExecID>(offset);
16095 }
16096
16101 {
16103
16104 setOrdinary(offset, value);
16105 return *this;
16106 }
16107
16112 {
16114
16115 return ordinary<UTCTimestampNanos>(offset);
16116 }
16117
16121 {
16123
16124 setOrdinary(offset, value);
16125 return *this;
16126 }
16127
16133 {
16135
16136 return ordinary<Quantity>(offset);
16137 }
16138
16143 {
16145
16146 setOrdinary(offset, value);
16147 return *this;
16148 }
16149
16154 {
16156
16157 return ordinary<Quantity>(offset);
16158 }
16159
16163 {
16165
16166 setOrdinary(offset, value);
16167 return *this;
16168 }
16169
16175 {
16177
16178 return ordinary<TradeID>(offset);
16179 }
16180
16185 {
16187
16188 setOrdinary(offset, value);
16189 return *this;
16190 }
16191
16196 {
16198
16199 return ordinary<Firm>(offset);
16200 }
16201
16205 {
16207
16208 setOrdinary(offset, value);
16209 return *this;
16210 }
16211
16216 {
16218
16219 return ordinary<OrderID>(offset);
16220 }
16221
16225 {
16227
16228 setOrdinary(offset, value);
16229 return *this;
16230 }
16231
16237 {
16239
16240 return enumeration<Boolean>(offset);
16241 }
16242
16247 {
16249
16250 setEnumeration<Boolean>(offset, value);
16251 return *this;
16252 }
16253
16257 bool settlType(SettlType::Enum& value) const
16259 {
16261
16262 return enumeration<SettlType>(value, offset, NullChar());
16263 }
16264
16269 {
16271
16272 setEnumeration<SettlType>(offset, value);
16273 return *this;
16274 }
16275
16278 {
16280
16281 setOrdinary(offset, NullChar());
16282 return *this;
16283 }
16284
16290 {
16292
16294 }
16295
16300 {
16302
16303 setOrdinary(offset, timestampToLocalMktDate(value));
16304 return *this;
16305 }
16306
16311 bool
16313 DaysToSettlementOptional& value) const
16315 {
16317
16318 return ordinary(value, offset, NullDaysToSettlementOptional());
16319 }
16320
16324 ThisType&
16328 {
16330
16331 setOrdinary(offset, value);
16332 return *this;
16333 }
16334
16337 {
16339
16341 return *this;
16342 }
16343
16352 {
16354
16355 return ordinary(value, offset, NullExecIDOptional());
16356 }
16357
16365 {
16367
16368 setOrdinary(offset, value);
16369 return *this;
16370 }
16371
16374 {
16376
16378 return *this;
16379 }
16380
16384 bool execRefId(ExecIDOptional& value) const
16386 {
16388
16389 return ordinary(value, offset, NullExecIDOptional());
16390 }
16391
16396 {
16398
16399 setOrdinary(offset, value);
16400 return *this;
16401 }
16402
16405 {
16407
16409 return *this;
16410 }
16411
16418 bool
16420 Percentage8Optional& value) const
16422 {
16424
16425 return decimal(value, offset, NullPercentage8Optional());
16426 }
16427
16433 ThisType&
16435 Percentage8Optional value)
16437 {
16439
16440 setOrdinary(offset, value);
16441 return *this;
16442 }
16443
16446 {
16448
16450 return *this;
16451 }
16452
16457 {
16459
16460 return ordinary<Quantity>(offset);
16461 }
16462
16466 {
16468
16469 setOrdinary(offset, value);
16470 return *this;
16471 }
16472
16475 bool
16477 TradingSessionID::Enum& value) const
16479 {
16481
16483 }
16484
16486 ThisType&
16490 {
16492
16493 setEnumeration<TradingSessionID>(offset, value);
16494 return *this;
16495 }
16496
16499 {
16501
16503 return *this;
16504 }
16505
16508 bool
16510 TradingSessionSubID::Enum& value) const
16512 {
16514
16516 }
16517
16519 ThisType&
16523 {
16525
16527 return *this;
16528 }
16529
16532 {
16534
16536 return *this;
16537 }
16538
16541 bool
16550
16552 ThisType&
16556 {
16558
16560 return *this;
16561 }
16562
16565 {
16567
16569 return *this;
16570 }
16571
16576 {
16579
16580 return ordinary(value, offset, NullAccountOptional(), since);
16581 }
16582
16585 {
16588
16589 setOrdinary(offset, value, since);
16590 return *this;
16591 }
16592
16594 {
16597
16598 setOrdinary(offset, NullAccountOptional(), since);
16599 return *this;
16600 }
16601
16606 {
16607 return getVariableLengthField(deskIDAccess(), *this);
16608 }
16609
16612 StrRef memo() const
16614 {
16615 return getVariableLengthField(memoAccess(), *this);
16616 }
16617
16620 {
16622 deskIDAccess(),
16623 value,
16624 *this);
16625
16626 return *this;
16627 }
16628
16631 {
16633 memoAccess(),
16634 value,
16635 *this);
16636
16637 return *this;
16638 }
16639
16645 {
16646 return
16647 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
16648 (version >= 5)
16649 ? 159
16650 : 155;
16651 }
16652
16656 static
16657 BlockLength
16661 {
16662 return
16663 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
16665 }
16666
16671 static
16675 {
16676 return
16677 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
16678 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
16679 }
16680
16685 static UInt64 getMaxMessageSize(UInt8)
16687 {
16688 return
16690 }
16691
16695 {
16696 setDeskIdToNull();
16697 setMemoToNull();
16698 return *this;
16699 }
16700
16704 {
16705 businessHeader().setSendingTimeToNull();
16706 businessHeader().setMarketSegmentIdToNull();
16717
16718 if (version() >= 5)
16719 {
16721 }
16722
16724 return *this;
16725 }
16726
16731 static const Char* className()
16732 {
16733 return "ExecutionReportForward205";
16734 }
16735
16742 {
16743 return constructStrRef(
16744 "ExecutionReportForward205");
16745 }
16746
16748 void toString(
16749 std::string& dest,
16750 bool skipEmptyFields = false);
16751
16754 std::string toString(
16755 bool skipEmptyFields = false) const;
16756
16759 const void* tail() const
16761 {
16762 return
16763 toOpaquePtr(
16764 (memo().end()));
16765 }
16766
16775
16776private:
16777 void checkLength(
16778 EncodedLength length, SchemaVersion version) const
16779 {
16780 const EncodedLength minimalRequiredLength =
16781 minimalBlockLength(version) +
16783 getMinimalVariableFieldsSize(version);
16784
16785 checkBinaryLength(
16786 *this, length, minimalRequiredLength);
16787 }
16788
16790 void checkVarLenFields() const
16791 {
16792 variableLengthFields().
16793 checkTail<DeskIDEncoding>().
16794 checkTail<MemoEncoding>();
16795 }
16796
16797 void checkCompatibility() const
16798 {
16799 assert(TemplateId == templateId());
16800
16801 checkSchema<Schema>(schemaId(), version());
16802 checkLength(bufferSize(), version());
16803 checkVarLenFields();
16804 }
16805
16807 struct deskIDAccess
16808 {
16809 DeskIDEncoding&
16810 operator()(
16811 const ExecutionReportForward205& obj) const
16813 {
16814 return obj.
16815 variableLengthFields().
16816 head<DeskIDEncoding>();
16817 }
16818 };
16819
16821 struct memoAccess
16822 {
16823 MemoEncoding&
16824 operator()(
16825 const ExecutionReportForward205& obj) const
16827 {
16828 return obj.
16829 variableLengthFields().
16830 tail<DeskIDEncoding>().
16831 head<MemoEncoding>();
16832 }
16833 };
16834
16837 ThisType& setDeskIdToNull()
16839 {
16840 setVariableLengthFieldToNull(deskIDAccess(), *this);
16841
16842 return *this;
16843 }
16844
16847 ThisType& setMemoToNull()
16849 {
16850 setVariableLengthFieldToNull(memoAccess(), *this);
16851
16852 return *this;
16853 }
16854};
16855
16859: SbeMessage
16860{
16863
16866
16868 enum { TemplateId = 206 };
16869
16872
16875 void* data,
16876 EncodedLength length,
16878 : SbeMessage(data, length, version)
16879 {
16881 checkLength(length, version);
16883 reset();
16884 }
16885
16890 void* data,
16891 EncodedLength length,
16894 : SbeMessage(data, length, version)
16895 {
16897 checkLength(length, version);
16900 }
16901
16904 void* data,
16905 EncodedLength length,
16906 NoInit)
16907 : SbeMessage(data, length)
16908 {
16909 checkCompatibility();
16910 }
16911
16913 explicit
16915 const SbeMessage& message)
16916 : SbeMessage(message)
16917 {
16918 assert(message.valid());
16919
16920 checkCompatibility();
16921 }
16922
16926 void* data,
16927 EncodedLength length,
16928 NoInit,
16929 NoCheck)
16931 : SbeMessage(data, length, NoCheck())
16932 {
16933 assert(schemaId() == Schema::Id);
16934 assert(version() >= Schema::MinimalVersion);
16935 assert(TemplateId == templateId());
16936 }
16937
16946
16948
16954 {
16956
16958 }
16959
16967
16972 {
16974
16975 return enumeration<MessageType>(offset);
16976 }
16977
16981 {
16983
16984 setEnumeration<MessageType>(offset, value);
16985 return *this;
16986 }
16987
16992 {
16994
16995 return ordinary<SeqNum>(offset);
16996 }
16997
17001 {
17003
17004 setOrdinary(offset, value);
17005 return *this;
17006 }
17007
17012 bool
17014 BusinessRejectRefID& value) const
17016 {
17018
17019 return ordinary(value, offset, NullBusinessRejectRefID());
17020 }
17021
17025 ThisType&
17027 BusinessRejectRefID value)
17029 {
17031
17032 setOrdinary(offset, value);
17033 return *this;
17034 }
17035
17038 {
17040
17042 return *this;
17043 }
17044
17049 {
17051
17052 return ordinary<RejReason>(offset);
17053 }
17054
17058 {
17060
17061 setOrdinary(offset, value);
17062 return *this;
17063 }
17064
17067 StrRef memo() const
17069 {
17070 return getVariableLengthField(memoAccess(), *this);
17071 }
17072
17075 StrRef text() const
17077 {
17078 return getVariableLengthField(textAccess(), *this);
17079 }
17080
17083 {
17085 memoAccess(),
17086 value,
17087 *this);
17088
17089 return *this;
17090 }
17091
17094 {
17096 textAccess(),
17097 value,
17098 *this);
17099
17100 return *this;
17101 }
17102
17106 static
17107 BlockLength
17111 {
17112 return
17113 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
17114 36;
17115 }
17116
17120 static
17121 BlockLength
17125 {
17126 return
17127 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
17129 }
17130
17135 static
17139 {
17140 return
17141 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
17142 static_cast<MessageSize>(MemoEncoding::Size) + static_cast<MessageSize>(TextEncoding::Size);
17143 }
17144
17149 static UInt64 getMaxMessageSize(UInt8)
17151 {
17152 return
17154 }
17155
17159 {
17160 setMemoToNull();
17161 setTextToNull();
17162 return *this;
17163 }
17164
17168 {
17169 businessHeader().setSendingTimeToNull();
17170 businessHeader().setMarketSegmentIdToNull();
17172
17174 return *this;
17175 }
17176
17181 static const Char* className()
17182 {
17183 return "BusinessMessageReject206";
17184 }
17185
17192 {
17193 return constructStrRef(
17194 "BusinessMessageReject206");
17195 }
17196
17198 void toString(
17199 std::string& dest,
17200 bool skipEmptyFields = false);
17201
17204 std::string toString(
17205 bool skipEmptyFields = false) const;
17206
17209 const void* tail() const
17211 {
17212 return
17213 toOpaquePtr(
17214 (text().end()));
17215 }
17216
17225
17226private:
17227 void checkLength(
17228 EncodedLength length, SchemaVersion version) const
17229 {
17230 const EncodedLength minimalRequiredLength =
17231 minimalBlockLength(version) +
17233 getMinimalVariableFieldsSize(version);
17234
17235 checkBinaryLength(
17236 *this, length, minimalRequiredLength);
17237 }
17238
17240 void checkVarLenFields() const
17241 {
17242 variableLengthFields().
17243 checkTail<MemoEncoding>().
17244 checkTail<TextEncoding>();
17245 }
17246
17247 void checkCompatibility() const
17248 {
17249 assert(TemplateId == templateId());
17250
17251 checkSchema<Schema>(schemaId(), version());
17252 checkLength(bufferSize(), version());
17253 checkVarLenFields();
17254 }
17255
17257 struct memoAccess
17258 {
17259 MemoEncoding&
17260 operator()(
17261 const BusinessMessageReject206& obj) const
17263 {
17264 return obj.
17265 variableLengthFields().
17266 head<MemoEncoding>();
17267 }
17268 };
17269
17271 struct textAccess
17272 {
17273 TextEncoding&
17274 operator()(
17275 const BusinessMessageReject206& obj) const
17277 {
17278 return obj.
17279 variableLengthFields().
17280 tail<MemoEncoding>().
17281 head<TextEncoding>();
17282 }
17283 };
17284
17287 ThisType& setMemoToNull()
17289 {
17290 setVariableLengthFieldToNull(memoAccess(), *this);
17291
17292 return *this;
17293 }
17294
17297 ThisType& setTextToNull()
17299 {
17300 setVariableLengthFieldToNull(textAccess(), *this);
17301
17302 return *this;
17303 }
17304};
17305
17309: SbeMessage
17310{
17313
17316
17318 enum { TemplateId = 300 };
17319
17324 <
17326 >
17327 {
17329 typedef
17331 <
17333 >
17335
17338
17342 void* data,
17343 EncodedLength length,
17345 : Base(data, numericCast<Base::BlockLength>(length), version)
17346 {
17348 assert(length >= minimalBlockLength(version));
17349 }
17350
17354 {
17355 return *this;
17356 }
17357
17361 {
17363
17365 return *this;
17366 }
17367
17369 void
17370 toString(
17371 std::string& dest,
17372 bool skipEmptyFields = false);
17373
17376 std::string
17377 toString(
17378 bool skipEmptyFields = false) const;
17379
17380
17386 {
17389
17390 return fixedStr<length>(offset);
17391 }
17392
17397 {
17400
17401 setFixedStr<length>(offset, value);
17402 return *this;
17403 }
17404
17411 {
17412 return constructStrRef("BVMF");
17413 }
17414
17420 {
17422
17423 return decimal<RatioQty>(offset);
17424 }
17425
17430 {
17432
17433 setOrdinary(offset, value);
17434 return *this;
17435 }
17436
17440 bool legSide(Side::Enum& value) const
17442 {
17444
17445 return enumeration<Side>(value, offset, NullChar());
17446 }
17447
17452 {
17454
17455 setEnumeration<Side>(offset, value);
17456 return *this;
17457 }
17458
17461 {
17463
17464 setOrdinary(offset, NullChar());
17465 return *this;
17466 }
17467
17472 static
17477 {
17478 return
17479 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
17480 30;
17481 }
17482
17487 static
17492 {
17493 return
17494 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
17495 29;
17496 }
17497
17502 static const Char* className()
17503 {
17504 return "SecurityDefinitionRequest300.LegsEntry";
17505 }
17506 };
17507
17509 typedef
17512
17515
17518 void* data,
17519 EncodedLength length,
17521 : SbeMessage(data, length, version)
17522 {
17524 checkLength(length, version);
17526 reset();
17527 }
17528
17533 void* data,
17534 EncodedLength length,
17537 : SbeMessage(data, length, version)
17538 {
17540 checkLength(length, version);
17543 }
17544
17547 void* data,
17548 EncodedLength length,
17549 NoInit)
17550 : SbeMessage(data, length)
17551 {
17552 checkCompatibility();
17553 }
17554
17556 explicit
17558 const SbeMessage& message)
17559 : SbeMessage(message)
17560 {
17561 assert(message.valid());
17562
17563 checkCompatibility();
17564 }
17565
17569 void* data,
17570 EncodedLength length,
17571 NoInit,
17572 NoCheck)
17574 : SbeMessage(data, length, NoCheck())
17575 {
17576 assert(schemaId() == Schema::Id);
17577 assert(version() >= Schema::MinimalVersion);
17578 assert(TemplateId == templateId());
17579 }
17580
17589
17591
17597 {
17599
17601 }
17602
17610
17615 {
17617
17618 return ordinary<SecurityReqRespID>(offset);
17619 }
17620
17624 {
17626
17627 setOrdinary(offset, value);
17628 return *this;
17629 }
17630
17635 {
17638
17639 return fixedStr<length>(offset);
17640 }
17641
17645 {
17648
17649 setFixedStr<length>(offset, value);
17650 return *this;
17651 }
17652
17657 {
17660
17661 return fixedStr<length>(offset);
17662 }
17663
17667 {
17670
17671 setFixedStr<length>(offset, value);
17672 return *this;
17673 }
17674
17677 Legs legs() const
17679 {
17680 return getGroup<Legs>(LegsAccess(), *this);
17681 }
17682
17687 {
17688 return getGroup<Legs>(LegsAccess(), *this);
17689 }
17690
17695 {
17696 return constructGroup<Legs>(
17697 LegsAccess(),
17698 length,
17699 *this);
17700 }
17701
17704 Legs
17706 Legs::Size length,
17708 {
17709 return setupGroup<Legs>(
17710 LegsAccess(),
17711 length,
17712 *this);
17713 }
17714
17718 static
17719 BlockLength
17723 {
17724 return
17725 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
17726 41;
17727 }
17728
17734 {
17735 return
17736 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
17738 }
17739
17744 static
17748 {
17749 return
17750 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
17751 static_cast<MessageSize>(Legs::EmptySize);
17752 }
17753
17758 static
17759 UInt64
17761 UInt8 maxGroupItems = 255)
17763 {
17764 return
17765 static_cast<UInt64>(MessageHeaderBuilder::Size) +
17767 (GroupSizeEncoding::Size + LegsEntry::blockLength(Schema::Version) * static_cast<UInt64>(maxGroupItems));
17768 }
17769
17773 {
17774 setLegsToNull();
17775 return *this;
17776 }
17777
17781 {
17782 businessHeader().setSendingTimeToNull();
17783
17785 return *this;
17786 }
17787
17792 static const Char* className()
17793 {
17794 return "SecurityDefinitionRequest300";
17795 }
17796
17803 {
17804 return constructStrRef(
17805 "SecurityDefinitionRequest300");
17806 }
17807
17809 void toString(
17810 std::string& dest,
17811 bool skipEmptyFields = false);
17812
17815 std::string toString(
17816 bool skipEmptyFields = false) const;
17817
17820 const void* tail() const
17822 {
17823 return
17824 legs().tail();
17825 }
17826
17835
17836private:
17837 void checkLength(
17838 EncodedLength length, SchemaVersion version) const
17839 {
17840 const EncodedLength minimalRequiredLength =
17841 minimalBlockLength(version) +
17843 getMinimalVariableFieldsSize(version);
17844
17845 checkBinaryLength(
17846 *this, length, minimalRequiredLength);
17847 }
17848
17850 void checkVarLenFields() const
17851 {
17852 groups().
17853 checkTail<Legs>();
17854 }
17855
17856 void checkCompatibility() const
17857 {
17858 assert(TemplateId == templateId());
17859
17860 checkSchema<Schema>(schemaId(), version());
17861 checkLength(bufferSize(), version());
17862 checkVarLenFields();
17863 }
17864
17866 struct LegsAccess
17867 {
17868 Legs
17869 operator()(
17870 const SecurityDefinitionRequest300& obj) const
17872 {
17873 return obj.
17874 groups().
17875 head<Legs>();
17876 }
17877 };
17878
17881 void setLegsToNull()
17883 {
17884 resetGroup<Legs>(LegsAccess(), *this);
17885 }
17886};
17887
17891: SbeMessage
17892{
17895
17898
17900 enum { TemplateId = 301 };
17901
17904
17907 void* data,
17908 EncodedLength length,
17910 : SbeMessage(data, length, version)
17911 {
17913 checkLength(length, version);
17915 reset();
17916 }
17917
17922 void* data,
17923 EncodedLength length,
17926 : SbeMessage(data, length, version)
17927 {
17929 checkLength(length, version);
17932 }
17933
17936 void* data,
17937 EncodedLength length,
17938 NoInit)
17939 : SbeMessage(data, length)
17940 {
17941 checkCompatibility();
17942 }
17943
17945 explicit
17947 const SbeMessage& message)
17948 : SbeMessage(message)
17949 {
17950 assert(message.valid());
17951
17952 checkCompatibility();
17953 }
17954
17958 void* data,
17959 EncodedLength length,
17960 NoInit,
17961 NoCheck)
17963 : SbeMessage(data, length, NoCheck())
17964 {
17965 assert(schemaId() == Schema::Id);
17966 assert(version() >= Schema::MinimalVersion);
17967 assert(TemplateId == templateId());
17968 }
17969
17978
17980
17986 {
17988
17990 }
17991
17999
18004 {
18006
18007 return ordinary<SecurityReqRespID>(offset);
18008 }
18009
18013 {
18015
18016 setOrdinary(offset, value);
18017 return *this;
18018 }
18019
18022 bool
18024 SecurityIDOptional& value) const
18026 {
18028
18029 return ordinary(value, offset, NullSecurityIDOptional());
18030 }
18031
18035 {
18037
18038 setOrdinary(offset, value);
18039 return *this;
18040 }
18041
18044 {
18046
18048 return *this;
18049 }
18050
18059
18061
18068 {
18069 return constructStrRef("BVMF");
18070 }
18071
18077 {
18079
18080 return enumeration<SecurityResponseType>(offset);
18081 }
18082
18084 ThisType&
18088 {
18090
18092 return *this;
18093 }
18094
18098 bool securityStrategyType(StrRef& value) const
18100 {
18103
18104 return fixedStr<length>(value, offset);
18105 }
18106
18111 {
18114
18115 setFixedStr<length>(offset, value);
18116 return *this;
18117 }
18118
18121 {
18124
18125 setFixedStr<length>(offset, StrRef());
18126 return *this;
18127 }
18128
18135 {
18138
18139 return fixedStr<length>(offset);
18140 }
18141
18147 {
18150
18151 setFixedStr<length>(offset, value);
18152 return *this;
18153 }
18154
18164
18168 {
18170
18171 setOrdinary(offset, value);
18172 return *this;
18173 }
18174
18179 {
18182
18183 return fixedStr<length>(offset);
18184 }
18185
18189 {
18192
18193 setFixedStr<length>(offset, value);
18194 return *this;
18195 }
18196
18201 {
18204
18205 return fixedStr<length>(offset);
18206 }
18207
18211 {
18214
18215 setFixedStr<length>(offset, value);
18216 return *this;
18217 }
18218
18222 static
18223 BlockLength
18227 {
18228 return
18229 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
18230 83;
18231 }
18232
18236 static
18237 BlockLength
18241 {
18242 return
18243 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
18245 }
18246
18251 static
18255 {
18256 return
18257 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
18258 0;
18259 }
18260
18265 static UInt64 getMaxMessageSize(UInt8)
18267 {
18268 return
18269 static_cast<UInt64>(MessageHeaderBuilder::Size) +
18271 }
18272
18276 {
18277 return *this;
18278 }
18279
18283 {
18284 businessHeader().setSendingTimeToNull();
18285 businessHeader().setMarketSegmentIdToNull();
18288
18290 return *this;
18291 }
18292
18297 static const Char* className()
18298 {
18299 return "SecurityDefinitionResponse301";
18300 }
18301
18308 {
18309 return constructStrRef(
18310 "SecurityDefinitionResponse301");
18311 }
18312
18314 void toString(
18315 std::string& dest,
18316 bool skipEmptyFields = false);
18317
18320 std::string toString(
18321 bool skipEmptyFields = false) const;
18322
18325 const void* tail() const
18327 {
18328 return
18329 toOpaquePtr(
18330 advanceByBytes(
18331 binary(),
18332 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
18334 }
18335
18344
18345private:
18346 void checkLength(
18347 EncodedLength length, SchemaVersion version) const
18348 {
18349 const EncodedLength minimalRequiredLength =
18350 minimalBlockLength(version) +
18352 getMinimalVariableFieldsSize(version);
18353
18354 checkBinaryLength(
18355 *this, length, minimalRequiredLength);
18356 }
18357
18358 void checkCompatibility() const
18359 {
18360 assert(TemplateId == templateId());
18361
18362 checkSchema<Schema>(schemaId(), version());
18363 checkLength(bufferSize(), version());
18364 }
18365};
18366
18370: SbeMessage
18371{
18374
18377
18379 enum { TemplateId = 401 };
18380
18385 <
18387 >
18388 {
18390 typedef
18392 <
18394 >
18396
18399
18403 void* data,
18404 EncodedLength length,
18406 : Base(data, numericCast<Base::BlockLength>(length), version)
18407 {
18409 assert(length >= minimalBlockLength(version));
18410 }
18411
18415 {
18416 return *this;
18417 }
18418
18422 {
18424
18425 if (version() >= 5)
18426 {
18428 }
18429
18431 return *this;
18432 }
18433
18435 void
18436 toString(
18437 std::string& dest,
18438 bool skipEmptyFields = false);
18439
18442 std::string
18443 toString(
18444 bool skipEmptyFields = false) const;
18445
18446
18451 {
18453
18454 return enumeration<Side>(offset);
18455 }
18456
18460 {
18462
18463 setEnumeration<Side>(offset, value);
18464 return *this;
18465 }
18466
18469 bool account(AccountOptional& value) const
18471 {
18473
18474 return ordinary(value, offset, NullAccountOptional());
18475 }
18476
18480 {
18482
18483 setOrdinary(offset, value);
18484 return *this;
18485 }
18486
18489 {
18491
18493 return *this;
18494 }
18495
18500 {
18503
18504 return ordinary(value, offset, NullAccountOptional(), since);
18505 }
18506
18509 {
18512
18513 setOrdinary(offset, value, since);
18514 return *this;
18515 }
18516
18518 {
18521
18522 setOrdinary(offset, NullAccountOptional(), since);
18523 return *this;
18524 }
18525
18532 {
18533 return
18534 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
18536 }
18537
18544 {
18545 return
18546 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
18547 (version >= 5)
18548 ? 9
18549 : 5;
18550 }
18551
18556 static const Char* className()
18557 {
18558 return "QuoteRequest401.SidesEntry";
18559 }
18560 };
18561
18563 typedef
18566
18569
18572 void* data,
18573 EncodedLength length,
18575 : SbeMessage(data, length, version)
18576 {
18578 checkLength(length, version);
18580 reset();
18581 }
18582
18587 void* data,
18588 EncodedLength length,
18591 : SbeMessage(data, length, version)
18592 {
18594 checkLength(length, version);
18597 }
18598
18601 void* data,
18602 EncodedLength length,
18603 NoInit)
18604 : SbeMessage(data, length)
18605 {
18606 checkCompatibility();
18607 }
18608
18610 explicit
18612 const SbeMessage& message)
18613 : SbeMessage(message)
18614 {
18615 assert(message.valid());
18616
18617 checkCompatibility();
18618 }
18619
18623 void* data,
18624 EncodedLength length,
18625 NoInit,
18626 NoCheck)
18628 : SbeMessage(data, length, NoCheck())
18629 {
18630 assert(schemaId() == Schema::Id);
18631 assert(version() >= Schema::MinimalVersion);
18632 assert(TemplateId == templateId());
18633 }
18634
18643
18645
18651 {
18653
18655 }
18656
18665
18670 {
18672
18673 return ordinary<SecurityID>(offset);
18674 }
18675
18679 {
18681
18682 setOrdinary(offset, value);
18683 return *this;
18684 }
18685
18694
18696
18703 {
18704 return constructStrRef("BVMF");
18705 }
18706
18711 {
18713
18714 return ordinary<QuoteReqID>(offset);
18715 }
18716
18720 {
18722
18723 setOrdinary(offset, value);
18724 return *this;
18725 }
18726
18729 bool quoteId(QuoteIDOptional& value) const
18731 {
18733
18734 return ordinary(value, offset, NullQuoteIDOptional());
18735 }
18736
18740 {
18742
18743 setOrdinary(offset, value);
18744 return *this;
18745 }
18746
18749 {
18751
18753 return *this;
18754 }
18755
18759 bool tradeId(TradeIDOptional& value) const
18761 {
18763
18764 return ordinary(value, offset, NullTradeIDOptional());
18765 }
18766
18771 {
18773
18774 setOrdinary(offset, value);
18775 return *this;
18776 }
18777
18780 {
18782
18784 return *this;
18785 }
18786
18792 {
18794
18795 return ordinary<Firm>(offset);
18796 }
18797
18802 {
18804
18805 setOrdinary(offset, value);
18806 return *this;
18807 }
18808
18813 {
18815
18816 return ordinary<UTCTimestampNanos>(offset);
18817 }
18818
18822 {
18824
18825 setOrdinary(offset, value);
18826 return *this;
18827 }
18828
18834 {
18836
18837 return decimal<Price8>(offset);
18838 }
18839
18844 {
18846
18847 setOrdinary(offset, value);
18848 return *this;
18849 }
18850
18856 {
18858
18859 return enumeration<SettlType>(offset);
18860 }
18861
18866 {
18868
18869 setEnumeration<SettlType>(offset, value);
18870 return *this;
18871 }
18872
18877 bool
18879 ExecuteUnderlyingTrade::Enum& value) const
18881 {
18883
18884 return enumeration<ExecuteUnderlyingTrade>(value, offset, NullChar());
18885 }
18886
18890 ThisType&
18894 {
18896
18898 return *this;
18899 }
18900
18903 {
18905
18906 setOrdinary(offset, NullChar());
18907 return *this;
18908 }
18909
18914 {
18916
18917 return ordinary<Quantity>(offset);
18918 }
18919
18923 {
18925
18926 setOrdinary(offset, value);
18927 return *this;
18928 }
18929
18934 {
18937
18938 return fixedStr<length>(offset);
18939 }
18940
18944 {
18947
18948 setFixedStr<length>(offset, value);
18949 return *this;
18950 }
18951
18956 {
18959
18960 return fixedStr<length>(offset);
18961 }
18962
18966 {
18969
18970 setFixedStr<length>(offset, value);
18971 return *this;
18972 }
18973
18978 {
18981
18982 return fixedStr<length>(offset);
18983 }
18984
18988 {
18991
18992 setFixedStr<length>(offset, value);
18993 return *this;
18994 }
18995
19004 {
19006
19007 return decimal<Percentage8>(offset);
19008 }
19009
19017 {
19019
19020 setOrdinary(offset, value);
19021 return *this;
19022 }
19023
19031 {
19032 return Boolean::TrueValue;
19033 }
19034
19038
19045 {
19047
19048 return ordinary<DaysToSettlement>(offset);
19049 }
19050
19056 {
19058
19059 setOrdinary(offset, value);
19060 return *this;
19061 }
19062
19065 Sides sides() const
19067 {
19068 return getGroup<Sides>(SidesAccess(), *this);
19069 }
19070
19075 {
19076 return getGroup<Sides>(SidesAccess(), *this);
19077 }
19078
19083 {
19084 return constructGroup<Sides>(
19085 SidesAccess(),
19086 length,
19087 *this);
19088 }
19089
19092 Sides
19094 Sides::Size length,
19096 {
19097 return setupGroup<Sides>(
19098 SidesAccess(),
19099 length,
19100 *this);
19101 }
19102
19107 {
19108 return getVariableLengthField(deskIDAccess(), *this);
19109 }
19110
19113 StrRef memo() const
19115 {
19116 return getVariableLengthField(memoAccess(), *this);
19117 }
19118
19121 {
19123 deskIDAccess(),
19124 value,
19125 *this);
19126
19127 return *this;
19128 }
19129
19132 {
19134 memoAccess(),
19135 value,
19136 *this);
19137
19138 return *this;
19139 }
19140
19144 static
19145 BlockLength
19149 {
19150 return
19151 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
19152 108;
19153 }
19154
19160 {
19161 return
19162 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
19164 }
19165
19170 static
19174 {
19175 return
19176 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
19177 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size) + static_cast<MessageSize>(Sides::EmptySize);
19178 }
19179
19184 static UInt64 getMaxMessageSize(UInt8)
19186 {
19187 return
19189 }
19190
19194 {
19195 setSidesToNull();
19196 setDeskIdToNull();
19197 setMemoToNull();
19198 return *this;
19199 }
19200
19204 {
19205 businessHeader().setSendingTimeToNull();
19206 businessHeader().setMarketSegmentIdToNull();
19210
19212 return *this;
19213 }
19214
19219 static const Char* className()
19220 {
19221 return "QuoteRequest401";
19222 }
19223
19230 {
19231 return constructStrRef("QuoteRequest401");
19232 }
19233
19235 void toString(
19236 std::string& dest,
19237 bool skipEmptyFields = false);
19238
19241 std::string toString(
19242 bool skipEmptyFields = false) const;
19243
19246 const void* tail() const
19248 {
19249 return
19250 toOpaquePtr(
19251 (memo().end()));
19252 }
19253
19262
19263private:
19264 void checkLength(
19265 EncodedLength length, SchemaVersion version) const
19266 {
19267 const EncodedLength minimalRequiredLength =
19268 minimalBlockLength(version) +
19270 getMinimalVariableFieldsSize(version);
19271
19272 checkBinaryLength(
19273 *this, length, minimalRequiredLength);
19274 }
19275
19277 void checkVarLenFields() const
19278 {
19279 groups().
19280 checkVariableLengthFields<Sides>().
19281 checkTail<DeskIDEncoding>().
19282 checkTail<MemoEncoding>();
19283 }
19284
19285 void checkCompatibility() const
19286 {
19287 assert(TemplateId == templateId());
19288
19289 checkSchema<Schema>(schemaId(), version());
19290 checkLength(bufferSize(), version());
19291 checkVarLenFields();
19292 }
19293
19295 struct SidesAccess
19296 {
19297 Sides
19298 operator()(
19299 const QuoteRequest401& obj) const
19301 {
19302 return obj.
19303 groups().
19304 head<Sides>();
19305 }
19306 };
19307
19310 void setSidesToNull()
19312 {
19313 resetGroup<Sides>(SidesAccess(), *this);
19314 }
19315
19317 struct deskIDAccess
19318 {
19319 DeskIDEncoding&
19320 operator()(
19321 const QuoteRequest401& obj) const
19323 {
19324 return obj.
19325 groups().
19326 variableLengthFields<Sides>().
19327 head<DeskIDEncoding>();
19328 }
19329 };
19330
19332 struct memoAccess
19333 {
19334 MemoEncoding&
19335 operator()(
19336 const QuoteRequest401& obj) const
19338 {
19339 return obj.
19340 groups().
19341 variableLengthFields<Sides>().
19342 tail<DeskIDEncoding>().
19343 head<MemoEncoding>();
19344 }
19345 };
19346
19349 ThisType& setDeskIdToNull()
19351 {
19352 setVariableLengthFieldToNull(deskIDAccess(), *this);
19353
19354 return *this;
19355 }
19356
19359 ThisType& setMemoToNull()
19361 {
19362 setVariableLengthFieldToNull(memoAccess(), *this);
19363
19364 return *this;
19365 }
19366};
19367
19371: SbeMessage
19372{
19375
19378
19380 enum { TemplateId = 402 };
19381
19384
19387 void* data,
19388 EncodedLength length,
19390 : SbeMessage(data, length, version)
19391 {
19393 checkLength(length, version);
19395 reset();
19396 }
19397
19402 void* data,
19403 EncodedLength length,
19406 : SbeMessage(data, length, version)
19407 {
19409 checkLength(length, version);
19412 }
19413
19416 void* data,
19417 EncodedLength length,
19418 NoInit)
19419 : SbeMessage(data, length)
19420 {
19421 checkCompatibility();
19422 }
19423
19425 explicit
19427 const SbeMessage& message)
19428 : SbeMessage(message)
19429 {
19430 assert(message.valid());
19431
19432 checkCompatibility();
19433 }
19434
19438 void* data,
19439 EncodedLength length,
19440 NoInit,
19441 NoCheck)
19443 : SbeMessage(data, length, NoCheck())
19444 {
19445 assert(schemaId() == Schema::Id);
19446 assert(version() >= Schema::MinimalVersion);
19447 assert(TemplateId == templateId());
19448 }
19449
19458
19460
19466 {
19468
19470 }
19471
19480
19485 {
19487
19488 return ordinary(value, offset, NullRejReasonOptional());
19489 }
19490
19494 {
19496
19497 setOrdinary(offset, value);
19498 return *this;
19499 }
19500
19503 {
19505
19507 return *this;
19508 }
19509
19514 {
19516
19517 return ordinary<SecurityID>(offset);
19518 }
19519
19523 {
19525
19526 setOrdinary(offset, value);
19527 return *this;
19528 }
19529
19538
19540
19547 {
19548 return constructStrRef("BVMF");
19549 }
19550
19555 {
19557
19558 return ordinary<QuoteReqID>(offset);
19559 }
19560
19564 {
19566
19567 setOrdinary(offset, value);
19568 return *this;
19569 }
19570
19575 {
19577
19578 return ordinary<QuoteID>(offset);
19579 }
19580
19584 {
19586
19587 setOrdinary(offset, value);
19588 return *this;
19589 }
19590
19594 bool tradeId(TradeIDOptional& value) const
19596 {
19598
19599 return ordinary(value, offset, NullTradeIDOptional());
19600 }
19601
19606 {
19608
19609 setOrdinary(offset, value);
19610 return *this;
19611 }
19612
19615 {
19617
19619 return *this;
19620 }
19621
19627 {
19629
19630 return ordinary<Firm>(offset);
19631 }
19632
19637 {
19639
19640 setOrdinary(offset, value);
19641 return *this;
19642 }
19643
19648 {
19650
19651 return ordinary<UTCTimestampNanos>(offset);
19652 }
19653
19657 {
19659
19660 setOrdinary(offset, value);
19661 return *this;
19662 }
19663
19668 {
19670
19671 return enumeration<QuoteStatus>(offset);
19672 }
19673
19677 {
19679
19680 setEnumeration<QuoteStatus>(offset, value);
19681 return *this;
19682 }
19683
19687 bool
19689 QuoteStatusResponseTo::Enum& value) const
19691 {
19693
19694 return enumeration<QuoteStatusResponseTo>(value, offset, NullChar());
19695 }
19696
19699 ThisType&
19703 {
19705
19707 return *this;
19708 }
19709
19712 {
19714
19715 setOrdinary(offset, NullChar());
19716 return *this;
19717 }
19718
19721 bool account(AccountOptional& value) const
19723 {
19725
19726 return ordinary(value, offset, NullAccountOptional());
19727 }
19728
19732 {
19734
19735 setOrdinary(offset, value);
19736 return *this;
19737 }
19738
19741 {
19743
19745 return *this;
19746 }
19747
19750 bool side(Side::Enum& value) const
19752 {
19754
19755 return enumeration<Side>(value, offset, NullChar());
19756 }
19757
19761 {
19763
19764 setEnumeration<Side>(offset, value);
19765 return *this;
19766 }
19767
19770 {
19772
19773 setOrdinary(offset, NullChar());
19774 return *this;
19775 }
19776
19780 bool settlType(SettlType::Enum& value) const
19782 {
19784
19785 return enumeration<SettlType>(value, offset, NullChar());
19786 }
19787
19792 {
19794
19795 setEnumeration<SettlType>(offset, value);
19796 return *this;
19797 }
19798
19801 {
19803
19804 setOrdinary(offset, NullChar());
19805 return *this;
19806 }
19807
19811 bool price(Price8Optional& value) const
19813 {
19815
19816 return decimal(value, offset, NullPrice8Optional());
19817 }
19818
19823 {
19825
19826 setOrdinary(offset, value);
19827 return *this;
19828 }
19829
19832 {
19834
19836 return *this;
19837 }
19838
19843 {
19845
19846 return ordinary<Quantity>(offset);
19847 }
19848
19852 {
19854
19855 setOrdinary(offset, value);
19856 return *this;
19857 }
19858
19863 {
19866
19867 return fixedStr<length>(offset);
19868 }
19869
19873 {
19876
19877 setFixedStr<length>(offset, value);
19878 return *this;
19879 }
19880
19885 {
19888
19889 return fixedStr<length>(offset);
19890 }
19891
19895 {
19898
19899 setFixedStr<length>(offset, value);
19900 return *this;
19901 }
19902
19907 {
19910
19911 return fixedStr<length>(offset);
19912 }
19913
19917 {
19920
19921 setFixedStr<length>(offset, value);
19922 return *this;
19923 }
19924
19927 bool
19929 Percentage8Optional& value) const
19931 {
19933
19934 return decimal(value, offset, NullPercentage8Optional());
19935 }
19936
19938 ThisType&
19940 Percentage8Optional value)
19942 {
19944
19945 setOrdinary(offset, value);
19946 return *this;
19947 }
19948
19951 {
19953
19955 return *this;
19956 }
19957
19962 bool
19964 ExecuteUnderlyingTrade::Enum& value) const
19966 {
19968
19969 return enumeration<ExecuteUnderlyingTrade>(value, offset, NullChar());
19970 }
19971
19975 ThisType&
19979 {
19981
19983 return *this;
19984 }
19985
19988 {
19990
19991 setOrdinary(offset, NullChar());
19992 return *this;
19993 }
19994
20002 {
20003 return Boolean::TrueValue;
20004 }
20005
20009
20014 bool
20016 DaysToSettlementOptional& value) const
20018 {
20020
20021 return ordinary(value, offset, NullDaysToSettlementOptional());
20022 }
20023
20027 ThisType&
20031 {
20033
20034 setOrdinary(offset, value);
20035 return *this;
20036 }
20037
20040 {
20042
20044 return *this;
20045 }
20046
20051 {
20054
20055 return ordinary(value, offset, NullAccountOptional(), since);
20056 }
20057
20060 {
20063
20064 setOrdinary(offset, value, since);
20065 return *this;
20066 }
20067
20069 {
20072
20073 setOrdinary(offset, NullAccountOptional(), since);
20074 return *this;
20075 }
20076
20081 {
20082 return getVariableLengthField(deskIDAccess(), *this);
20083 }
20084
20087 StrRef memo() const
20089 {
20090 return getVariableLengthField(memoAccess(), *this);
20091 }
20092
20095 StrRef text() const
20097 {
20098 return getVariableLengthField(textAccess(), *this);
20099 }
20100
20103 {
20105 deskIDAccess(),
20106 value,
20107 *this);
20108
20109 return *this;
20110 }
20111
20114 {
20116 memoAccess(),
20117 value,
20118 *this);
20119
20120 return *this;
20121 }
20122
20125 {
20127 textAccess(),
20128 value,
20129 *this);
20130
20131 return *this;
20132 }
20133
20139 {
20140 return
20141 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
20142 (version >= 5)
20143 ? 123
20144 : 119;
20145 }
20146
20152 {
20153 return
20154 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
20156 }
20157
20162 static
20166 {
20167 return
20168 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
20170 }
20171
20176 static UInt64 getMaxMessageSize(UInt8)
20178 {
20179 return
20181 }
20182
20186 {
20187 setDeskIdToNull();
20188 setMemoToNull();
20189 setTextToNull();
20190 return *this;
20191 }
20192
20196 {
20197 businessHeader().setSendingTimeToNull();
20198 businessHeader().setMarketSegmentIdToNull();
20203 setSideToNull();
20209
20210 if (version() >= 5)
20211 {
20213 }
20214
20216 return *this;
20217 }
20218
20223 static const Char* className()
20224 {
20225 return "QuoteStatusReport402";
20226 }
20227
20234 {
20235 return constructStrRef("QuoteStatusReport402");
20236 }
20237
20239 void toString(
20240 std::string& dest,
20241 bool skipEmptyFields = false);
20242
20245 std::string toString(
20246 bool skipEmptyFields = false) const;
20247
20250 const void* tail() const
20252 {
20253 return
20254 toOpaquePtr(
20255 (text().end()));
20256 }
20257
20266
20267private:
20268 void checkLength(
20269 EncodedLength length, SchemaVersion version) const
20270 {
20271 const EncodedLength minimalRequiredLength =
20272 minimalBlockLength(version) +
20274 getMinimalVariableFieldsSize(version);
20275
20276 checkBinaryLength(
20277 *this, length, minimalRequiredLength);
20278 }
20279
20281 void checkVarLenFields() const
20282 {
20283 variableLengthFields().
20284 checkTail<DeskIDEncoding>().
20285 checkTail<MemoEncoding>().
20286 checkTail<TextEncoding>();
20287 }
20288
20289 void checkCompatibility() const
20290 {
20291 assert(TemplateId == templateId());
20292
20293 checkSchema<Schema>(schemaId(), version());
20294 checkLength(bufferSize(), version());
20295 checkVarLenFields();
20296 }
20297
20299 struct deskIDAccess
20300 {
20301 DeskIDEncoding&
20302 operator()(
20303 const QuoteStatusReport402& obj) const
20305 {
20306 return obj.
20307 variableLengthFields().
20308 head<DeskIDEncoding>();
20309 }
20310 };
20311
20313 struct memoAccess
20314 {
20315 MemoEncoding&
20316 operator()(
20317 const QuoteStatusReport402& obj) const
20319 {
20320 return obj.
20321 variableLengthFields().
20322 tail<DeskIDEncoding>().
20323 head<MemoEncoding>();
20324 }
20325 };
20326
20328 struct textAccess
20329 {
20330 TextEncoding&
20331 operator()(
20332 const QuoteStatusReport402& obj) const
20334 {
20335 return obj.
20336 variableLengthFields().
20337 tail<DeskIDEncoding>().
20338 tail<MemoEncoding>().
20339 head<TextEncoding>();
20340 }
20341 };
20342
20345 ThisType& setDeskIdToNull()
20347 {
20348 setVariableLengthFieldToNull(deskIDAccess(), *this);
20349
20350 return *this;
20351 }
20352
20355 ThisType& setMemoToNull()
20357 {
20358 setVariableLengthFieldToNull(memoAccess(), *this);
20359
20360 return *this;
20361 }
20362
20365 ThisType& setTextToNull()
20367 {
20368 setVariableLengthFieldToNull(textAccess(), *this);
20369
20370 return *this;
20371 }
20372};
20373
20377: SbeMessage
20378{
20381
20384
20386 enum { TemplateId = 403 };
20387
20390
20393 void* data,
20394 EncodedLength length,
20396 : SbeMessage(data, length, version)
20397 {
20399 checkLength(length, version);
20401 reset();
20402 }
20403
20408 void* data,
20409 EncodedLength length,
20412 : SbeMessage(data, length, version)
20413 {
20415 checkLength(length, version);
20418 }
20419
20422 void* data,
20423 EncodedLength length,
20424 NoInit)
20425 : SbeMessage(data, length)
20426 {
20427 checkCompatibility();
20428 }
20429
20431 explicit
20433 const SbeMessage& message)
20434 : SbeMessage(message)
20435 {
20436 assert(message.valid());
20437
20438 checkCompatibility();
20439 }
20440
20444 void* data,
20445 EncodedLength length,
20446 NoInit,
20447 NoCheck)
20449 : SbeMessage(data, length, NoCheck())
20450 {
20451 assert(schemaId() == Schema::Id);
20452 assert(version() >= Schema::MinimalVersion);
20453 assert(TemplateId == templateId());
20454 }
20455
20461 {
20462 return MessageType::Quote;
20463 }
20464
20466
20472 {
20474
20476 }
20477
20486
20491 {
20493
20494 return ordinary<SecurityID>(offset);
20495 }
20496
20500 {
20502
20503 setOrdinary(offset, value);
20504 return *this;
20505 }
20506
20515
20517
20524 {
20525 return constructStrRef("BVMF");
20526 }
20527
20532 {
20534
20535 return ordinary<QuoteReqID>(offset);
20536 }
20537
20541 {
20543
20544 setOrdinary(offset, value);
20545 return *this;
20546 }
20547
20552 {
20554
20555 return ordinary<QuoteID>(offset);
20556 }
20557
20561 {
20563
20564 setOrdinary(offset, value);
20565 return *this;
20566 }
20567
20572 {
20574
20575 return ordinary<UTCTimestampNanos>(offset);
20576 }
20577
20581 {
20583
20584 setOrdinary(offset, value);
20585 return *this;
20586 }
20587
20591 bool price(Price8Optional& value) const
20593 {
20595
20596 return decimal(value, offset, NullPrice8Optional());
20597 }
20598
20603 {
20605
20606 setOrdinary(offset, value);
20607 return *this;
20608 }
20609
20612 {
20614
20616 return *this;
20617 }
20618
20623 {
20625
20626 return ordinary<Quantity>(offset);
20627 }
20628
20632 {
20634
20635 setOrdinary(offset, value);
20636 return *this;
20637 }
20638
20643 {
20645
20646 return enumeration<Side>(offset);
20647 }
20648
20652 {
20654
20655 setEnumeration<Side>(offset, value);
20656 return *this;
20657 }
20658
20664 {
20666
20667 return enumeration<SettlType>(offset);
20668 }
20669
20674 {
20676
20677 setEnumeration<SettlType>(offset, value);
20678 return *this;
20679 }
20680
20683 bool account(AccountOptional& value) const
20685 {
20687
20688 return ordinary(value, offset, NullAccountOptional());
20689 }
20690
20694 {
20696
20697 setOrdinary(offset, value);
20698 return *this;
20699 }
20700
20703 {
20705
20707 return *this;
20708 }
20709
20714 {
20717
20718 return fixedStr<length>(offset);
20719 }
20720
20724 {
20727
20728 setFixedStr<length>(offset, value);
20729 return *this;
20730 }
20731
20736 {
20739
20740 return fixedStr<length>(offset);
20741 }
20742
20746 {
20749
20750 setFixedStr<length>(offset, value);
20751 return *this;
20752 }
20753
20758 {
20761
20762 return fixedStr<length>(offset);
20763 }
20764
20768 {
20771
20772 setFixedStr<length>(offset, value);
20773 return *this;
20774 }
20775
20780 {
20782
20783 return decimal<Percentage8>(offset);
20784 }
20785
20789 {
20791
20792 setOrdinary(offset, value);
20793 return *this;
20794 }
20795
20800 bool
20802 ExecuteUnderlyingTrade::Enum& value) const
20804 {
20806
20807 return enumeration<ExecuteUnderlyingTrade>(value, offset, NullChar());
20808 }
20809
20813 ThisType&
20817 {
20819
20821 return *this;
20822 }
20823
20826 {
20828
20829 setOrdinary(offset, NullChar());
20830 return *this;
20831 }
20832
20840 {
20841 return Boolean::TrueValue;
20842 }
20843
20847
20854 {
20856
20857 return ordinary<DaysToSettlement>(offset);
20858 }
20859
20865 {
20867
20868 setOrdinary(offset, value);
20869 return *this;
20870 }
20871
20876 {
20879
20880 return ordinary(value, offset, NullAccountOptional(), since);
20881 }
20882
20885 {
20888
20889 setOrdinary(offset, value, since);
20890 return *this;
20891 }
20892
20894 {
20897
20898 setOrdinary(offset, NullAccountOptional(), since);
20899 return *this;
20900 }
20901
20906 {
20907 return getVariableLengthField(deskIDAccess(), *this);
20908 }
20909
20912 StrRef memo() const
20914 {
20915 return getVariableLengthField(memoAccess(), *this);
20916 }
20917
20920 {
20922 deskIDAccess(),
20923 value,
20924 *this);
20925
20926 return *this;
20927 }
20928
20931 {
20933 memoAccess(),
20934 value,
20935 *this);
20936
20937 return *this;
20938 }
20939
20945 {
20946 return
20947 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
20948 (version >= 5)
20949 ? 109
20950 : 105;
20951 }
20952
20958 {
20959 return
20960 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
20962 }
20963
20968 static
20972 {
20973 return
20974 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
20975 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
20976 }
20977
20982 static UInt64 getMaxMessageSize(UInt8)
20984 {
20985 return
20987 }
20988
20992 {
20993 setDeskIdToNull();
20994 setMemoToNull();
20995 return *this;
20996 }
20997
21001 {
21002 businessHeader().setSendingTimeToNull();
21003 businessHeader().setMarketSegmentIdToNull();
21007
21008 if (version() >= 5)
21009 {
21011 }
21012
21014 return *this;
21015 }
21016
21021 static const Char* className()
21022 {
21023 return "Quote403";
21024 }
21025
21032 {
21033 return constructStrRef("Quote403");
21034 }
21035
21037 void toString(
21038 std::string& dest,
21039 bool skipEmptyFields = false);
21040
21043 std::string toString(
21044 bool skipEmptyFields = false) const;
21045
21048 const void* tail() const
21050 {
21051 return
21052 toOpaquePtr(
21053 (memo().end()));
21054 }
21055
21064
21065private:
21066 void checkLength(
21067 EncodedLength length, SchemaVersion version) const
21068 {
21069 const EncodedLength minimalRequiredLength =
21070 minimalBlockLength(version) +
21072 getMinimalVariableFieldsSize(version);
21073
21074 checkBinaryLength(
21075 *this, length, minimalRequiredLength);
21076 }
21077
21079 void checkVarLenFields() const
21080 {
21081 variableLengthFields().
21082 checkTail<DeskIDEncoding>().
21083 checkTail<MemoEncoding>();
21084 }
21085
21086 void checkCompatibility() const
21087 {
21088 assert(TemplateId == templateId());
21089
21090 checkSchema<Schema>(schemaId(), version());
21091 checkLength(bufferSize(), version());
21092 checkVarLenFields();
21093 }
21094
21096 struct deskIDAccess
21097 {
21098 DeskIDEncoding& operator()(const Quote403& obj) const
21100 {
21101 return obj.
21102 variableLengthFields().
21103 head<DeskIDEncoding>();
21104 }
21105 };
21106
21108 struct memoAccess
21109 {
21110 MemoEncoding& operator()(const Quote403& obj) const
21112 {
21113 return obj.
21114 variableLengthFields().
21115 tail<DeskIDEncoding>().
21116 head<MemoEncoding>();
21117 }
21118 };
21119
21122 ThisType& setDeskIdToNull()
21124 {
21125 setVariableLengthFieldToNull(deskIDAccess(), *this);
21126
21127 return *this;
21128 }
21129
21132 ThisType& setMemoToNull()
21134 {
21135 setVariableLengthFieldToNull(memoAccess(), *this);
21136
21137 return *this;
21138 }
21139};
21140
21144: SbeMessage
21145{
21148
21151
21153 enum { TemplateId = 404 };
21154
21157
21160 void* data,
21161 EncodedLength length,
21163 : SbeMessage(data, length, version)
21164 {
21166 checkLength(length, version);
21168 reset();
21169 }
21170
21175 void* data,
21176 EncodedLength length,
21179 : SbeMessage(data, length, version)
21180 {
21182 checkLength(length, version);
21185 }
21186
21189 void* data,
21190 EncodedLength length,
21191 NoInit)
21192 : SbeMessage(data, length)
21193 {
21194 checkCompatibility();
21195 }
21196
21198 explicit
21200 const SbeMessage& message)
21201 : SbeMessage(message)
21202 {
21203 assert(message.valid());
21204
21205 checkCompatibility();
21206 }
21207
21211 void* data,
21212 EncodedLength length,
21213 NoInit,
21214 NoCheck)
21216 : SbeMessage(data, length, NoCheck())
21217 {
21218 assert(schemaId() == Schema::Id);
21219 assert(version() >= Schema::MinimalVersion);
21220 assert(TemplateId == templateId());
21221 }
21222
21231
21233
21239 {
21241
21243 }
21244
21253
21258 {
21260
21261 return ordinary<SecurityID>(offset);
21262 }
21263
21267 {
21269
21270 setOrdinary(offset, value);
21271 return *this;
21272 }
21273
21282
21284
21291 {
21292 return constructStrRef("BVMF");
21293 }
21294
21297 bool
21299 QuoteReqIDOptional& value) const
21301 {
21303
21304 return ordinary(value, offset, NullQuoteReqIDOptional());
21305 }
21306
21310 {
21312
21313 setOrdinary(offset, value);
21314 return *this;
21315 }
21316
21319 {
21321
21323 return *this;
21324 }
21325
21328 bool quoteId(QuoteIDOptional& value) const
21330 {
21332
21333 return ordinary(value, offset, NullQuoteIDOptional());
21334 }
21335
21339 {
21341
21342 setOrdinary(offset, value);
21343 return *this;
21344 }
21345
21348 {
21350
21352 return *this;
21353 }
21354
21363
21365
21368 bool account(AccountOptional& value) const
21370 {
21372
21373 return ordinary(value, offset, NullAccountOptional());
21374 }
21375
21379 {
21381
21382 setOrdinary(offset, value);
21383 return *this;
21384 }
21385
21388 {
21390
21392 return *this;
21393 }
21394
21399 {
21402
21403 return fixedStr<length>(offset);
21404 }
21405
21409 {
21412
21413 setFixedStr<length>(offset, value);
21414 return *this;
21415 }
21416
21421 {
21424
21425 return fixedStr<length>(offset);
21426 }
21427
21431 {
21434
21435 setFixedStr<length>(offset, value);
21436 return *this;
21437 }
21438
21443 {
21446
21447 return fixedStr<length>(offset);
21448 }
21449
21453 {
21456
21457 setFixedStr<length>(offset, value);
21458 return *this;
21459 }
21460
21468 {
21469 return Boolean::TrueValue;
21470 }
21471
21475
21480 {
21481 return getVariableLengthField(deskIDAccess(), *this);
21482 }
21483
21486 StrRef memo() const
21488 {
21489 return getVariableLengthField(memoAccess(), *this);
21490 }
21491
21494 {
21496 deskIDAccess(),
21497 value,
21498 *this);
21499
21500 return *this;
21501 }
21502
21505 {
21507 memoAccess(),
21508 value,
21509 *this);
21510
21511 return *this;
21512 }
21513
21517 static
21518 BlockLength
21522 {
21523 return
21524 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
21525 68;
21526 }
21527
21533 {
21534 return
21535 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
21537 }
21538
21543 static
21547 {
21548 return
21549 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
21550 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
21551 }
21552
21557 static UInt64 getMaxMessageSize(UInt8)
21559 {
21560 return
21562 }
21563
21567 {
21568 setDeskIdToNull();
21569 setMemoToNull();
21570 return *this;
21571 }
21572
21576 {
21577 businessHeader().setSendingTimeToNull();
21578 businessHeader().setMarketSegmentIdToNull();
21582
21584 return *this;
21585 }
21586
21591 static const Char* className()
21592 {
21593 return "QuoteCancel404";
21594 }
21595
21602 {
21603 return constructStrRef("QuoteCancel404");
21604 }
21605
21607 void toString(
21608 std::string& dest,
21609 bool skipEmptyFields = false);
21610
21613 std::string toString(
21614 bool skipEmptyFields = false) const;
21615
21618 const void* tail() const
21620 {
21621 return
21622 toOpaquePtr(
21623 (memo().end()));
21624 }
21625
21634
21635private:
21636 void checkLength(
21637 EncodedLength length, SchemaVersion version) const
21638 {
21639 const EncodedLength minimalRequiredLength =
21640 minimalBlockLength(version) +
21642 getMinimalVariableFieldsSize(version);
21643
21644 checkBinaryLength(
21645 *this, length, minimalRequiredLength);
21646 }
21647
21649 void checkVarLenFields() const
21650 {
21651 variableLengthFields().
21652 checkTail<DeskIDEncoding>().
21653 checkTail<MemoEncoding>();
21654 }
21655
21656 void checkCompatibility() const
21657 {
21658 assert(TemplateId == templateId());
21659
21660 checkSchema<Schema>(schemaId(), version());
21661 checkLength(bufferSize(), version());
21662 checkVarLenFields();
21663 }
21664
21666 struct deskIDAccess
21667 {
21668 DeskIDEncoding&
21669 operator()(
21670 const QuoteCancel404& obj) const
21672 {
21673 return obj.
21674 variableLengthFields().
21675 head<DeskIDEncoding>();
21676 }
21677 };
21678
21680 struct memoAccess
21681 {
21682 MemoEncoding&
21683 operator()(
21684 const QuoteCancel404& obj) const
21686 {
21687 return obj.
21688 variableLengthFields().
21689 tail<DeskIDEncoding>().
21690 head<MemoEncoding>();
21691 }
21692 };
21693
21696 ThisType& setDeskIdToNull()
21698 {
21699 setVariableLengthFieldToNull(deskIDAccess(), *this);
21700
21701 return *this;
21702 }
21703
21706 ThisType& setMemoToNull()
21708 {
21709 setVariableLengthFieldToNull(memoAccess(), *this);
21710
21711 return *this;
21712 }
21713};
21714
21718: SbeMessage
21719{
21722
21725
21727 enum { TemplateId = 405 };
21728
21733 <
21735 >
21736 {
21738 typedef
21740 <
21742 >
21744
21747
21751 void* data,
21752 EncodedLength length,
21754 : Base(data, numericCast<Base::BlockLength>(length), version)
21755 {
21757 assert(length >= minimalBlockLength(version));
21758 }
21759
21763 {
21764 return *this;
21765 }
21766
21770 {
21772
21773 if (version() >= 5)
21774 {
21776 }
21777
21779 return *this;
21780 }
21781
21783 void
21784 toString(
21785 std::string& dest,
21786 bool skipEmptyFields = false);
21787
21790 std::string
21791 toString(
21792 bool skipEmptyFields = false) const;
21793
21794
21799 {
21801
21802 return enumeration<Side>(offset);
21803 }
21804
21808 {
21810
21811 setEnumeration<Side>(offset, value);
21812 return *this;
21813 }
21814
21817 bool account(AccountOptional& value) const
21819 {
21821
21822 return ordinary(value, offset, NullAccountOptional());
21823 }
21824
21828 {
21830
21831 setOrdinary(offset, value);
21832 return *this;
21833 }
21834
21837 {
21839
21841 return *this;
21842 }
21843
21848 {
21851
21852 return ordinary(value, offset, NullAccountOptional(), since);
21853 }
21854
21857 {
21860
21861 setOrdinary(offset, value, since);
21862 return *this;
21863 }
21864
21866 {
21869
21870 setOrdinary(offset, NullAccountOptional(), since);
21871 return *this;
21872 }
21873
21880 {
21881 return
21882 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
21884 }
21885
21892 {
21893 return
21894 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
21895 (version >= 5)
21896 ? 9
21897 : 5;
21898 }
21899
21904 static const Char* className()
21905 {
21906 return "QuoteRequestReject405.SidesEntry";
21907 }
21908 };
21909
21911 typedef
21914
21917
21920 void* data,
21921 EncodedLength length,
21923 : SbeMessage(data, length, version)
21924 {
21926 checkLength(length, version);
21928 reset();
21929 }
21930
21935 void* data,
21936 EncodedLength length,
21939 : SbeMessage(data, length, version)
21940 {
21942 checkLength(length, version);
21945 }
21946
21949 void* data,
21950 EncodedLength length,
21951 NoInit)
21952 : SbeMessage(data, length)
21953 {
21954 checkCompatibility();
21955 }
21956
21958 explicit
21960 const SbeMessage& message)
21961 : SbeMessage(message)
21962 {
21963 assert(message.valid());
21964
21965 checkCompatibility();
21966 }
21967
21971 void* data,
21972 EncodedLength length,
21973 NoInit,
21974 NoCheck)
21976 : SbeMessage(data, length, NoCheck())
21977 {
21978 assert(schemaId() == Schema::Id);
21979 assert(version() >= Schema::MinimalVersion);
21980 assert(TemplateId == templateId());
21981 }
21982
21991
21993
21999 {
22001
22003 }
22004
22013
22018 {
22020
22021 return ordinary(value, offset, NullRejReasonOptional());
22022 }
22023
22027 {
22029
22030 setOrdinary(offset, value);
22031 return *this;
22032 }
22033
22036 {
22038
22040 return *this;
22041 }
22042
22047 {
22049
22050 return ordinary<SecurityID>(offset);
22051 }
22052
22056 {
22058
22059 setOrdinary(offset, value);
22060 return *this;
22061 }
22062
22071
22073
22080 {
22081 return constructStrRef("BVMF");
22082 }
22083
22088 {
22090
22091 return ordinary<QuoteReqID>(offset);
22092 }
22093
22097 {
22099
22100 setOrdinary(offset, value);
22101 return *this;
22102 }
22103
22106 bool quoteId(QuoteIDOptional& value) const
22108 {
22110
22111 return ordinary(value, offset, NullQuoteIDOptional());
22112 }
22113
22117 {
22119
22120 setOrdinary(offset, value);
22121 return *this;
22122 }
22123
22126 {
22128
22130 return *this;
22131 }
22132
22136 bool tradeId(TradeIDOptional& value) const
22138 {
22140
22141 return ordinary(value, offset, NullTradeIDOptional());
22142 }
22143
22148 {
22150
22151 setOrdinary(offset, value);
22152 return *this;
22153 }
22154
22157 {
22159
22161 return *this;
22162 }
22163
22169 {
22171
22172 return ordinary<Firm>(offset);
22173 }
22174
22179 {
22181
22182 setOrdinary(offset, value);
22183 return *this;
22184 }
22185
22190 {
22192
22193 return ordinary<UTCTimestampNanos>(offset);
22194 }
22195
22199 {
22201
22202 setOrdinary(offset, value);
22203 return *this;
22204 }
22205
22210 {
22213
22214 return fixedStr<length>(offset);
22215 }
22216
22220 {
22223
22224 setFixedStr<length>(offset, value);
22225 return *this;
22226 }
22227
22231 bool settlType(SettlType::Enum& value) const
22233 {
22235
22236 return enumeration<SettlType>(value, offset, NullChar());
22237 }
22238
22243 {
22245
22246 setEnumeration<SettlType>(offset, value);
22247 return *this;
22248 }
22249
22252 {
22254
22255 setOrdinary(offset, NullChar());
22256 return *this;
22257 }
22258
22262 bool price(Price8Optional& value) const
22264 {
22266
22267 return decimal(value, offset, NullPrice8Optional());
22268 }
22269
22274 {
22276
22277 setOrdinary(offset, value);
22278 return *this;
22279 }
22280
22283 {
22285
22287 return *this;
22288 }
22289
22292 bool orderQty(QuantityOptional& value) const
22294 {
22296
22297 return ordinary(value, offset, NullQuantityOptional());
22298 }
22299
22303 {
22305
22306 setOrdinary(offset, value);
22307 return *this;
22308 }
22309
22312 {
22314
22316 return *this;
22317 }
22318
22323 {
22326
22327 return fixedStr<length>(offset);
22328 }
22329
22333 {
22336
22337 setFixedStr<length>(offset, value);
22338 return *this;
22339 }
22340
22345 {
22348
22349 return fixedStr<length>(offset);
22350 }
22351
22355 {
22358
22359 setFixedStr<length>(offset, value);
22360 return *this;
22361 }
22362
22365 bool
22367 Percentage8Optional& value) const
22369 {
22371
22372 return decimal(value, offset, NullPercentage8Optional());
22373 }
22374
22376 ThisType&
22378 Percentage8Optional value)
22380 {
22382
22383 setOrdinary(offset, value);
22384 return *this;
22385 }
22386
22389 {
22391
22393 return *this;
22394 }
22395
22403 {
22404 return Boolean::TrueValue;
22405 }
22406
22410
22415 bool
22417 DaysToSettlementOptional& value) const
22419 {
22421
22422 return ordinary(value, offset, NullDaysToSettlementOptional());
22423 }
22424
22428 ThisType&
22432 {
22434
22435 setOrdinary(offset, value);
22436 return *this;
22437 }
22438
22441 {
22443
22445 return *this;
22446 }
22447
22450 Sides sides() const
22452 {
22453 return getGroup<Sides>(SidesAccess(), *this);
22454 }
22455
22460 {
22461 return getGroup<Sides>(SidesAccess(), *this);
22462 }
22463
22468 {
22469 return constructGroup<Sides>(
22470 SidesAccess(),
22471 length,
22472 *this);
22473 }
22474
22477 Sides
22479 Sides::Size length,
22481 {
22482 return setupGroup<Sides>(
22483 SidesAccess(),
22484 length,
22485 *this);
22486 }
22487
22492 {
22493 return getVariableLengthField(deskIDAccess(), *this);
22494 }
22495
22498 StrRef memo() const
22500 {
22501 return getVariableLengthField(memoAccess(), *this);
22502 }
22503
22506 StrRef text() const
22508 {
22509 return getVariableLengthField(textAccess(), *this);
22510 }
22511
22514 {
22516 deskIDAccess(),
22517 value,
22518 *this);
22519
22520 return *this;
22521 }
22522
22525 {
22527 memoAccess(),
22528 value,
22529 *this);
22530
22531 return *this;
22532 }
22533
22536 {
22538 textAccess(),
22539 value,
22540 *this);
22541
22542 return *this;
22543 }
22544
22548 static
22549 BlockLength
22553 {
22554 return
22555 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
22556 111;
22557 }
22558
22564 {
22565 return
22566 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
22568 }
22569
22574 static
22578 {
22579 return
22580 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
22582 }
22583
22588 static UInt64 getMaxMessageSize(UInt8)
22590 {
22591 return
22593 }
22594
22598 {
22599 setSidesToNull();
22600 setDeskIdToNull();
22601 setMemoToNull();
22602 setTextToNull();
22603 return *this;
22604 }
22605
22609 {
22610 businessHeader().setSendingTimeToNull();
22611 businessHeader().setMarketSegmentIdToNull();
22620
22622 return *this;
22623 }
22624
22629 static const Char* className()
22630 {
22631 return "QuoteRequestReject405";
22632 }
22633
22640 {
22641 return constructStrRef("QuoteRequestReject405");
22642 }
22643
22645 void toString(
22646 std::string& dest,
22647 bool skipEmptyFields = false);
22648
22651 std::string toString(
22652 bool skipEmptyFields = false) const;
22653
22656 const void* tail() const
22658 {
22659 return
22660 toOpaquePtr(
22661 (text().end()));
22662 }
22663
22672
22673private:
22674 void checkLength(
22675 EncodedLength length, SchemaVersion version) const
22676 {
22677 const EncodedLength minimalRequiredLength =
22678 minimalBlockLength(version) +
22680 getMinimalVariableFieldsSize(version);
22681
22682 checkBinaryLength(
22683 *this, length, minimalRequiredLength);
22684 }
22685
22687 void checkVarLenFields() const
22688 {
22689 groups().
22690 checkVariableLengthFields<Sides>().
22691 checkTail<DeskIDEncoding>().
22692 checkTail<MemoEncoding>().
22693 checkTail<TextEncoding>();
22694 }
22695
22696 void checkCompatibility() const
22697 {
22698 assert(TemplateId == templateId());
22699
22700 checkSchema<Schema>(schemaId(), version());
22701 checkLength(bufferSize(), version());
22702 checkVarLenFields();
22703 }
22704
22706 struct SidesAccess
22707 {
22708 Sides
22709 operator()(
22710 const QuoteRequestReject405& obj) const
22712 {
22713 return obj.
22714 groups().
22715 head<Sides>();
22716 }
22717 };
22718
22721 void setSidesToNull()
22723 {
22724 resetGroup<Sides>(SidesAccess(), *this);
22725 }
22726
22728 struct deskIDAccess
22729 {
22730 DeskIDEncoding&
22731 operator()(
22732 const QuoteRequestReject405& obj) const
22734 {
22735 return obj.
22736 groups().
22737 variableLengthFields<Sides>().
22738 head<DeskIDEncoding>();
22739 }
22740 };
22741
22743 struct memoAccess
22744 {
22745 MemoEncoding&
22746 operator()(
22747 const QuoteRequestReject405& obj) const
22749 {
22750 return obj.
22751 groups().
22752 variableLengthFields<Sides>().
22753 tail<DeskIDEncoding>().
22754 head<MemoEncoding>();
22755 }
22756 };
22757
22759 struct textAccess
22760 {
22761 TextEncoding&
22762 operator()(
22763 const QuoteRequestReject405& obj) const
22765 {
22766 return obj.
22767 groups().
22768 variableLengthFields<Sides>().
22769 tail<DeskIDEncoding>().
22770 tail<MemoEncoding>().
22771 head<TextEncoding>();
22772 }
22773 };
22774
22777 ThisType& setDeskIdToNull()
22779 {
22780 setVariableLengthFieldToNull(deskIDAccess(), *this);
22781
22782 return *this;
22783 }
22784
22787 ThisType& setMemoToNull()
22789 {
22790 setVariableLengthFieldToNull(memoAccess(), *this);
22791
22792 return *this;
22793 }
22794
22797 ThisType& setTextToNull()
22799 {
22800 setVariableLengthFieldToNull(textAccess(), *this);
22801
22802 return *this;
22803 }
22804};
22805
22809: SbeMessage
22810{
22813
22816
22818 enum { TemplateId = 501 };
22819
22822
22825 void* data,
22826 EncodedLength length,
22828 : SbeMessage(data, length, version)
22829 {
22831 checkLength(length, version);
22833 reset();
22834 }
22835
22840 void* data,
22841 EncodedLength length,
22844 : SbeMessage(data, length, version)
22845 {
22847 checkLength(length, version);
22850 }
22851
22854 void* data,
22855 EncodedLength length,
22856 NoInit)
22857 : SbeMessage(data, length)
22858 {
22859 checkCompatibility();
22860 }
22861
22863 explicit
22865 const SbeMessage& message)
22866 : SbeMessage(message)
22867 {
22868 assert(message.valid());
22869
22870 checkCompatibility();
22871 }
22872
22876 void* data,
22877 EncodedLength length,
22878 NoInit,
22879 NoCheck)
22881 : SbeMessage(data, length, NoCheck())
22882 {
22883 assert(schemaId() == Schema::Id);
22884 assert(version() >= Schema::MinimalVersion);
22885 assert(TemplateId == templateId());
22886 }
22887
22896
22898
22904 {
22906
22908 }
22909
22917
22922 {
22924
22925 return ordinary<PosReqID>(offset);
22926 }
22927
22931 {
22933
22934 setOrdinary(offset, value);
22935 return *this;
22936 }
22937
22942 {
22944
22945 return ordinary<SecurityID>(offset);
22946 }
22947
22951 {
22953
22954 setOrdinary(offset, value);
22955 return *this;
22956 }
22957
22966
22968
22975 {
22976 return constructStrRef("BVMF");
22977 }
22978
22984 {
22986
22987 return ordinary(value, offset, NullPosReqIDOptional());
22988 }
22989
22994 {
22996
22997 setOrdinary(offset, value);
22998 return *this;
22999 }
23000
23003 {
23005
23007 return *this;
23008 }
23009
23013 bool
23015 PosMaintRptIDOptional& value) const
23017 {
23019
23020 return ordinary(value, offset, NullPosMaintRptIDOptional());
23021 }
23022
23025 ThisType&
23029 {
23031
23032 setOrdinary(offset, value);
23033 return *this;
23034 }
23035
23038 {
23040
23042 return *this;
23043 }
23044
23049 {
23052
23053 return fixedStr<length>(offset);
23054 }
23055
23059 {
23062
23063 setFixedStr<length>(offset, value);
23064 return *this;
23065 }
23066
23071 {
23074
23075 return fixedStr<length>(offset);
23076 }
23077
23081 {
23084
23085 setFixedStr<length>(offset, value);
23086 return *this;
23087 }
23088
23092 static
23093 BlockLength
23097 {
23098 return
23099 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
23100 65;
23101 }
23102
23108 {
23109 return
23110 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
23112 }
23113
23118 static
23122 {
23123 return
23124 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
23125 0;
23126 }
23127
23132 static UInt64 getMaxMessageSize(UInt8)
23134 {
23135 return
23136 static_cast<UInt64>(MessageHeaderBuilder::Size) +
23138 }
23139
23143 {
23144 return *this;
23145 }
23146
23150 {
23151 businessHeader().setSendingTimeToNull();
23154
23156 return *this;
23157 }
23158
23163 static const Char* className()
23164 {
23165 return "PositionMaintenanceCancelRequest501";
23166 }
23167
23174 {
23175 return constructStrRef(
23176 "PositionMaintenanceCancelRequest501");
23177 }
23178
23180 void toString(
23181 std::string& dest,
23182 bool skipEmptyFields = false);
23183
23186 std::string toString(
23187 bool skipEmptyFields = false) const;
23188
23191 const void* tail() const
23193 {
23194 return
23195 toOpaquePtr(
23196 advanceByBytes(
23197 binary(),
23198 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
23200 }
23201
23210
23211private:
23212 void checkLength(
23213 EncodedLength length, SchemaVersion version) const
23214 {
23215 const EncodedLength minimalRequiredLength =
23216 minimalBlockLength(version) +
23218 getMinimalVariableFieldsSize(version);
23219
23220 checkBinaryLength(
23221 *this, length, minimalRequiredLength);
23222 }
23223
23224 void checkCompatibility() const
23225 {
23226 assert(TemplateId == templateId());
23227
23228 checkSchema<Schema>(schemaId(), version());
23229 checkLength(bufferSize(), version());
23230 }
23231};
23232
23236: SbeMessage
23237{
23240
23243
23245 enum { TemplateId = 502 };
23246
23249
23252 void* data,
23253 EncodedLength length,
23255 : SbeMessage(data, length, version)
23256 {
23258 checkLength(length, version);
23260 reset();
23261 }
23262
23267 void* data,
23268 EncodedLength length,
23271 : SbeMessage(data, length, version)
23272 {
23274 checkLength(length, version);
23277 }
23278
23281 void* data,
23282 EncodedLength length,
23283 NoInit)
23284 : SbeMessage(data, length)
23285 {
23286 checkCompatibility();
23287 }
23288
23290 explicit
23292 const SbeMessage& message)
23293 : SbeMessage(message)
23294 {
23295 assert(message.valid());
23296
23297 checkCompatibility();
23298 }
23299
23303 void* data,
23304 EncodedLength length,
23305 NoInit,
23306 NoCheck)
23308 : SbeMessage(data, length, NoCheck())
23309 {
23310 assert(schemaId() == Schema::Id);
23311 assert(version() >= Schema::MinimalVersion);
23312 assert(TemplateId == templateId());
23313 }
23314
23323
23325
23331 {
23333
23335 }
23336
23344
23349 {
23351
23352 return ordinary<PosReqID>(offset);
23353 }
23354
23358 {
23360
23361 setOrdinary(offset, value);
23362 return *this;
23363 }
23364
23369 {
23371
23372 return ordinary<SecurityID>(offset);
23373 }
23374
23378 {
23380
23381 setOrdinary(offset, value);
23382 return *this;
23383 }
23384
23393
23395
23402 {
23403 return constructStrRef("BVMF");
23404 }
23405
23409 bool
23411 PriceOffsetOptional& value) const
23413 {
23415
23416 return decimal(value, offset, NullPriceOffsetOptional());
23417 }
23418
23421 ThisType&
23423 PriceOffsetOptional value)
23425 {
23427
23428 setOrdinary(offset, value);
23429 return *this;
23430 }
23431
23434 {
23436
23438 return *this;
23439 }
23440
23443 bool account(AccountOptional& value) const
23445 {
23447
23448 return ordinary(value, offset, NullAccountOptional());
23449 }
23450
23454 {
23456
23457 setOrdinary(offset, value);
23458 return *this;
23459 }
23460
23463 {
23465
23467 return *this;
23468 }
23469
23474 {
23477
23478 return fixedStr<length>(offset);
23479 }
23480
23484 {
23487
23488 setFixedStr<length>(offset, value);
23489 return *this;
23490 }
23491
23496 {
23498
23499 return enumeration<PosTransType>(offset);
23500 }
23501
23505 {
23507
23508 setEnumeration<PosTransType>(offset, value);
23509 return *this;
23510 }
23511
23522
23527 {
23529
23530 setOrdinary(offset, timestampToLocalMktDate(value));
23531 return *this;
23532 }
23533
23549
23559 {
23561
23562 setEnumeration<Boolean>(offset, value);
23563 return *this;
23564 }
23565
23570 {
23573
23574 return fixedStr<length>(offset);
23575 }
23576
23580 {
23583
23584 setFixedStr<length>(offset, value);
23585 return *this;
23586 }
23587
23593 {
23595 }
23596
23598
23603 {
23605
23606 return ordinary<Quantity>(offset);
23607 }
23608
23612 {
23614
23615 setOrdinary(offset, value);
23616 return *this;
23617 }
23618
23623 {
23624 return getVariableLengthField(deskIDAccess(), *this);
23625 }
23626
23629 StrRef memo() const
23631 {
23632 return getVariableLengthField(memoAccess(), *this);
23633 }
23634
23637 {
23639 deskIDAccess(),
23640 value,
23641 *this);
23642
23643 return *this;
23644 }
23645
23648 {
23650 memoAccess(),
23651 value,
23652 *this);
23653
23654 return *this;
23655 }
23656
23660 static
23661 BlockLength
23665 {
23666 return
23667 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
23668 73;
23669 }
23670
23676 {
23677 return
23678 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
23680 }
23681
23686 static
23690 {
23691 return
23692 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
23693 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
23694 }
23695
23700 static UInt64 getMaxMessageSize(UInt8)
23702 {
23703 return
23705 }
23706
23710 {
23711 setDeskIdToNull();
23712 setMemoToNull();
23713 return *this;
23714 }
23715
23719 {
23720 businessHeader().setSendingTimeToNull();
23723
23725 return *this;
23726 }
23727
23732 static const Char* className()
23733 {
23734 return "PositionMaintenanceRequest502";
23735 }
23736
23743 {
23744 return constructStrRef(
23745 "PositionMaintenanceRequest502");
23746 }
23747
23749 void toString(
23750 std::string& dest,
23751 bool skipEmptyFields = false);
23752
23755 std::string toString(
23756 bool skipEmptyFields = false) const;
23757
23760 const void* tail() const
23762 {
23763 return
23764 toOpaquePtr(
23765 (memo().end()));
23766 }
23767
23776
23777private:
23778 void checkLength(
23779 EncodedLength length, SchemaVersion version) const
23780 {
23781 const EncodedLength minimalRequiredLength =
23782 minimalBlockLength(version) +
23784 getMinimalVariableFieldsSize(version);
23785
23786 checkBinaryLength(
23787 *this, length, minimalRequiredLength);
23788 }
23789
23791 void checkVarLenFields() const
23792 {
23793 variableLengthFields().
23794 checkTail<DeskIDEncoding>().
23795 checkTail<MemoEncoding>();
23796 }
23797
23798 void checkCompatibility() const
23799 {
23800 assert(TemplateId == templateId());
23801
23802 checkSchema<Schema>(schemaId(), version());
23803 checkLength(bufferSize(), version());
23804 checkVarLenFields();
23805 }
23806
23808 struct deskIDAccess
23809 {
23810 DeskIDEncoding&
23811 operator()(
23812 const PositionMaintenanceRequest502& obj) const
23814 {
23815 return obj.
23816 variableLengthFields().
23817 head<DeskIDEncoding>();
23818 }
23819 };
23820
23822 struct memoAccess
23823 {
23824 MemoEncoding&
23825 operator()(
23826 const PositionMaintenanceRequest502& obj) const
23828 {
23829 return obj.
23830 variableLengthFields().
23831 tail<DeskIDEncoding>().
23832 head<MemoEncoding>();
23833 }
23834 };
23835
23838 ThisType& setDeskIdToNull()
23840 {
23841 setVariableLengthFieldToNull(deskIDAccess(), *this);
23842
23843 return *this;
23844 }
23845
23848 ThisType& setMemoToNull()
23850 {
23851 setVariableLengthFieldToNull(memoAccess(), *this);
23852
23853 return *this;
23854 }
23855};
23856
23860: SbeMessage
23861{
23864
23867
23869 enum { TemplateId = 503 };
23870
23875 <
23877 >
23878 {
23880 typedef
23882 <
23884 >
23886
23889
23893 void* data,
23894 EncodedLength length,
23896 : Base(data, numericCast<Base::BlockLength>(length), version)
23897 {
23899 assert(length >= minimalBlockLength(version));
23900 }
23901
23905 {
23906 return *this;
23907 }
23908
23912 {
23915
23917 return *this;
23918 }
23919
23921 void
23922 toString(
23923 std::string& dest,
23924 bool skipEmptyFields = false);
23925
23928 std::string
23929 toString(
23930 bool skipEmptyFields = false) const;
23931
23932
23937 {
23939
23940 return enumeration<PosType>(offset);
23941 }
23942
23946 {
23948
23949 setEnumeration<PosType>(offset, value);
23950 return *this;
23951 }
23952
23955 bool longQty(QuantityOptional& value) const
23957 {
23959
23960 return ordinary(value, offset, NullQuantityOptional());
23961 }
23962
23966 {
23968
23969 setOrdinary(offset, value);
23970 return *this;
23971 }
23972
23975 {
23977
23979 return *this;
23980 }
23981
23984 bool shortQty(QuantityOptional& value) const
23986 {
23988
23989 return ordinary(value, offset, NullQuantityOptional());
23990 }
23991
23995 {
23997
23998 setOrdinary(offset, value);
23999 return *this;
24000 }
24001
24004 {
24006
24008 return *this;
24009 }
24010
24017 {
24018 return
24019 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
24021 }
24022
24027 static
24032 {
24033 return
24034 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
24035 17;
24036 }
24037
24042 static const Char* className()
24043 {
24044 return "PositionMaintenanceReport503.PositionsEntry";
24045 }
24046 };
24047
24049 typedef
24052
24055
24058 void* data,
24059 EncodedLength length,
24061 : SbeMessage(data, length, version)
24062 {
24064 checkLength(length, version);
24066 reset();
24067 }
24068
24073 void* data,
24074 EncodedLength length,
24077 : SbeMessage(data, length, version)
24078 {
24080 checkLength(length, version);
24083 }
24084
24087 void* data,
24088 EncodedLength length,
24089 NoInit)
24090 : SbeMessage(data, length)
24091 {
24092 checkCompatibility();
24093 }
24094
24096 explicit
24098 const SbeMessage& message)
24099 : SbeMessage(message)
24100 {
24101 assert(message.valid());
24102
24103 checkCompatibility();
24104 }
24105
24109 void* data,
24110 EncodedLength length,
24111 NoInit,
24112 NoCheck)
24114 : SbeMessage(data, length, NoCheck())
24115 {
24116 assert(schemaId() == Schema::Id);
24117 assert(version() >= Schema::MinimalVersion);
24118 assert(TemplateId == templateId());
24119 }
24120
24129
24131
24137 {
24139
24141 }
24142
24150
24153 bool posReqId(PosReqIDOptional& value) const
24155 {
24157
24158 return ordinary(value, offset, NullPosReqIDOptional());
24159 }
24160
24164 {
24166
24167 setOrdinary(offset, value);
24168 return *this;
24169 }
24170
24173 {
24175
24177 return *this;
24178 }
24179
24184 {
24186
24187 return ordinary<SecurityID>(offset);
24188 }
24189
24193 {
24195
24196 setOrdinary(offset, value);
24197 return *this;
24198 }
24199
24208
24210
24217 {
24218 return constructStrRef("BVMF");
24219 }
24220
24225 {
24227
24228 return ordinary<PosMaintRptID>(offset);
24229 }
24230
24234 {
24236
24237 setOrdinary(offset, value);
24238 return *this;
24239 }
24240
24245 {
24247
24248 return enumeration<PosTransType>(offset);
24249 }
24250
24254 {
24256
24257 setEnumeration<PosTransType>(offset, value);
24258 return *this;
24259 }
24260
24270
24272 ThisType&
24276 {
24278
24279 setEnumeration<PosMaintAction>(offset, value);
24280 return *this;
24281 }
24282
24292
24294 ThisType&
24298 {
24300
24301 setEnumeration<PosMaintStatus>(offset, value);
24302 return *this;
24303 }
24304
24309 bool tradeId(TradeIDOptional& value) const
24311 {
24313
24314 return ordinary(value, offset, NullTradeIDOptional());
24315 }
24316
24322 {
24324
24325 setOrdinary(offset, value);
24326 return *this;
24327 }
24328
24331 {
24333
24335 return *this;
24336 }
24337
24343 {
24345
24346 return ordinary(value, offset, NullPosReqIDOptional());
24347 }
24348
24353 {
24355
24356 setOrdinary(offset, value);
24357 return *this;
24358 }
24359
24362 {
24364
24366 return *this;
24367 }
24368
24373 {
24375
24376 return enumeration<AccountType>(value, offset, NullUint8EnumEncoding());
24377 }
24378
24382 {
24384
24385 setEnumeration<AccountType>(offset, value);
24386 return *this;
24387 }
24388
24391 {
24393
24395 return *this;
24396 }
24397
24408
24413 {
24415
24416 setOrdinary(offset, timestampToLocalMktDate(value));
24417 return *this;
24418 }
24419
24423 bool
24425 PriceOffsetOptional& value) const
24427 {
24429
24430 return decimal(value, offset, NullPriceOffsetOptional());
24431 }
24432
24435 ThisType&
24437 PriceOffsetOptional value)
24439 {
24441
24442 setOrdinary(offset, value);
24443 return *this;
24444 }
24445
24448 {
24450
24452 return *this;
24453 }
24454
24459 {
24461
24462 return ordinary<UTCTimestampNanos>(offset);
24463 }
24464
24468 {
24470
24471 setOrdinary(offset, value);
24472 return *this;
24473 }
24474
24477 bool account(AccountOptional& value) const
24479 {
24481
24482 return ordinary(value, offset, NullAccountOptional());
24483 }
24484
24488 {
24490
24491 setOrdinary(offset, value);
24492 return *this;
24493 }
24494
24497 {
24499
24501 return *this;
24502 }
24503
24508 {
24511
24512 return fixedStr<length>(offset);
24513 }
24514
24518 {
24521
24522 setFixedStr<length>(offset, value);
24523 return *this;
24524 }
24525
24531 {
24533
24534 return ordinary(value, offset, NullRejReasonOptional());
24535 }
24536
24541 {
24543
24544 setOrdinary(offset, value);
24545 return *this;
24546 }
24547
24550 {
24552
24554 return *this;
24555 }
24556
24572
24582 {
24584
24585 setEnumeration<Boolean>(offset, value);
24586 return *this;
24587 }
24588
24593 {
24594 return getGroup<Positions>(PositionsAccess(), *this);
24595 }
24596
24601 {
24602 return getGroup<Positions>(PositionsAccess(), *this);
24603 }
24604
24609 {
24611 PositionsAccess(),
24612 length,
24613 *this);
24614 }
24615
24618 Positions
24620 Positions::Size length,
24622 {
24623 return setupGroup<Positions>(
24624 PositionsAccess(),
24625 length,
24626 *this);
24627 }
24628
24633 {
24634 return getVariableLengthField(deskIDAccess(), *this);
24635 }
24636
24639 StrRef memo() const
24641 {
24642 return getVariableLengthField(memoAccess(), *this);
24643 }
24644
24647 StrRef text() const
24649 {
24650 return getVariableLengthField(textAccess(), *this);
24651 }
24652
24655 {
24657 deskIDAccess(),
24658 value,
24659 *this);
24660
24661 return *this;
24662 }
24663
24666 {
24668 memoAccess(),
24669 value,
24670 *this);
24671
24672 return *this;
24673 }
24674
24677 {
24679 textAccess(),
24680 value,
24681 *this);
24682
24683 return *this;
24684 }
24685
24689 static
24690 BlockLength
24694 {
24695 return
24696 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
24697 95;
24698 }
24699
24705 {
24706 return
24707 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
24709 }
24710
24715 static
24719 {
24720 return
24721 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
24723 }
24724
24729 static UInt64 getMaxMessageSize(UInt8)
24731 {
24732 return
24734 }
24735
24739 {
24740 setPositionsToNull();
24741 setDeskIdToNull();
24742 setMemoToNull();
24743 setTextToNull();
24744 return *this;
24745 }
24746
24750 {
24751 businessHeader().setSendingTimeToNull();
24752 businessHeader().setMarketSegmentIdToNull();
24760
24762 return *this;
24763 }
24764
24769 static const Char* className()
24770 {
24771 return "PositionMaintenanceReport503";
24772 }
24773
24780 {
24781 return constructStrRef(
24782 "PositionMaintenanceReport503");
24783 }
24784
24786 void toString(
24787 std::string& dest,
24788 bool skipEmptyFields = false);
24789
24792 std::string toString(
24793 bool skipEmptyFields = false) const;
24794
24797 const void* tail() const
24799 {
24800 return
24801 toOpaquePtr(
24802 (text().end()));
24803 }
24804
24813
24814private:
24815 void checkLength(
24816 EncodedLength length, SchemaVersion version) const
24817 {
24818 const EncodedLength minimalRequiredLength =
24819 minimalBlockLength(version) +
24821 getMinimalVariableFieldsSize(version);
24822
24823 checkBinaryLength(
24824 *this, length, minimalRequiredLength);
24825 }
24826
24828 void checkVarLenFields() const
24829 {
24830 groups().
24831 checkVariableLengthFields<Positions>().
24832 checkTail<DeskIDEncoding>().
24833 checkTail<MemoEncoding>().
24834 checkTail<TextEncoding>();
24835 }
24836
24837 void checkCompatibility() const
24838 {
24839 assert(TemplateId == templateId());
24840
24841 checkSchema<Schema>(schemaId(), version());
24842 checkLength(bufferSize(), version());
24843 checkVarLenFields();
24844 }
24845
24847 struct PositionsAccess
24848 {
24849 Positions
24850 operator()(
24851 const PositionMaintenanceReport503& obj) const
24853 {
24854 return obj.
24855 groups().
24856 head<Positions>();
24857 }
24858 };
24859
24862 void setPositionsToNull()
24864 {
24865 resetGroup<Positions>(PositionsAccess(), *this);
24866 }
24867
24869 struct deskIDAccess
24870 {
24871 DeskIDEncoding&
24872 operator()(
24873 const PositionMaintenanceReport503& obj) const
24875 {
24876 return obj.
24877 groups().
24878 variableLengthFields<Positions>().
24879 head<DeskIDEncoding>();
24880 }
24881 };
24882
24884 struct memoAccess
24885 {
24886 MemoEncoding&
24887 operator()(
24888 const PositionMaintenanceReport503& obj) const
24890 {
24891 return obj.
24892 groups().
24893 variableLengthFields<Positions>().
24894 tail<DeskIDEncoding>().
24895 head<MemoEncoding>();
24896 }
24897 };
24898
24900 struct textAccess
24901 {
24902 TextEncoding&
24903 operator()(
24904 const PositionMaintenanceReport503& obj) const
24906 {
24907 return obj.
24908 groups().
24909 variableLengthFields<Positions>().
24910 tail<DeskIDEncoding>().
24911 tail<MemoEncoding>().
24912 head<TextEncoding>();
24913 }
24914 };
24915
24918 ThisType& setDeskIdToNull()
24920 {
24921 setVariableLengthFieldToNull(deskIDAccess(), *this);
24922
24923 return *this;
24924 }
24925
24928 ThisType& setMemoToNull()
24930 {
24931 setVariableLengthFieldToNull(memoAccess(), *this);
24932
24933 return *this;
24934 }
24935
24938 ThisType& setTextToNull()
24940 {
24941 setVariableLengthFieldToNull(textAccess(), *this);
24942
24943 return *this;
24944 }
24945};
24946
24950: SbeMessage
24951{
24954
24957
24959 enum { TemplateId = 601 };
24960
24963
24966 void* data,
24967 EncodedLength length,
24969 : SbeMessage(data, length, version)
24970 {
24972 checkLength(length, version);
24974 reset();
24975 }
24976
24981 void* data,
24982 EncodedLength length,
24985 : SbeMessage(data, length, version)
24986 {
24988 checkLength(length, version);
24991 }
24992
24995 void* data,
24996 EncodedLength length,
24997 NoInit)
24998 : SbeMessage(data, length)
24999 {
25000 checkCompatibility();
25001 }
25002
25004 explicit
25006 const SbeMessage& message)
25007 : SbeMessage(message)
25008 {
25009 assert(message.valid());
25010
25011 checkCompatibility();
25012 }
25013
25017 void* data,
25018 EncodedLength length,
25019 NoInit,
25020 NoCheck)
25022 : SbeMessage(data, length, NoCheck())
25023 {
25024 assert(schemaId() == Schema::Id);
25025 assert(version() >= Schema::MinimalVersion);
25026 assert(TemplateId == templateId());
25027 }
25028
25037
25039
25045 {
25047
25049 }
25050
25058
25063 {
25065
25066 return ordinary<AllocID>(offset);
25067 }
25068
25072 {
25074
25075 setOrdinary(offset, value);
25076 return *this;
25077 }
25078
25083 {
25085
25086 return ordinary<SecurityID>(offset);
25087 }
25088
25092 {
25094
25095 setOrdinary(offset, value);
25096 return *this;
25097 }
25098
25107
25109
25116 {
25117 return constructStrRef("BVMF");
25118 }
25119
25129
25131 ThisType&
25135 {
25137
25138 setEnumeration<AllocTransType>(offset, value);
25139 return *this;
25140 }
25141
25147 {
25149
25150 return enumeration<AllocType>(offset);
25151 }
25152
25157 {
25159
25160 setEnumeration<AllocType>(offset, value);
25161 return *this;
25162 }
25163
25174
25177 ThisType&
25181 {
25183
25184 setEnumeration<AllocNoOrdersType>(offset, value);
25185 return *this;
25186 }
25187
25192 {
25194
25195 return ordinary<Quantity>(offset);
25196 }
25197
25201 {
25203
25204 setOrdinary(offset, value);
25205 return *this;
25206 }
25207
25213 {
25214 return Side::Buy;
25215 }
25216
25218
25223 {
25226
25227 return fixedStr<length>(offset);
25228 }
25229
25233 {
25236
25237 setFixedStr<length>(offset, value);
25238 return *this;
25239 }
25240
25245 {
25248
25249 return fixedStr<length>(offset);
25250 }
25251
25255 {
25258
25259 setFixedStr<length>(offset, value);
25260 return *this;
25261 }
25262
25269 {
25271
25272 return ordinary<TradeID>(offset);
25273 }
25274
25280 {
25282
25283 setOrdinary(offset, value);
25284 return *this;
25285 }
25286
25290 bool tradeDate(Timestamp& value) const
25292 {
25293 typedef LocalMktDateOptional FieldValue;
25294
25296
25297 FieldValue fieldValue;
25298
25299 if (ordinary(fieldValue, offset, NullLocalMktDateOptional()))
25300 {
25301 value = localMktDateToTimestamp(fieldValue);
25302 return true;
25303 }
25304 return false;
25305 }
25306
25311 {
25313
25314 setOrdinary(offset, timestampToLocalMktDate(value));
25315 return *this;
25316 }
25317
25320 {
25322
25324 return *this;
25325 }
25326
25332 {
25334
25335 return ordinary<AllocID>(offset);
25336 }
25337
25342 {
25344
25345 setOrdinary(offset, value);
25346 return *this;
25347 }
25348
25353 {
25355
25356 return ordinary<Account>(offset);
25357 }
25358
25362 {
25364
25365 setOrdinary(offset, value);
25366 return *this;
25367 }
25368
25373 {
25375
25376 return ordinary<Quantity>(offset);
25377 }
25378
25382 {
25384
25385 setOrdinary(offset, value);
25386 return *this;
25387 }
25388
25393 {
25394 return getVariableLengthField(deskIDAccess(), *this);
25395 }
25396
25399 StrRef memo() const
25401 {
25402 return getVariableLengthField(memoAccess(), *this);
25403 }
25404
25407 {
25409 deskIDAccess(),
25410 value,
25411 *this);
25412
25413 return *this;
25414 }
25415
25418 {
25420 memoAccess(),
25421 value,
25422 *this);
25423
25424 return *this;
25425 }
25426
25430 static
25431 BlockLength
25435 {
25436 return
25437 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
25438 86;
25439 }
25440
25446 {
25447 return
25448 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
25450 }
25451
25456 static
25460 {
25461 return
25462 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
25463 static_cast<MessageSize>(DeskIDEncoding::Size) + static_cast<MessageSize>(MemoEncoding::Size);
25464 }
25465
25470 static UInt64 getMaxMessageSize(UInt8)
25472 {
25473 return
25475 }
25476
25480 {
25481 setDeskIdToNull();
25482 setMemoToNull();
25483 return *this;
25484 }
25485
25489 {
25490 businessHeader().setSendingTimeToNull();
25492
25494 return *this;
25495 }
25496
25501 static const Char* className()
25502 {
25503 return "AllocationInstruction601";
25504 }
25505
25512 {
25513 return constructStrRef(
25514 "AllocationInstruction601");
25515 }
25516
25518 void toString(
25519 std::string& dest,
25520 bool skipEmptyFields = false);
25521
25524 std::string toString(
25525 bool skipEmptyFields = false) const;
25526
25529 const void* tail() const
25531 {
25532 return
25533 toOpaquePtr(
25534 (memo().end()));
25535 }
25536
25545
25546private:
25547 void checkLength(
25548 EncodedLength length, SchemaVersion version) const
25549 {
25550 const EncodedLength minimalRequiredLength =
25551 minimalBlockLength(version) +
25553 getMinimalVariableFieldsSize(version);
25554
25555 checkBinaryLength(
25556 *this, length, minimalRequiredLength);
25557 }
25558
25560 void checkVarLenFields() const
25561 {
25562 variableLengthFields().
25563 checkTail<DeskIDEncoding>().
25564 checkTail<MemoEncoding>();
25565 }
25566
25567 void checkCompatibility() const
25568 {
25569 assert(TemplateId == templateId());
25570
25571 checkSchema<Schema>(schemaId(), version());
25572 checkLength(bufferSize(), version());
25573 checkVarLenFields();
25574 }
25575
25577 struct deskIDAccess
25578 {
25579 DeskIDEncoding&
25580 operator()(
25581 const AllocationInstruction601& obj) const
25583 {
25584 return obj.
25585 variableLengthFields().
25586 head<DeskIDEncoding>();
25587 }
25588 };
25589
25591 struct memoAccess
25592 {
25593 MemoEncoding&
25594 operator()(
25595 const AllocationInstruction601& obj) const
25597 {
25598 return obj.
25599 variableLengthFields().
25600 tail<DeskIDEncoding>().
25601 head<MemoEncoding>();
25602 }
25603 };
25604
25607 ThisType& setDeskIdToNull()
25609 {
25610 setVariableLengthFieldToNull(deskIDAccess(), *this);
25611
25612 return *this;
25613 }
25614
25617 ThisType& setMemoToNull()
25619 {
25620 setVariableLengthFieldToNull(memoAccess(), *this);
25621
25622 return *this;
25623 }
25624};
25625
25629: SbeMessage
25630{
25633
25636
25638 enum { TemplateId = 602 };
25639
25642
25645 void* data,
25646 EncodedLength length,
25648 : SbeMessage(data, length, version)
25649 {
25651 checkLength(length, version);
25653 reset();
25654 }
25655
25660 void* data,
25661 EncodedLength length,
25664 : SbeMessage(data, length, version)
25665 {
25667 checkLength(length, version);
25670 }
25671
25674 void* data,
25675 EncodedLength length,
25676 NoInit)
25677 : SbeMessage(data, length)
25678 {
25679 checkCompatibility();
25680 }
25681
25683 explicit
25685 const SbeMessage& message)
25686 : SbeMessage(message)
25687 {
25688 assert(message.valid());
25689
25690 checkCompatibility();
25691 }
25692
25696 void* data,
25697 EncodedLength length,
25698 NoInit,
25699 NoCheck)
25701 : SbeMessage(data, length, NoCheck())
25702 {
25703 assert(schemaId() == Schema::Id);
25704 assert(version() >= Schema::MinimalVersion);
25705 assert(TemplateId == templateId());
25706 }
25707
25716
25718
25724 {
25726
25728 }
25729
25737
25742 {
25744
25745 return ordinary<AllocID>(offset);
25746 }
25747
25751 {
25753
25754 setOrdinary(offset, value);
25755 return *this;
25756 }
25757
25762 {
25764
25765 return ordinary<SecurityID>(offset);
25766 }
25767
25771 {
25773
25774 setOrdinary(offset, value);
25775 return *this;
25776 }
25777
25786
25788
25795 {
25796 return constructStrRef("BVMF");
25797 }
25798
25803 {
25805
25806 return ordinary<AllocReportID>(offset);
25807 }
25808
25812 {
25814
25815 setOrdinary(offset, value);
25816 return *this;
25817 }
25818
25828
25830 ThisType&
25834 {
25836
25837 setEnumeration<AllocTransType>(offset, value);
25838 return *this;
25839 }
25840
25851
25854 ThisType&
25858 {
25860
25861 setEnumeration<AllocReportType>(offset, value);
25862 return *this;
25863 }
25864
25875
25878 ThisType&
25882 {
25884
25885 setEnumeration<AllocNoOrdersType>(offset, value);
25886 return *this;
25887 }
25888
25893 {
25895
25896 return ordinary(value, offset, NullRejReasonOptional());
25897 }
25898
25902 {
25904
25905 setOrdinary(offset, value);
25906 return *this;
25907 }
25908
25911 {
25913
25915 return *this;
25916 }
25917
25922 {
25924
25925 return ordinary<Quantity>(offset);
25926 }
25927
25931 {
25933
25934 setOrdinary(offset, value);
25935 return *this;
25936 }
25937
25942 {
25944
25945 return enumeration<AllocStatus>(offset);
25946 }
25947
25951 {
25953
25954 setEnumeration<AllocStatus>(offset, value);
25955 return *this;
25956 }
25957
25961 bool tradeDate(Timestamp& value) const
25963 {
25964 typedef LocalMktDateOptional FieldValue;
25965
25967
25968 FieldValue fieldValue;
25969
25970 if (ordinary(fieldValue, offset, NullLocalMktDateOptional()))
25971 {
25972 value = localMktDateToTimestamp(fieldValue);
25973 return true;
25974 }
25975 return false;
25976 }
25977
25982 {
25984
25985 setOrdinary(offset, timestampToLocalMktDate(value));
25986 return *this;
25987 }
25988
25991 {
25993
25995 return *this;
25996 }
25997
26002 {
26004
26005 return ordinary<UTCTimestampNanos>(offset);
26006 }
26007
26011 {
26013
26014 setOrdinary(offset, value);
26015 return *this;
26016 }
26017
26022 {
26024
26025 return enumeration<Side>(offset);
26026 }
26027
26031 {
26033
26034 setEnumeration<Side>(offset, value);
26035 return *this;
26036 }
26037
26042 {
26045
26046 return fixedStr<length>(offset);
26047 }
26048
26052 {
26055
26056 setFixedStr<length>(offset, value);
26057 return *this;
26058 }
26059
26064 {
26067
26068 return fixedStr<length>(offset);
26069 }
26070
26074 {
26077
26078 setFixedStr<length>(offset, value);
26079 return *this;
26080 }
26081
26085 static
26086 BlockLength
26090 {
26091 return
26092 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
26093 84;
26094 }
26095
26101 {
26102 return
26103 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
26105 }
26106
26111 static
26115 {
26116 return
26117 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
26118 0;
26119 }
26120
26125 static UInt64 getMaxMessageSize(UInt8)
26127 {
26128 return
26129 static_cast<UInt64>(MessageHeaderBuilder::Size) +
26131 }
26132
26136 {
26137 return *this;
26138 }
26139
26143 {
26144 businessHeader().setSendingTimeToNull();
26145 businessHeader().setMarketSegmentIdToNull();
26148
26150 return *this;
26151 }
26152
26157 static const Char* className()
26158 {
26159 return "AllocationReport602";
26160 }
26161
26168 {
26169 return constructStrRef("AllocationReport602");
26170 }
26171
26173 void toString(
26174 std::string& dest,
26175 bool skipEmptyFields = false);
26176
26179 std::string toString(
26180 bool skipEmptyFields = false) const;
26181
26184 const void* tail() const
26186 {
26187 return
26188 toOpaquePtr(
26189 advanceByBytes(
26190 binary(),
26191 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
26193 }
26194
26203
26204private:
26205 void checkLength(
26206 EncodedLength length, SchemaVersion version) const
26207 {
26208 const EncodedLength minimalRequiredLength =
26209 minimalBlockLength(version) +
26211 getMinimalVariableFieldsSize(version);
26212
26213 checkBinaryLength(
26214 *this, length, minimalRequiredLength);
26215 }
26216
26217 void checkCompatibility() const
26218 {
26219 assert(TemplateId == templateId());
26220
26221 checkSchema<Schema>(schemaId(), version());
26222 checkLength(bufferSize(), version());
26223 }
26224};
26225
26229: SbeMessage
26230{
26233
26236
26238 enum { TemplateId = 701 };
26239
26242
26245 void* data,
26246 EncodedLength length,
26248 : SbeMessage(data, length, version)
26249 {
26251 checkLength(length, version);
26253 reset();
26254 }
26255
26260 void* data,
26261 EncodedLength length,
26264 : SbeMessage(data, length, version)
26265 {
26267 checkLength(length, version);
26270 }
26271
26274 void* data,
26275 EncodedLength length,
26276 NoInit)
26277 : SbeMessage(data, length)
26278 {
26279 checkCompatibility();
26280 }
26281
26283 explicit
26285 const SbeMessage& message)
26286 : SbeMessage(message)
26287 {
26288 assert(message.valid());
26289
26290 checkCompatibility();
26291 }
26292
26296 void* data,
26297 EncodedLength length,
26298 NoInit,
26299 NoCheck)
26301 : SbeMessage(data, length, NoCheck())
26302 {
26303 assert(schemaId() == Schema::Id);
26304 assert(version() >= Schema::MinimalVersion);
26305 assert(TemplateId == templateId());
26306 }
26307
26316
26318
26324 {
26326
26328 }
26329
26337
26347
26349 ThisType&
26353 {
26355
26356 setEnumeration<MassActionType>(offset, value);
26357 return *this;
26358 }
26359
26362 bool
26364 MassActionScope::Enum& value) const
26366 {
26368
26369 return enumeration<MassActionScope>(value, offset, NullUint8EnumEncoding());
26370 }
26371
26373 ThisType&
26377 {
26379
26380 setEnumeration<MassActionScope>(offset, value);
26381 return *this;
26382 }
26383
26386 {
26388
26390 return *this;
26391 }
26392
26398 {
26400
26401 return ordinary<ClOrdID>(offset);
26402 }
26403
26408 {
26410
26411 setOrdinary(offset, value);
26412 return *this;
26413 }
26414
26418 bool
26427
26430 ThisType&
26440
26443 {
26445
26447 return *this;
26448 }
26449
26452 bool ordTagId(OrdTagID& value) const
26454 {
26456
26457 return ordinary(value, offset, NullOrdTagID());
26458 }
26459
26463 {
26465
26466 setOrdinary(offset, value);
26467 return *this;
26468 }
26469
26472 {
26474
26475 setOrdinary(offset, NullOrdTagID());
26476 return *this;
26477 }
26478
26481 bool side(Side::Enum& value) const
26483 {
26485
26486 return enumeration<Side>(value, offset, NullChar());
26487 }
26488
26492 {
26494
26495 setEnumeration<Side>(offset, value);
26496 return *this;
26497 }
26498
26501 {
26503
26504 setOrdinary(offset, NullChar());
26505 return *this;
26506 }
26507
26511 bool asset(StrRef& value) const
26513 {
26516
26517 return fixedStr<length>(value, offset);
26518 }
26519
26524 {
26527
26528 setFixedStr<length>(offset, value);
26529 return *this;
26530 }
26531
26534 {
26537
26538 setFixedStr<length>(offset, StrRef());
26539 return *this;
26540 }
26541
26544 bool
26546 SecurityIDOptional& value) const
26548 {
26550
26551 return ordinary(value, offset, NullSecurityIDOptional());
26552 }
26553
26557 {
26559
26560 setOrdinary(offset, value);
26561 return *this;
26562 }
26563
26566 {
26568
26570 return *this;
26571 }
26572
26581
26583
26590 {
26591 return constructStrRef("BVMF");
26592 }
26593
26597 bool investorId(InvestorID& value) const
26599 {
26601
26602 return ordinary(value, offset, NullInvestorID());
26603 }
26604
26609 {
26611
26612 setOrdinary(offset, value);
26613 return *this;
26614 }
26615
26618 {
26620
26621 setOrdinary(offset, NullInvestorID());
26622 return *this;
26623 }
26624
26628 static
26629 BlockLength
26633 {
26634 return
26635 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
26636 54;
26637 }
26638
26642 static
26643 BlockLength
26647 {
26648 return
26649 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
26651 }
26652
26657 static
26661 {
26662 return
26663 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
26664 0;
26665 }
26666
26671 static UInt64 getMaxMessageSize(UInt8)
26673 {
26674 return
26675 static_cast<UInt64>(MessageHeaderBuilder::Size) +
26677 }
26678
26682 {
26683 return *this;
26684 }
26685
26689 {
26690 businessHeader().setSendingTimeToNull();
26694 setSideToNull();
26698
26700 return *this;
26701 }
26702
26707 static const Char* className()
26708 {
26709 return "OrderMassActionRequest701";
26710 }
26711
26718 {
26719 return constructStrRef(
26720 "OrderMassActionRequest701");
26721 }
26722
26724 void toString(
26725 std::string& dest,
26726 bool skipEmptyFields = false);
26727
26730 std::string toString(
26731 bool skipEmptyFields = false) const;
26732
26735 const void* tail() const
26737 {
26738 return
26739 toOpaquePtr(
26740 advanceByBytes(
26741 binary(),
26742 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
26744 }
26745
26754
26755private:
26756 void checkLength(
26757 EncodedLength length, SchemaVersion version) const
26758 {
26759 const EncodedLength minimalRequiredLength =
26760 minimalBlockLength(version) +
26762 getMinimalVariableFieldsSize(version);
26763
26764 checkBinaryLength(
26765 *this, length, minimalRequiredLength);
26766 }
26767
26768 void checkCompatibility() const
26769 {
26770 assert(TemplateId == templateId());
26771
26772 checkSchema<Schema>(schemaId(), version());
26773 checkLength(bufferSize(), version());
26774 }
26775};
26776
26780: SbeMessage
26781{
26784
26787
26789 enum { TemplateId = 702 };
26790
26793
26796 void* data,
26797 EncodedLength length,
26799 : SbeMessage(data, length, version)
26800 {
26802 checkLength(length, version);
26804 reset();
26805 }
26806
26811 void* data,
26812 EncodedLength length,
26815 : SbeMessage(data, length, version)
26816 {
26818 checkLength(length, version);
26821 }
26822
26825 void* data,
26826 EncodedLength length,
26827 NoInit)
26828 : SbeMessage(data, length)
26829 {
26830 checkCompatibility();
26831 }
26832
26834 explicit
26836 const SbeMessage& message)
26837 : SbeMessage(message)
26838 {
26839 assert(message.valid());
26840
26841 checkCompatibility();
26842 }
26843
26847 void* data,
26848 EncodedLength length,
26849 NoInit,
26850 NoCheck)
26852 : SbeMessage(data, length, NoCheck())
26853 {
26854 assert(schemaId() == Schema::Id);
26855 assert(version() >= Schema::MinimalVersion);
26856 assert(TemplateId == templateId());
26857 }
26858
26867
26869
26875 {
26877
26879 }
26880
26888
26898
26900 ThisType&
26904 {
26906
26907 setEnumeration<MassActionType>(offset, value);
26908 return *this;
26909 }
26910
26913 bool
26915 MassActionScope::Enum& value) const
26917 {
26919
26920 return enumeration<MassActionScope>(value, offset, NullUint8EnumEncoding());
26921 }
26922
26924 ThisType&
26928 {
26930
26931 setEnumeration<MassActionScope>(offset, value);
26932 return *this;
26933 }
26934
26937 {
26939
26941 return *this;
26942 }
26943
26949 {
26951
26952 return ordinary<ClOrdID>(offset);
26953 }
26954
26959 {
26961
26962 setOrdinary(offset, value);
26963 return *this;
26964 }
26965
26976
26981 {
26983
26984 setOrdinary(offset, value);
26985 return *this;
26986 }
26987
26992 {
26994
26995 return ordinary<UTCTimestampNanos>(offset);
26996 }
26997
27001 {
27003
27004 setOrdinary(offset, value);
27005 return *this;
27006 }
27007
27018
27021 ThisType&
27025 {
27027
27029 return *this;
27030 }
27031
27034 bool
27036 MassActionRejectReason::Enum& value) const
27038 {
27040
27041 return enumeration<MassActionRejectReason>(value, offset, NullUInt8());
27042 }
27043
27045 ThisType&
27049 {
27051
27053 return *this;
27054 }
27055
27058 {
27060
27061 setOrdinary(offset, NullUInt8());
27062 return *this;
27063 }
27064
27068 bool
27077
27080 ThisType&
27090
27093 {
27095
27097 return *this;
27098 }
27099
27102 bool ordTagId(OrdTagID& value) const
27104 {
27106
27107 return ordinary(value, offset, NullOrdTagID());
27108 }
27109
27113 {
27115
27116 setOrdinary(offset, value);
27117 return *this;
27118 }
27119
27122 {
27124
27125 setOrdinary(offset, NullOrdTagID());
27126 return *this;
27127 }
27128
27131 bool side(Side::Enum& value) const
27133 {
27135
27136 return enumeration<Side>(value, offset, NullChar());
27137 }
27138
27142 {
27144
27145 setEnumeration<Side>(offset, value);
27146 return *this;
27147 }
27148
27151 {
27153
27154 setOrdinary(offset, NullChar());
27155 return *this;
27156 }
27157
27161 bool asset(StrRef& value) const
27163 {
27166
27167 return fixedStr<length>(value, offset);
27168 }
27169
27174 {
27177
27178 setFixedStr<length>(offset, value);
27179 return *this;
27180 }
27181
27184 {
27187
27188 setFixedStr<length>(offset, StrRef());
27189 return *this;
27190 }
27191
27194 bool
27196 SecurityIDOptional& value) const
27198 {
27200
27201 return ordinary(value, offset, NullSecurityIDOptional());
27202 }
27203
27207 {
27209
27210 setOrdinary(offset, value);
27211 return *this;
27212 }
27213
27216 {
27218
27220 return *this;
27221 }
27222
27231
27233
27240 {
27241 return constructStrRef("BVMF");
27242 }
27243
27247 bool investorId(InvestorID& value) const
27249 {
27251
27252 return ordinary(value, offset, NullInvestorID());
27253 }
27254
27259 {
27261
27262 setOrdinary(offset, value);
27263 return *this;
27264 }
27265
27268 {
27270
27271 setOrdinary(offset, NullInvestorID());
27272 return *this;
27273 }
27274
27277 StrRef text() const
27279 {
27280 return getVariableLengthField(textAccess(), *this);
27281 }
27282
27285 {
27287 textAccess(),
27288 value,
27289 *this);
27290
27291 return *this;
27292 }
27293
27297 static
27298 BlockLength
27302 {
27303 return
27304 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
27305 72;
27306 }
27307
27311 static
27312 BlockLength
27316 {
27317 return
27318 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
27320 }
27321
27326 static
27330 {
27331 return
27332 ONIXS_B3_BOE_ASSERT(version >= Schema::MinimalVersion),
27333 static_cast<MessageSize>(TextEncoding::Size);
27334 }
27335
27340 static UInt64 getMaxMessageSize(UInt8)
27342 {
27343 return
27345 }
27346
27350 {
27351 setTextToNull();
27352 return *this;
27353 }
27354
27358 {
27359 businessHeader().setSendingTimeToNull();
27360 businessHeader().setMarketSegmentIdToNull();
27365 setSideToNull();
27369
27371 return *this;
27372 }
27373
27378 static const Char* className()
27379 {
27380 return "OrderMassActionReport702";
27381 }
27382
27389 {
27390 return constructStrRef(
27391 "OrderMassActionReport702");
27392 }
27393
27395 void toString(
27396 std::string& dest,
27397 bool skipEmptyFields = false);
27398
27401 std::string toString(
27402 bool skipEmptyFields = false) const;
27403
27406 const void* tail() const
27408 {
27409 return
27410 toOpaquePtr(
27411 (text().end()));
27412 }
27413
27422
27423private:
27424 void checkLength(
27425 EncodedLength length, SchemaVersion version) const
27426 {
27427 const EncodedLength minimalRequiredLength =
27428 minimalBlockLength(version) +
27430 getMinimalVariableFieldsSize(version);
27431
27432 checkBinaryLength(
27433 *this, length, minimalRequiredLength);
27434 }
27435
27437 void checkVarLenFields() const
27438 {
27439 variableLengthFields().
27440 checkTail<TextEncoding>();
27441 }
27442
27443 void checkCompatibility() const
27444 {
27445 assert(TemplateId == templateId());
27446
27447 checkSchema<Schema>(schemaId(), version());
27448 checkLength(bufferSize(), version());
27449 checkVarLenFields();
27450 }
27451
27453 struct textAccess
27454 {
27455 TextEncoding&
27456 operator()(
27457 const OrderMassActionReport702& obj) const
27459 {
27460 return obj.
27461 variableLengthFields().
27462 head<TextEncoding>();
27463 }
27464 };
27465
27468 ThisType& setTextToNull()
27470 {
27471 setVariableLengthFieldToNull(textAccess(), *this);
27472
27473 return *this;
27474 }
27475};
27476
27477
#define ONIXS_B3_BOE_LTWT_STRUCT
Definition ABI.h:88
#define ONIXS_B3_BOE_LTWT_EXPORTED
Definition ABI.h:92
#define ONIXS_B3_BOE_MESSAGING_NAMESPACE_END
Definition ABI.h:144
#define ONIXS_B3_BOE_MESSAGING_NAMESPACE_BEGIN
Definition ABI.h:140
#define ONIXS_B3_BOE_UNUSED
Definition Compiler.h:207
#define ONIXS_B3_BOE_CONSTEXPR
Definition Compiler.h:185
#define ONIXS_B3_BOE_NODISCARD
Definition Compiler.h:191
#define ONIXS_B3_BOE_DEFAULT
Definition Compiler.h:208
#define ONIXS_B3_BOE_CONST_OR_CONSTEXPR
Definition Compiler.h:184
#define ONIXS_B3_BOE_NOTHROW
Definition Compiler.h:182
Header used for business messages that can go inbound or outbound.
const Value & accessOrdinary(MessageSize offset) const noexcept
Definition SbeMessage.h:91
Enumeration::Enum enumeration(MessageSize offset) const noexcept
Definition SbeMessage.h:132
Custodian information is required for going private offer.
Unique ID for all matches that occur as a result of a implied event.
Header used for inbound business messages.
Self trade prevention investor identification is composed of the prefix and document.
Header used for outbound business messages.
void setFixedStr(MessageSize offset, StrRef value) noexcept
Definition SbeMessage.h:283
void setEnumeration(MessageSize offset, typename Enumeration::Enum value) noexcept
Definition SbeMessage.h:267
void setOrdinary(MessageSize offset, FieldValue value) noexcept
Definition SbeMessage.h:247
SBE-encoded repeating group.
Definition SbeMessage.h:651
const void * binary() const noexcept
MessageTemplateId templateId() const noexcept
SchemaId schemaId() const noexcept
Group getGroup(Callable callable, Owner &owner) const noexcept
MessageSize EncodedLength
Length of the message binary data.
void setupGroup(Group &group, typename Group::Size entryCount, const void *messageTail)
Initializes the group header.
SchemaVersion version() const noexcept
static constexpr MessageSize getMaxMessageSize() noexcept
Maximal message size.
BlockLength blockLength() const noexcept
SbeMessage() noexcept
Initializes a blank instance.
void setVariableLengthField(Callable callable, StrRef value, Owner &owner)
Sets the value of the variable length field.
void init(MessageHeader::TemplateId value, MessageHeader::BlockLength minimalBlockLength, MessageHeader::BlockLength blockLength, SchemaId id) noexcept
MessageSize BlockLength
Length of the message body representing a block of fixed-length fields.
StrRef getVariableLengthField(Callable callable, const Owner &owner) const noexcept
MessageSize calculateBinarySize(const void *tail) const noexcept
void constructGroup(Group &group, typename Group::Size entryCount, const void *messageTail)
Initializes the group header, sets all optional fields to null.
The time point without the time-zone information.
Definition Time.h:468
Identifies the version of what the field relates to.
IntegralConstant< UInt64, 0ULL > NullQuantityOptional
Null value for an optional QuantityOptional field.
Definition Fields.h:2452
IntegralConstant< UInt8, 0 > NullUint8EnumEncoding
Null value for an optional Uint8EnumEncoding field.
Definition Fields.h:2578
constexpr StrRef constructStrRef(const char(&value)[Size]) noexcept
Definition StrRef.h:415
IntegralConstant< UInt8, 0 > NullOrdTagID
Null value for an optional OrdTagID field.
Definition Fields.h:2524
IntegralConstant< UInt16, 0 > NullLocalMktDateOptional
Null value for an optional LocalMktDateOptional field.
Definition Fields.h:2458
FixedPointDecimal< Int64, IntegralConstant< Int8, -8 > > Price8
Definition Composites.h:268
LocalMktDate timestampToLocalMktDate(const Timestamp &timestamp) noexcept
Definition Fields.h:2600
IntegralConstant< UInt64, 0ULL > NullSessionVerIDOptional
Null value for an optional SessionVerIDOptional field.
Definition Fields.h:2440
IntegralConstant< UInt64, 0ULL > NullClOrdIDOptional
Null value for an optional ClOrdIDOptional field.
Definition Fields.h:2428
IntegralConstant< UInt64, 0ULL > NullSecurityIDOptional
Null value for an optional SecurityIDOptional field.
Definition Fields.h:2536
FixedPointDecimal< Int64, IntegralConstant< Int8, -4 > > PriceOffsetOptional
Definition Composites.h:347
IntegralConstant< UInt32, 0 > NullSeqNumOptional
Null value for an optional SeqNumOptional field.
Definition Fields.h:2446
FixedPointDecimal< Int64, IntegralConstant< Int8, -7 > > RatioQty
Definition Composites.h:494
IntegralConstant< UInt64, 0ULL > NullQuoteIDOptional
Null value for an optional QuoteIDOptional field.
Definition Fields.h:2554
IntegralConstant< UInt8, 0 > NullTotNoRelatedSym
Null value for an optional TotNoRelatedSym field.
Definition Fields.h:2566
FixedPointDecimal< Int64, IntegralConstant< Int8, -4 > > Price
Definition Composites.h:189
IntegralConstant< UInt32, 0 > NullFirmOptional
Null value for an optional FirmOptional field.
Definition Fields.h:2470
FixedPointDecimal< Int64, IntegralConstant< Int8, -8 > > Percentage8Optional
Definition Composites.h:426
IntegralConstant< UInt32, 0 > NullTradeIDOptional
Null value for an optional TradeIDOptional field.
Definition Fields.h:2548
MessageHeader::Version SchemaVersion
SBE-encoded data version type.
IntegralConstant< Char, '\x0'> NullChar
Null value for an optional Char field.
Definition Fields.h:32
FixedPointDecimal< Int64, IntegralConstant< Int8, -4 > > PriceOptional
Definition Composites.h:200
IntegralConstant< UInt64, 0ULL > NullOrderIDOptional
Null value for an optional OrderIDOptional field.
Definition Fields.h:2488
IntegralConstant< UInt8, 255 > NullUInt8
Null value for an optional UInt8 field.
Definition Fields.h:38
char Char
Character type alias.
Definition String.h:30
IntegralConstant< UInt16, 0 > NullUint16EnumEncoding
Null value for an optional Uint16EnumEncoding field.
Definition Fields.h:2584
IntegralConstant< UInt64, 0ULL > NullMassActionReportIDOptional
Null value for an optional MassActionReportIDOptional field.
Definition Fields.h:2518
IntegralConstant< UInt64, 0ULL > NullPosReqIDOptional
Null value for an optional PosReqIDOptional field.
Definition Fields.h:2506
UInt16 MessageSize
Message length type.
Definition Aliases.h:29
Timestamp localMktDateToTimestamp(LocalMktDate days) noexcept
Converts days since epoch to Timestamp value.
Definition Fields.h:2592
UInt16 DaysToSettlementOptional
Definition Fields.h:195
IntegralConstant< Int32, 0 > NullStrategyIDOptional
Null value for an optional StrategyIDOptional field.
Definition Fields.h:2572
std::basic_string_view< Char > StrRef
Definition StrRef.h:46
void checkVersion(SchemaVersion version)
Checks the compatibility with the provided SBE Schema version.
IntegralConstant< UInt32, 0 > NullRejReasonOptional
Null value for an optional RejReasonOptional field.
Definition Fields.h:2494
IntegralConstant< UInt32, 0 > NullAccountOptional
Null value for an optional AccountOptional field.
Definition Fields.h:2464
void checkSchema(SchemaId id, SchemaVersion version)
Checks the compatibility with the provided SBE Schema version.
FixedPointDecimal< Int64, IntegralConstant< Int8, -8 > > Price8Optional
Definition Composites.h:279
IntegralConstant< UInt64, 0ULL > NullPosMaintRptIDOptional
Null value for an optional PosMaintRptIDOptional field.
Definition Fields.h:2500
IntegralConstant< UInt64, 0ULL > NullExecIDOptional
Null value for an optional ExecIDOptional field.
Definition Fields.h:2482
IntegralConstant< UInt64, 0ULL > NullQuoteReqIDOptional
Null value for an optional QuoteReqIDOptional field.
Definition Fields.h:2560
IntegralConstant< UInt32, 0 > NullSessionIDOptional
Null value for an optional SessionIDOptional field.
Definition Fields.h:2434
IntegralConstant< UInt16, 65535 > NullDaysToSettlementOptional
Null value for an optional DaysToSettlementOptional field.
Definition Fields.h:2476
UInt64 MassActionReportIDOptional
Definition Fields.h:289
IntegralConstant< UInt64, 0ULL > NullBusinessRejectRefID
Null value for an optional BusinessRejectRefID field.
Definition Fields.h:2512
FixedPointDecimal< Int64, IntegralConstant< Int8, -8 > > Percentage8
Definition Composites.h:415
IntegralConstant< UInt64, 0ULL > NullCrossIDOptional
Null value for an optional CrossIDOptional field.
Definition Fields.h:2542
Enum
Type of Account associated with an order.
Definition Fields.h:1942
Enum
Indicates how the orders being booked and allocated by an Allocation Instruction.
Definition Fields.h:505
Enum
Describes the specific type or purpose of an Allocation Report message.
Definition Fields.h:461
Enum
Identifies status of allocation.
Definition Fields.h:527
Enum
Identifies allocation transaction type.
Definition Fields.h:436
Enum
Describes the specific type or purpose of an Allocation message.
Definition Fields.h:483
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:25470
ThisType & setTradeId(TradeID value) noexcept
Definition Messages.h:25278
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:25432
bool tradeDate(Timestamp &value) const noexcept
Definition Messages.h:25290
ThisType & setIndividualAllocId(AllocID value) noexcept
Definition Messages.h:25340
static constexpr MessageType::Enum messageType() noexcept
Message type = AllocationInstruction.
Definition Messages.h:25032
AllocType::Enum allocType() const noexcept
Definition Messages.h:25145
ThisType & setAllocNoOrdersType(AllocNoOrdersType::Enum value) noexcept
Definition Messages.h:25178
AllocationInstruction601(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:24980
AllocationInstruction601(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:25005
ThisType & setAllocType(AllocType::Enum value) noexcept
Definition Messages.h:25155
ThisType & setAllocId(AllocID value) noexcept
Unique identifier for this allocation instruction message.
Definition Messages.h:25070
ThisType & setQuantity(Quantity value) noexcept
Overall/total quantity (e.g. number of shares).
Definition Messages.h:25199
static constexpr const Char * className()
Definition Messages.h:25501
AllocID allocId() const noexcept
Unique identifier for this allocation instruction message.
Definition Messages.h:25061
AllocationInstruction601()=default
Initializes a blank instance.
SchemaTraits Schema
Used template schema.
Definition Messages.h:24953
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:25253
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:25081
ThisType & setTradeDate(Timestamp value) noexcept
Definition Messages.h:25309
Quantity quantity() const noexcept
Overall/total quantity (e.g. number of shares).
Definition Messages.h:25190
ThisType & setAllocQty(Quantity value) noexcept
Quantity allocated to specific sub-account.
Definition Messages.h:25380
const InboundBusinessHeader & businessHeader() const noexcept
Message type = AllocationInstruction.
Definition Messages.h:25043
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:25114
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:25052
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:25243
ThisType & setAllocAccount(Account value) noexcept
Sub-account mnemonic.
Definition Messages.h:25360
AllocationInstruction601(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:25016
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:25231
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:25458
Quantity allocQty() const noexcept
Quantity allocated to specific sub-account.
Definition Messages.h:25371
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:25090
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:25444
AllocNoOrdersType::Enum allocNoOrdersType() const noexcept
Definition Messages.h:25167
static constexpr Side::Enum side() noexcept
Side of order.
Definition Messages.h:25211
Account allocAccount() const noexcept
Sub-account mnemonic.
Definition Messages.h:25351
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:25510
AllocTransType::Enum allocTransType() const noexcept
Identifies allocation transaction type.
Definition Messages.h:25122
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:25391
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:25406
StrRef senderLocation() const noexcept
Side of order.
Definition Messages.h:25221
AllocationInstruction601(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:24994
ThisType & setAllocTransType(AllocTransType::Enum value) noexcept
Identifies allocation transaction type.
Definition Messages.h:25132
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:25487
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:25399
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:25102
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:25539
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:25417
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:25478
AllocationInstruction601 ThisType
This type alias.
Definition Messages.h:24956
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:26125
AllocationReport602(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:25684
ThisType & setAllocReportId(AllocReportID value) noexcept
Unique identifier for this message.
Definition Messages.h:25810
ThisType & setAllocRejCode(RejReasonOptional value) noexcept
Identifies reason for rejection.
Definition Messages.h:25900
bool allocRejCode(RejReasonOptional &value) const noexcept
Identifies reason for rejection.
Definition Messages.h:25891
ThisType & setAllocReportType(AllocReportType::Enum value) noexcept
Definition Messages.h:25855
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:26087
bool tradeDate(Timestamp &value) const noexcept
Definition Messages.h:25961
AllocationReport602(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:25659
static constexpr MessageType::Enum messageType() noexcept
Message type = AllocationReport.
Definition Messages.h:25711
ThisType & setAllocNoOrdersType(AllocNoOrdersType::Enum value) noexcept
Definition Messages.h:25879
AllocationReport602(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:25695
ThisType & setAllocId(AllocID value) noexcept
Unique identifier for this allocation instruction message.
Definition Messages.h:25749
ThisType & setQuantity(Quantity value) noexcept
Overall/total quantity (e.g. number of shares).
Definition Messages.h:25929
static constexpr const Char * className()
Definition Messages.h:26157
AllocReportType::Enum allocReportType() const noexcept
Definition Messages.h:25844
AllocID allocId() const noexcept
Unique identifier for this allocation instruction message.
Definition Messages.h:25740
SchemaTraits Schema
Used template schema.
Definition Messages.h:25632
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:26072
AllocationReport602 ThisType
This type alias.
Definition Messages.h:25635
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:25760
ThisType & setTradeDate(Timestamp value) noexcept
Definition Messages.h:25980
Quantity quantity() const noexcept
Overall/total quantity (e.g. number of shares).
Definition Messages.h:25920
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:26020
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:25793
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:26062
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:26050
ThisType & setAllocStatus(AllocStatus::Enum value) noexcept
Identifies status of allocation.
Definition Messages.h:25949
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:26113
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:25769
AllocationReport602()=default
Initializes a blank instance.
OutboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:25731
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:26099
AllocationReport602(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:25673
AllocNoOrdersType::Enum allocNoOrdersType() const noexcept
Definition Messages.h:25868
AllocStatus::Enum allocStatus() const noexcept
Identifies status of allocation.
Definition Messages.h:25940
const OutboundBusinessHeader & businessHeader() const noexcept
Message type = AllocationReport.
Definition Messages.h:25722
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:26166
AllocTransType::Enum allocTransType() const noexcept
Identifies allocation transaction type.
Definition Messages.h:25821
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:26040
ThisType & setAllocTransType(AllocTransType::Enum value) noexcept
Identifies allocation transaction type.
Definition Messages.h:25831
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:26141
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:26029
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:26000
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:25781
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:26197
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:26134
AllocReportID allocReportId() const noexcept
Unique identifier for this message.
Definition Messages.h:25801
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:26009
ThisType & setBusinessRejectRefId(BusinessRejectRefID value) noexcept
Definition Messages.h:17026
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:17149
RejReason businessRejectReason() const noexcept
Code to identify the reason of the rejection.
Definition Messages.h:17047
BusinessMessageReject206 ThisType
This type alias.
Definition Messages.h:16865
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:17108
ThisType & setRefSeqNum(SeqNum value) noexcept
Message sequence number of rejected message.
Definition Messages.h:16999
MessageType::Enum refMsgType() const noexcept
MsgType of the FIX message being referenced.
Definition Messages.h:16970
static constexpr MessageType::Enum messageType() noexcept
Message type = BusinessMessageReject.
Definition Messages.h:16941
static constexpr const Char * className()
Definition Messages.h:17181
ThisType & setText(StrRef value)
Free ASCII format text string.
Definition Messages.h:17093
SchemaTraits Schema
Used template schema.
Definition Messages.h:16862
SeqNum refSeqNum() const noexcept
Message sequence number of rejected message.
Definition Messages.h:16990
bool businessRejectRefId(BusinessRejectRefID &value) const noexcept
Definition Messages.h:17013
BusinessMessageReject206(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:16925
ThisType & setBusinessRejectReason(RejReason value) noexcept
Code to identify the reason of the rejection.
Definition Messages.h:17056
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:17137
BusinessMessageReject206(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:16914
OutboundBusinessHeader & businessHeader() noexcept
Common header to all outbound business messages.
Definition Messages.h:16961
BusinessMessageReject206(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:16889
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:17122
StrRef text() const noexcept
Free ASCII format text string.
Definition Messages.h:17075
const OutboundBusinessHeader & businessHeader() const noexcept
Message type = BusinessMessageReject.
Definition Messages.h:16952
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:17190
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:17166
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:17067
BusinessMessageReject206(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:16903
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:17219
ThisType & setRefMsgType(MessageType::Enum value) noexcept
MsgType of the FIX message being referenced.
Definition Messages.h:16979
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:17082
BusinessMessageReject206()=default
Initializes a blank instance.
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:17157
Enum
Criteria used to initiate cancel on disconnect mechanism by the gateway.
Definition Fields.h:1423
Enum
Valid order type for cross-order operations.
Definition Fields.h:1612
Enum
Indicates if one side or the other of a cross order should be prioritized.
Definition Fields.h:2207
Enum
Type of cross being submitted to a market.
Definition Fields.h:2178
Enum
Indicates cross order purpose.
Definition Fields.h:2045
Enum
Identifies the type of request that this cancel reject is in response to.
Definition Fields.h:1967
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:1716
DeltaInMillis keepAliveInterval() const noexcept
Definition Messages.h:1556
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:1675
ThisType & setCodTimeoutWindow(DeltaInMillis value) noexcept
Definition Messages.h:1640
SeqNum nextSeqNo() const noexcept
Definition Messages.h:1579
const void * tail() const noexcept
Definition Messages.h:1770
Establish4(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:1420
static constexpr MessageType::Enum messageType() noexcept
Message type = Establish.
Definition Messages.h:1472
Establish4 ThisType
This type alias.
Definition Messages.h:1396
ThisType & setKeepAliveInterval(DeltaInMillis value) noexcept
Definition Messages.h:1567
static constexpr const Char * className()
Definition Messages.h:1743
StrRef credentials() const noexcept
Credentials to identify/authenticate the client. The format is a JSON with the following data: { "aut...
Definition Messages.h:1651
SchemaTraits Schema
Used template schema.
Definition Messages.h:1393
Establish4(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:1456
Establish4()=default
Initializes a blank instance.
CancelOnDisconnectType::Enum cancelOnDisconnectType() const noexcept
Definition Messages.h:1602
ThisType & setSessionVerId(SessionVerID value) noexcept
Definition Messages.h:1521
ThisType & setCredentials(StrRef value)
Credentials to identify/authenticate the client. The format is a JSON with the following data: { "aut...
Definition Messages.h:1660
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:1704
Establish4(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:1434
ThisType & setTimestamp(UTCTimestampNanos value) noexcept
Definition Messages.h:1543
SessionID sessionId() const noexcept
Message type = Establish.
Definition Messages.h:1483
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:1689
ThisType & setNextSeqNo(SeqNum value) noexcept
Definition Messages.h:1589
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:1752
ThisType & setCancelOnDisconnectType(CancelOnDisconnectType::Enum value) noexcept
Definition Messages.h:1613
Establish4(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:1445
UTCTimestampNanos timestamp() const noexcept
Definition Messages.h:1533
SessionVerID sessionVerId() const noexcept
Definition Messages.h:1508
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:1732
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:1780
DeltaInMillis codTimeoutWindow() const noexcept
Definition Messages.h:1628
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:1493
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:1724
ThisType & setLastIncomingSeqNo(SeqNum value) noexcept
Definition Messages.h:2065
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:2148
DeltaInMillis keepAliveInterval() const noexcept
Definition Messages.h:2007
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:2109
SeqNum nextSeqNo() const noexcept
Definition Messages.h:2029
const void * tail() const noexcept
Definition Messages.h:2207
UTCTimestampNanos requestTimestamp() const noexcept
Matches Negotiate timestamp.
Definition Messages.h:1986
static constexpr MessageType::Enum messageType() noexcept
Message type = EstablishAck.
Definition Messages.h:1926
ThisType & setKeepAliveInterval(DeltaInMillis value) noexcept
Definition Messages.h:2017
static constexpr const Char * className()
Definition Messages.h:2180
SchemaTraits Schema
Used template schema.
Definition Messages.h:1847
EstablishAck5(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:1874
ThisType & setRequestTimestamp(UTCTimestampNanos value) noexcept
Matches Negotiate timestamp.
Definition Messages.h:1995
ThisType & setSessionVerId(SessionVerID value) noexcept
Definition Messages.h:1975
EstablishAck5(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:1888
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:2136
SessionID sessionId() const noexcept
Message type = EstablishAck.
Definition Messages.h:1937
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:2122
ThisType & setNextSeqNo(SeqNum value) noexcept
Definition Messages.h:2039
SeqNum lastIncomingSeqNo() const noexcept
Definition Messages.h:2053
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:2189
ThisType & setSemanticVersion(Version value)
Definition Messages.h:2088
EstablishAck5(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:1910
bool semanticVersion(Version &value) const noexcept
Definition Messages.h:2077
EstablishAck5 ThisType
This type alias.
Definition Messages.h:1850
EstablishAck5()=default
Initializes a blank instance.
EstablishAck5(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:1899
SessionVerID sessionVerId() const noexcept
Definition Messages.h:1962
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:2164
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:2220
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:1947
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:2157
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:2518
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:2477
EstablishReject6(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:2282
EstablishReject6()=default
Initializes a blank instance.
const void * tail() const noexcept
Definition Messages.h:2574
UTCTimestampNanos requestTimestamp() const noexcept
Matches Negotiate timestamp.
Definition Messages.h:2394
EstablishReject6(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:2318
static constexpr MessageType::Enum messageType() noexcept
Message type = EstablishReject.
Definition Messages.h:2334
ThisType & setLastIncomingSeqNo(SeqNumOptional value) noexcept
Definition Messages.h:2454
static constexpr const Char * className()
Definition Messages.h:2547
ThisType & setEstablishmentRejectCode(EstablishRejectCode::Enum value) noexcept
Identifies the code of reject establishment.
Definition Messages.h:2425
SchemaTraits Schema
Used template schema.
Definition Messages.h:2255
ThisType & setRequestTimestamp(UTCTimestampNanos value) noexcept
Matches Negotiate timestamp.
Definition Messages.h:2403
bool lastIncomingSeqNo(SeqNumOptional &value) const noexcept
Definition Messages.h:2441
ThisType & setSessionVerId(SessionVerID value) noexcept
Definition Messages.h:2383
EstablishReject6 ThisType
This type alias.
Definition Messages.h:2258
EstablishRejectCode::Enum establishmentRejectCode() const noexcept
Identifies the code of reject establishment.
Definition Messages.h:2415
ThisType & setLastIncomingSeqNoToNull() noexcept
Definition Messages.h:2463
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:2506
EstablishReject6(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:2296
SessionID sessionId() const noexcept
Message type = EstablishReject.
Definition Messages.h:2345
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:2491
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:2556
SessionVerID sessionVerId() const noexcept
Definition Messages.h:2370
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:2534
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:2587
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:2355
EstablishReject6(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:2307
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:2527
Enum
Identifies the code of reject establishment.
Definition Fields.h:1237
Enum
Used to communicate event type which triggers mass cancelation.
Definition Fields.h:1761
Enum
Used to communicate a reason for a solicited cancel.
Definition Fields.h:1739
Enum
Indicates reason for restatement/cancelation, if available.
Definition Fields.h:1786
Enum
Describes the action that triggered this specific Execution Report - see the OrdStatus (39) tag for t...
Definition Fields.h:1668
Enum
Specifies if a simultaneous trade of the underlying is to be performed.
Definition Fields.h:844
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:13112
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:12939
ThisType & setMarketSegmentReceivedTime(UTCTimestampNanosOptional value) noexcept
Definition Messages.h:12468
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:13070
bool expireDate(Timestamp &value) const noexcept
Definition Messages.h:12695
TimeInForce::Enum timeInForce() const noexcept
Specifies how long the order remains in effect.
Definition Messages.h:12674
static constexpr MessageType::Enum messageType() noexcept
MessageType.ExecutionReport_Cancel.
Definition Messages.h:12205
ThisType & setExecRestatementReason(ExecRestatementReason::Enum value) noexcept
Indicates reason for cancelation, if available.
Definition Messages.h:12598
bool marketSegmentReceivedTime(UTCTimestampNanosOptional &value) const noexcept
Definition Messages.h:12455
bool massActionReportId(MassActionReportIDOptional &value) const noexcept
Definition Messages.h:12621
bool execRestatementReason(ExecRestatementReason::Enum &value) const noexcept
Indicates reason for cancelation, if available.
Definition Messages.h:12587
bool price(PriceOptional &value) const noexcept
Definition Messages.h:12755
ThisType & setOrdType(OrdType::Enum value) noexcept
Order type.
Definition Messages.h:12663
bool strategyId(StrategyIDOptional &value) const noexcept
Client-assigned identification of a strategy.
Definition Messages.h:12970
ThisType & setReceivedTime(UTCTimestampNanosOptional value) noexcept
Time of receipt of related inbound message in the gateway.
Definition Messages.h:12888
static constexpr const Char * className()
Definition Messages.h:13158
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:12734
SchemaTraits Schema
Used template schema.
Definition Messages.h:12126
ExecutionReportCancel202(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:12167
ThisType & setExecId(ExecID value) noexcept
Definition Messages.h:12421
ThisType & setWorkingIndicator(Boolean::Enum value) noexcept
Definition Messages.h:12575
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:12320
ThisType & setTradeDate(Timestamp value) noexcept
Definition Messages.h:12551
ThisType & setExpireDate(Timestamp value) noexcept
Definition Messages.h:12714
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:12234
OrderID orderId() const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:12489
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:12909
ThisType & setCumQty(Quantity value) noexcept
Total number of shares or contracts filled.
Definition Messages.h:12370
ThisType & setActionRequestedFromSessionId(SessionIDOptional value) noexcept
Definition Messages.h:13011
bool origClOrdId(ClOrdIDOptional &value) const noexcept
Definition Messages.h:12510
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:12949
ThisType & setMaxFloor(QuantityOptional value) noexcept
Definition Messages.h:12856
ExecutionReportCancel202 ThisType
This type alias.
Definition Messages.h:12129
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:12353
ThisType & setStopPx(PriceOptional value) noexcept
Definition Messages.h:12796
ThisType & setStrategyId(StrategyIDOptional value) noexcept
Client-assigned identification of a strategy.
Definition Messages.h:12980
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:13100
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:12918
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:12329
ThisType & setOrderId(OrderID value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:12498
OutboundBusinessHeader & businessHeader() noexcept
Common header to all outbound business messages.
Definition Messages.h:12225
ThisType & setMinQty(QuantityOptional value) noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:12825
OrdStatus::Enum ordStatus() const noexcept
Identifies current status of order.
Definition Messages.h:12254
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:13085
ExecutionReportCancel202(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:12153
bool receivedTime(UTCTimestampNanosOptional &value) const noexcept
Time of receipt of related inbound message in the gateway.
Definition Messages.h:12877
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:12743
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:12381
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:12765
const OutboundBusinessHeader & businessHeader() const noexcept
MessageType.ExecutionReport_Cancel.
Definition Messages.h:12216
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:13167
ExecutionReportCancel202(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:12178
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:13031
ThisType & setSecondaryOrderId(OrderID value) noexcept
Definition Messages.h:12309
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:13046
OrdType::Enum ordType() const noexcept
Order type.
Definition Messages.h:12654
Quantity cumQty() const noexcept
Total number of shares or contracts filled.
Definition Messages.h:12361
ThisType & setTimeInForce(TimeInForce::Enum value) noexcept
Specifies how long the order remains in effect.
Definition Messages.h:12683
Boolean::Enum workingIndicator() const noexcept
Definition Messages.h:12564
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:12390
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:12285
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:13129
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:12243
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:13039
ThisType & setMassActionReportId(MassActionReportIDOptional value) noexcept
Definition Messages.h:12633
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:12432
ThisType & setOrdStatus(OrdStatus::Enum value) noexcept
Identifies current status of order.
Definition Messages.h:12263
ExecutionReportCancel202()=default
Initializes a blank instance.
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:12341
bool actionRequestedFromSessionId(SessionIDOptional &value) const noexcept
Definition Messages.h:13001
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:13196
ThisType & setOrigClOrdId(ClOrdIDOptional value) noexcept
Definition Messages.h:12520
bool stopPx(PriceOptional &value) const noexcept
Definition Messages.h:12786
bool maxFloor(QuantityOptional &value) const noexcept
Definition Messages.h:12846
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:13057
bool minQty(QuantityOptional &value) const noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:12816
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:13120
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:12441
ExecutionReportCancel202(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:12189
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:16685
ThisType & setTradeId(TradeID value) noexcept
Definition Messages.h:16183
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:16643
ThisType & setLastQty(Quantity value) noexcept
Quantity of shares bought/sold on the last fill.
Definition Messages.h:16057
ExecutionReportForward205 ThisType
This type alias.
Definition Messages.h:15778
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:16584
bool settlType(SettlType::Enum &value) const noexcept
Definition Messages.h:16257
ThisType & setSettlType(SettlType::Enum value) noexcept
Definition Messages.h:16267
static constexpr MessageType::Enum messageType() noexcept
MessageType.ExecutionReport_Forward.
Definition Messages.h:15854
ThisType & setFixedRate(Percentage8Optional value) noexcept
Definition Messages.h:16434
bool clOrdId(ClOrdIDOptional &value) const noexcept
Definition Messages.h:15924
ThisType & setLeavesQty(Quantity value) noexcept
Definition Messages.h:16141
bool fixedRate(Percentage8Optional &value) const noexcept
Definition Messages.h:16419
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:16455
Price lastPx() const noexcept
Price of last fill.
Definition Messages.h:16068
SchemaTraits Schema
Used template schema.
Definition Messages.h:15775
Boolean::Enum aggressorIndicator() const noexcept
Definition Messages.h:16235
ThisType & setExecId(ExecID value) noexcept
Definition Messages.h:16099
ExecutionReportForward205(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:15827
ThisType & setTradingSessionSubId(TradingSessionSubID::Enum value) noexcept
Identifier for the instrument group phase.
Definition Messages.h:16520
ThisType & setSecurityTradingStatus(SecurityTradingStatus::Enum value) noexcept
Identifier for the instrument status.
Definition Messages.h:16553
ExecutionReportForward205(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:15838
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:15978
ThisType & setTradeDate(Timestamp value) noexcept
Definition Messages.h:16298
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:15883
OrderID orderId() const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:16214
bool secondaryExecId(ExecIDOptional &value) const noexcept
Definition Messages.h:16350
ThisType & setCumQty(Quantity value) noexcept
Total number of shares or contracts filled.
Definition Messages.h:16161
ThisType & setContraBroker(Firm value) noexcept
Identifies the contra broker firm.
Definition Messages.h:16203
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:16011
ExecutionReportForward205(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:15802
ThisType & setDaysToSettlement(DaysToSettlementOptional value) noexcept
Definition Messages.h:16325
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:16673
bool execRefId(ExecIDOptional &value) const noexcept
Definition Messages.h:16384
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:15987
ThisType & setOrderId(OrderID value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:16223
OutboundBusinessHeader & businessHeader() noexcept
Common header to all outbound business messages.
Definition Messages.h:15874
OrdStatus::Enum ordStatus() const noexcept
Identifies current status of order.
Definition Messages.h:15903
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:16658
bool tradingSessionId(TradingSessionID::Enum &value) const noexcept
Identifier for Trading Session.
Definition Messages.h:16476
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:16464
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:16019
const OutboundBusinessHeader & businessHeader() const noexcept
MessageType.ExecutionReport_Forward.
Definition Messages.h:15865
ThisType & setTradingSessionId(TradingSessionID::Enum value) noexcept
Identifier for Trading Session.
Definition Messages.h:16487
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:16740
bool daysToSettlement(DaysToSettlementOptional &value) const noexcept
Definition Messages.h:16312
ThisType & setSecondaryExecId(ExecIDOptional value) noexcept
Definition Messages.h:16363
ExecutionReportForward205()=default
Initializes a blank instance.
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:16604
ThisType & setSecondaryOrderId(OrderID value) noexcept
Definition Messages.h:15967
Firm contraBroker() const noexcept
Identifies the contra broker firm.
Definition Messages.h:16194
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:16619
ThisType & setClOrdId(ClOrdIDOptional value) noexcept
Definition Messages.h:15934
Quantity cumQty() const noexcept
Total number of shares or contracts filled.
Definition Messages.h:16152
ExecutionReportForward205(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:15816
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:16028
ThisType & setExecRefId(ExecIDOptional value) noexcept
Definition Messages.h:16394
bool tradingSessionSubId(TradingSessionSubID::Enum &value) const noexcept
Identifier for the instrument group phase.
Definition Messages.h:16509
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:16702
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:15892
bool securityTradingStatus(SecurityTradingStatus::Enum &value) const noexcept
Identifier for the instrument status.
Definition Messages.h:16542
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:16612
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:16110
ThisType & setLastPx(Price value) noexcept
Price of last fill.
Definition Messages.h:16077
ThisType & setOrdStatus(OrdStatus::Enum value) noexcept
Identifies current status of order.
Definition Messages.h:15912
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:16574
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:15999
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:16769
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:16630
Quantity lastQty() const noexcept
Quantity of shares bought/sold on the last fill.
Definition Messages.h:16048
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:16693
ThisType & setAggressorIndicator(Boolean::Enum value) noexcept
Definition Messages.h:16245
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:16119
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:11939
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:11694
ThisType & setMarketSegmentReceivedTime(UTCTimestampNanosOptional value) noexcept
Definition Messages.h:11221
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:11895
bool expireDate(Timestamp &value) const noexcept
Definition Messages.h:11450
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:11836
TimeInForce::Enum timeInForce() const noexcept
Specifies how long the order remains in effect.
Definition Messages.h:11429
bool mmProtectionReset(Boolean::Enum &value) const noexcept
Definition Messages.h:11728
static constexpr MessageType::Enum messageType() noexcept
MessageType.ExecutionReport_Modify.
Definition Messages.h:10936
ThisType & setMultiLegReportingType(MultiLegReportingType::Enum value) noexcept
Definition Messages.h:11388
bool marketSegmentReceivedTime(UTCTimestampNanosOptional &value) const noexcept
Definition Messages.h:11208
bool execRestatementReason(ExecRestatementReason::Enum &value) const noexcept
Indicates reason for restatement, if available.
Definition Messages.h:11762
ThisType & setLeavesQty(Quantity value) noexcept
Definition Messages.h:11103
bool price(PriceOptional &value) const noexcept
Definition Messages.h:11510
ThisType & setOrdType(OrdType::Enum value) noexcept
Order type.
Definition Messages.h:11418
bool strategyId(StrategyIDOptional &value) const noexcept
Client-assigned identification of a strategy.
Definition Messages.h:11796
ThisType & setReceivedTime(UTCTimestampNanosOptional value) noexcept
Time of receipt of related inbound message in the gateway.
Definition Messages.h:11643
static constexpr const Char * className()
Definition Messages.h:11995
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:11489
SchemaTraits Schema
Used template schema.
Definition Messages.h:10857
ThisType & setExecId(ExecID value) noexcept
Definition Messages.h:11154
ThisType & setWorkingIndicator(Boolean::Enum value) noexcept
Definition Messages.h:11363
bool protectionPrice(PriceOptional &value) const noexcept
Definition Messages.h:11296
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:11051
ExecutionReportModify201(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:10920
ThisType & setTradeDate(Timestamp value) noexcept
Definition Messages.h:11339
ThisType & setExpireDate(Timestamp value) noexcept
Definition Messages.h:11469
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:10965
OrderID orderId() const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:11242
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:11664
ThisType & setCumQty(Quantity value) noexcept
Total number of shares or contracts filled.
Definition Messages.h:11194
bool origClOrdId(ClOrdIDOptional &value) const noexcept
Definition Messages.h:11263
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:11704
ThisType & setMaxFloor(QuantityOptional value) noexcept
Definition Messages.h:11611
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:11084
ThisType & setStopPx(PriceOptional value) noexcept
Definition Messages.h:11551
ThisType & setStrategyId(StrategyIDOptional value) noexcept
Client-assigned identification of a strategy.
Definition Messages.h:11806
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:11927
ExecutionReportModify201 ThisType
This type alias.
Definition Messages.h:10860
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:11673
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:11060
ThisType & setExecRestatementReason(ExecRestatementReason::Enum value)
Indicates reason for restatement, if available.
Definition Messages.h:11774
ThisType & setOrderId(OrderID value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:11251
OutboundBusinessHeader & businessHeader() noexcept
Common header to all outbound business messages.
Definition Messages.h:10956
ThisType & setMinQty(QuantityOptional value) noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:11580
OrdStatus::Enum ordStatus() const noexcept
Identifies current status of order.
Definition Messages.h:10985
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:11912
ExecutionReportModify201(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:10898
bool receivedTime(UTCTimestampNanosOptional &value) const noexcept
Time of receipt of related inbound message in the gateway.
Definition Messages.h:11632
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:11498
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:11114
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:11520
const OutboundBusinessHeader & businessHeader() const noexcept
MessageType.ExecutionReport_Modify.
Definition Messages.h:10947
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:12004
ExecutionReportModify201(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:10909
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:11856
ThisType & setSecondaryOrderId(OrderID value) noexcept
Definition Messages.h:11040
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:11871
OrdType::Enum ordType() const noexcept
Order type.
Definition Messages.h:11409
Quantity cumQty() const noexcept
Total number of shares or contracts filled.
Definition Messages.h:11185
ThisType & setTimeInForce(TimeInForce::Enum value) noexcept
Specifies how long the order remains in effect.
Definition Messages.h:11438
Boolean::Enum workingIndicator() const noexcept
Definition Messages.h:11352
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:11123
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:11016
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:11956
ExecutionReportModify201(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:10884
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:10974
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:11864
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:11165
ThisType & setOrdStatus(OrdStatus::Enum value) noexcept
Identifies current status of order.
Definition Messages.h:10994
ExecutionReportModify201()=default
Initializes a blank instance.
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:11826
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:11072
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:12033
ThisType & setOrigClOrdId(ClOrdIDOptional value) noexcept
Definition Messages.h:11273
bool stopPx(PriceOptional &value) const noexcept
Definition Messages.h:11541
ThisType & setMmProtectionReset(Boolean::Enum value) noexcept
Definition Messages.h:11741
ThisType & setProtectionPrice(PriceOptional value) noexcept
Definition Messages.h:11308
bool maxFloor(QuantityOptional &value) const noexcept
Definition Messages.h:11601
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:11882
bool minQty(QuantityOptional &value) const noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:11571
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:11947
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:11174
bool multiLegReportingType(MultiLegReportingType::Enum &value) const noexcept
Definition Messages.h:11376
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:10674
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:10395
bool crossPrioritization(CrossPrioritization::Enum &value) const noexcept
Definition Messages.h:10459
ThisType & setMarketSegmentReceivedTime(UTCTimestampNanosOptional value) noexcept
Definition Messages.h:9942
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:10630
bool expireDate(Timestamp &value) const noexcept
Definition Messages.h:10120
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:10571
TimeInForce::Enum timeInForce() const noexcept
Specifies how long the order remains in effect.
Definition Messages.h:10099
bool mmProtectionReset(Boolean::Enum &value) const noexcept
Definition Messages.h:10497
static constexpr MessageType::Enum messageType() noexcept
MessageType.ExecutionReport_New.
Definition Messages.h:9679
ThisType & setMultiLegReportingType(MultiLegReportingType::Enum value) noexcept
Definition Messages.h:10058
bool marketSegmentReceivedTime(UTCTimestampNanosOptional &value) const noexcept
Definition Messages.h:9929
ThisType & setCrossPrioritization(CrossPrioritization::Enum value) noexcept
Definition Messages.h:10472
bool price(PriceOptional &value) const noexcept
Definition Messages.h:10180
ThisType & setOrdType(OrdType::Enum value) noexcept
Order type.
Definition Messages.h:10088
bool strategyId(StrategyIDOptional &value) const noexcept
Client-assigned identification of a strategy.
Definition Messages.h:10531
ThisType & setReceivedTime(UTCTimestampNanosOptional value) noexcept
Time of receipt of related inbound message in the gateway.
Definition Messages.h:10344
static constexpr const Char * className()
Definition Messages.h:10727
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:10159
SchemaTraits Schema
Used template schema.
Definition Messages.h:9600
ExecutionReportNew200(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:9652
ThisType & setExecId(ExecID value) noexcept
Definition Messages.h:9895
ThisType & setWorkingIndicator(Boolean::Enum value) noexcept
Definition Messages.h:10033
bool protectionPrice(PriceOptional &value) const noexcept
Definition Messages.h:9966
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:9794
ThisType & setTradeDate(Timestamp value) noexcept
Definition Messages.h:10009
ExecutionReportNew200(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:9641
ThisType & setExpireDate(Timestamp value) noexcept
Definition Messages.h:10139
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:9708
OrderID orderId() const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:9835
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:10365
ExecutionReportNew200()=default
Initializes a blank instance.
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:10405
ThisType & setMaxFloor(QuantityOptional value) noexcept
Definition Messages.h:10281
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:9827
ThisType & setCrossType(CrossType::Enum value) noexcept
Definition Messages.h:10436
ThisType & setStopPx(PriceOptional value) noexcept
Definition Messages.h:10221
ThisType & setStrategyId(StrategyIDOptional value) noexcept
Client-assigned identification of a strategy.
Definition Messages.h:10541
bool crossType(CrossType::Enum &value) const noexcept
Definition Messages.h:10426
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:10662
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:10374
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:9803
ThisType & setOrderId(OrderID value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:9844
OutboundBusinessHeader & businessHeader() noexcept
Common header to all outbound business messages.
Definition Messages.h:9699
bool crossId(CrossIDOptional &value) const noexcept
Definition Messages.h:10302
ThisType & setMinQty(QuantityOptional value) noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:10250
OrdStatus::Enum ordStatus() const noexcept
Identifies current status of order.
Definition Messages.h:9728
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:10647
bool receivedTime(UTCTimestampNanosOptional &value) const noexcept
Time of receipt of related inbound message in the gateway.
Definition Messages.h:10333
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:10168
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:9855
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:10190
const OutboundBusinessHeader & businessHeader() const noexcept
MessageType.ExecutionReport_New.
Definition Messages.h:9690
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:10736
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:10591
ExecutionReportNew200(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:9627
ThisType & setSecondaryOrderId(OrderID value) noexcept
Definition Messages.h:9783
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:10606
ThisType & setMarketSegmentReceivedTimeToNull() noexcept
Definition Messages.h:9952
OrdType::Enum ordType() const noexcept
Order type.
Definition Messages.h:10079
ExecutionReportNew200 ThisType
This type alias.
Definition Messages.h:9603
ThisType & setTimeInForce(TimeInForce::Enum value) noexcept
Specifies how long the order remains in effect.
Definition Messages.h:10108
Boolean::Enum workingIndicator() const noexcept
Definition Messages.h:10022
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:9864
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:9759
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:10691
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:9717
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:10599
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:9906
ThisType & setOrdStatus(OrdStatus::Enum value) noexcept
Identifies current status of order.
Definition Messages.h:9737
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:10561
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:9815
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:10764
bool stopPx(PriceOptional &value) const noexcept
Definition Messages.h:10211
ThisType & setCrossId(CrossIDOptional value) noexcept
Definition Messages.h:10312
ThisType & setMmProtectionReset(Boolean::Enum value) noexcept
Definition Messages.h:10510
ThisType & setProtectionPrice(PriceOptional value) noexcept
Definition Messages.h:9978
bool maxFloor(QuantityOptional &value) const noexcept
Definition Messages.h:10271
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:10617
ExecutionReportNew200(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:9663
bool minQty(QuantityOptional &value) const noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:10241
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:10682
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:9915
bool multiLegReportingType(MultiLegReportingType::Enum &value) const noexcept
Definition Messages.h:10046
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:15564
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:15371
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:15520
bool expireDate(Timestamp &value) const noexcept
Definition Messages.h:15052
ExecutionReportReject204(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:14626
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:15442
TimeInForce::Enum timeInForce() const noexcept
Specifies how long the order remains in effect.
Definition Messages.h:15031
static constexpr MessageType::Enum messageType() noexcept
MessageType.ExecutionReport_Reject.
Definition Messages.h:14678
ExecutionReportReject204(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:14662
bool price(PriceOptional &value) const noexcept
Definition Messages.h:15123
ThisType & setOrdType(OrdType::Enum value) noexcept
Order type.
Definition Messages.h:15020
ExecutionReportReject204(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:14651
bool strategyId(StrategyIDOptional &value) const noexcept
Client-assigned identification of a strategy.
Definition Messages.h:15402
ThisType & setReceivedTime(UTCTimestampNanosOptional value) noexcept
Time of receipt of related inbound message in the gateway.
Definition Messages.h:15320
static constexpr const Char * className()
Definition Messages.h:15617
ThisType & setOrderQty(QuantityOptional value) noexcept
Definition Messages.h:15102
ExecutionReportReject204 ThisType
This type alias.
Definition Messages.h:14602
ThisType & setText(StrRef value)
Free ASCII format text string.
Definition Messages.h:15507
SchemaTraits Schema
Used template schema.
Definition Messages.h:14599
ThisType & setExecId(ExecID value) noexcept
Definition Messages.h:14911
CxlRejResponseTo::Enum cxlRejResponseTo() const noexcept
Identifies current status of order.
Definition Messages.h:14739
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:14817
ThisType & setExpireDate(Timestamp value) noexcept
Definition Messages.h:15071
bool orderQty(QuantityOptional &value) const noexcept
Definition Messages.h:15092
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:14707
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:15341
bool origClOrdId(ClOrdIDOptional &value) const noexcept
Definition Messages.h:14952
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:15381
ThisType & setMaxFloor(QuantityOptional value) noexcept
Definition Messages.h:15224
bool secondaryOrderId(OrderIDOptional &value) const noexcept
Definition Messages.h:14786
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:14850
ThisType & setSecondaryOrderId(OrderIDOptional value) noexcept
Definition Messages.h:14797
ThisType & setStopPx(PriceOptional value) noexcept
Definition Messages.h:15164
ThisType & setStrategyId(StrategyIDOptional value) noexcept
Client-assigned identification of a strategy.
Definition Messages.h:15412
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:15552
ThisType & setCxlRejResponseTo(CxlRejResponseTo::Enum value) noexcept
Definition Messages.h:14750
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:15350
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:14826
ThisType & setCrossedIndicator(CrossedIndicator::Enum value) noexcept
Indicates cross order purpose.
Definition Messages.h:15287
OutboundBusinessHeader & businessHeader() noexcept
Common header to all outbound business messages.
Definition Messages.h:14698
bool crossId(CrossIDOptional &value) const noexcept
Definition Messages.h:15245
ThisType & setMinQty(QuantityOptional value) noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:15193
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:15537
ExecutionReportReject204()=default
Initializes a blank instance.
bool crossedIndicator(CrossedIndicator::Enum &value) const noexcept
Indicates cross order purpose.
Definition Messages.h:15276
bool receivedTime(UTCTimestampNanosOptional &value) const noexcept
Time of receipt of related inbound message in the gateway.
Definition Messages.h:15309
StrRef text() const noexcept
Free ASCII format text string.
Definition Messages.h:15478
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:14982
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:15133
const OutboundBusinessHeader & businessHeader() const noexcept
MessageType.ExecutionReport_Reject.
Definition Messages.h:14689
bool orderId(OrderIDOptional &value) const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:14922
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:15626
ExecutionReportReject204(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:14640
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:15462
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:15485
ThisType & setOrderId(OrderIDOptional value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:14931
static constexpr OrdStatus::Enum ordStatus() noexcept
Identifies current status of order.
Definition Messages.h:14728
OrdType::Enum ordType() const noexcept
Order type.
Definition Messages.h:15011
ThisType & setOrdRejReason(RejReason value) noexcept
Definition Messages.h:14869
ThisType & setTimeInForce(TimeInForce::Enum value) noexcept
Specifies how long the order remains in effect.
Definition Messages.h:15040
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:14991
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:14773
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:15582
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:14716
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:15470
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:14880
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:15432
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:14838
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:15655
ThisType & setOrigClOrdId(ClOrdIDOptional value) noexcept
Definition Messages.h:14962
bool stopPx(PriceOptional &value) const noexcept
Definition Messages.h:15154
ThisType & setCrossId(CrossIDOptional value) noexcept
Definition Messages.h:15255
bool maxFloor(QuantityOptional &value) const noexcept
Definition Messages.h:15214
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:15496
bool minQty(QuantityOptional &value) const noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:15184
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:15572
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:14889
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:14412
ThisType & setTradeId(TradeID value) noexcept
Definition Messages.h:13811
bool crossPrioritization(CrossPrioritization::Enum &value) const noexcept
Definition Messages.h:14200
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:14366
ThisType & setLastQty(Quantity value) noexcept
Quantity of shares bought/sold on the last fill.
Definition Messages.h:13571
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:14307
static constexpr MessageType::Enum messageType() noexcept
MessageType.ExecutionReport_Trade.
Definition Messages.h:13368
ThisType & setMultiLegReportingType(MultiLegReportingType::Enum value) noexcept
Definition Messages.h:13779
ThisType & setCrossPrioritization(CrossPrioritization::Enum value) noexcept
Definition Messages.h:14213
bool clOrdId(ClOrdIDOptional &value) const noexcept
Definition Messages.h:13438
ExecutionReportTrade203(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:13316
ThisType & setLeavesQty(Quantity value) noexcept
Definition Messages.h:13655
bool strategyId(StrategyIDOptional &value) const noexcept
Client-assigned identification of a strategy.
Definition Messages.h:14235
static constexpr const Char * className()
Definition Messages.h:14468
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:14047
Price lastPx() const noexcept
Price of last fill.
Definition Messages.h:13582
SchemaTraits Schema
Used template schema.
Definition Messages.h:13289
Boolean::Enum aggressorIndicator() const noexcept
Definition Messages.h:13687
ThisType & setExecId(ExecID value) noexcept
Definition Messages.h:13613
ThisType & setTradingSessionSubId(TradingSessionSubID::Enum value) noexcept
Identifier for the instrument group phase.
Definition Messages.h:14112
bool totNoRelatedSym(TotNoRelatedSym &value) const noexcept
Definition Messages.h:13885
ThisType & setSecurityTradingStatus(SecurityTradingStatus::Enum value) noexcept
Identifier for the instrument status.
Definition Messages.h:14145
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:13492
ThisType & setTradeDate(Timestamp value) noexcept
Definition Messages.h:13873
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:13397
OrderID orderId() const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:13842
bool secondaryExecId(ExecIDOptional &value) const noexcept
Definition Messages.h:13919
ThisType & setCumQty(Quantity value) noexcept
Total number of shares or contracts filled.
Definition Messages.h:13675
ThisType & setOrderCategory(OrderCategory::Enum value) noexcept
Reason why a trade occurred.
Definition Messages.h:13744
ExecutionReportTrade203(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:13341
ThisType & setContraBroker(Firm value) noexcept
Identifies the contra broker firm.
Definition Messages.h:13831
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:13525
ThisType & setCrossType(CrossType::Enum value) noexcept
Definition Messages.h:14177
ThisType & setStrategyId(StrategyIDOptional value) noexcept
Client-assigned identification of a strategy.
Definition Messages.h:14245
bool crossType(CrossType::Enum &value) const noexcept
Definition Messages.h:14167
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:14400
bool execRefId(ExecIDOptional &value) const noexcept
Definition Messages.h:13953
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:13501
bool impliedEventId(ImpliedEventID &value) const noexcept
Definition Messages.h:14266
ThisType & setOrderId(OrderID value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:13851
ThisType & setCrossedIndicator(CrossedIndicator::Enum value) noexcept
Indicates cross order purpose.
Definition Messages.h:14026
OutboundBusinessHeader & businessHeader() noexcept
Common header to all outbound business messages.
Definition Messages.h:13388
bool crossId(CrossIDOptional &value) const noexcept
Definition Messages.h:13984
OrdStatus::Enum ordStatus() const noexcept
Identifies current status of order.
Definition Messages.h:13417
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:14385
bool crossedIndicator(CrossedIndicator::Enum &value) const noexcept
Indicates cross order purpose.
Definition Messages.h:14015
bool tradingSessionId(TradingSessionID::Enum &value) const noexcept
Identifier for Trading Session.
Definition Messages.h:14068
bool orderCategory(OrderCategory::Enum &value) const noexcept
Reason why a trade occurred.
Definition Messages.h:13733
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:14056
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:13533
ThisType & setTotNoRelatedSym(TotNoRelatedSym value) noexcept
Definition Messages.h:13895
const OutboundBusinessHeader & businessHeader() const noexcept
MessageType.ExecutionReport_Trade.
Definition Messages.h:13379
ThisType & setTradingSessionId(TradingSessionID::Enum value) noexcept
Identifier for Trading Session.
Definition Messages.h:14079
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:14477
ExecutionReportTrade203 ThisType
This type alias.
Definition Messages.h:13292
ThisType & setSecondaryExecId(ExecIDOptional value) noexcept
Definition Messages.h:13932
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:14327
ExecType::Enum execType() const noexcept
Definition Messages.h:13710
ThisType & setSecondaryOrderId(OrderID value) noexcept
Definition Messages.h:13481
Firm contraBroker() const noexcept
Identifies the contra broker firm.
Definition Messages.h:13822
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:14342
ExecutionReportTrade203(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:13352
ThisType & setClOrdId(ClOrdIDOptional value) noexcept
Definition Messages.h:13448
Quantity cumQty() const noexcept
Total number of shares or contracts filled.
Definition Messages.h:13666
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:13542
ThisType & setExecRefId(ExecIDOptional value) noexcept
Definition Messages.h:13963
bool tradingSessionSubId(TradingSessionSubID::Enum &value) const noexcept
Identifier for the instrument group phase.
Definition Messages.h:14101
ExecutionReportTrade203(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:13330
ThisType & setImpliedEventId(ImpliedEventID value)
Definition Messages.h:14277
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:14429
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:13406
bool securityTradingStatus(SecurityTradingStatus::Enum &value) const noexcept
Identifier for the instrument status.
Definition Messages.h:14134
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:14335
ExecutionReportTrade203()=default
Initializes a blank instance.
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:13624
ThisType & setLastPx(Price value) noexcept
Price of last fill.
Definition Messages.h:13591
ThisType & setOrdStatus(OrdStatus::Enum value) noexcept
Identifies current status of order.
Definition Messages.h:13426
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:14297
ThisType & setExecType(ExecType::Enum value) noexcept
Definition Messages.h:13721
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:13513
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:14506
ThisType & setCrossId(CrossIDOptional value) noexcept
Definition Messages.h:13994
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:14353
Quantity lastQty() const noexcept
Quantity of shares bought/sold on the last fill.
Definition Messages.h:13562
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:14420
ThisType & setAggressorIndicator(Boolean::Enum value) noexcept
Definition Messages.h:13697
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:13633
bool multiLegReportingType(MultiLegReportingType::Enum &value) const noexcept
Definition Messages.h:13767
Enum
Type of message flow from client to server or from server to client.
Definition Fields.h:1148
Enum
Reason Order Mass Action Request was rejected.
Definition Fields.h:757
Enum
Specifies the action taken by matching engine when it receives the Order Mass Action Request.
Definition Fields.h:732
Enum
Specifies the scope of the action. All Day and MOC orders will be cancelled. GTC, GTD and MOA orders ...
Definition Fields.h:682
Enum
Specifies the type of action requested.
Definition Fields.h:704
@ ExecutionReportForward
ExecutionReportForward.
Definition Fields.h:1086
@ RetransmitReject
RetransmitReject.
Definition Fields.h:1044
@ AllocationInstruction
AllocationInstruction.
Definition Fields.h:1125
@ OrderCancelReplaceRequest
OrderCancelReplaceRequest.
Definition Fields.h:1062
@ PositionMaintenanceReport
PositionMaintenanceReport.
Definition Fields.h:1122
@ NegotiateResponse
NegotiateResponse.
Definition Fields.h:1017
@ ExecutionReportReject
ExecutionReportReject.
Definition Fields.h:1083
@ ExecutionReportNew
ExecutionReportNew.
Definition Fields.h:1071
@ PositionMaintenanceCancelRequest
PositionMaintenanceCancelRequest.
Definition Fields.h:1116
@ BusinessMessageReject
BusinessMessageReject.
Definition Fields.h:1050
@ ExecutionReportTrade
ExecutionReportTrade.
Definition Fields.h:1080
@ OrderMassActionRequest
OrderMassActionRequest.
Definition Fields.h:1095
@ SecurityDefinitionRequest
SecurityDefinitionRequest.
Definition Fields.h:1089
@ OrderMassActionReport
OrderMassActionReport.
Definition Fields.h:1098
@ AllocationReport
AllocationReport.
Definition Fields.h:1128
@ QuoteStatusReport
QuoteStatusReport.
Definition Fields.h:1104
@ ExecutionReportModify
ExecutionReportModify.
Definition Fields.h:1074
@ RetransmitRequest
RetransmitRequest.
Definition Fields.h:1038
@ OrderCancelRequest
OrderCancelRequest.
Definition Fields.h:1065
@ SimpleModifyOrder
SimpleModifyOrder.
Definition Fields.h:1056
@ PositionMaintenanceRequest
PositionMaintenanceRequest.
Definition Fields.h:1119
@ QuoteRequestReject
QuoteRequestReject.
Definition Fields.h:1113
@ SecurityDefinitionResponse
SecurityDefinitionResponse.
Definition Fields.h:1092
@ ExecutionReportCancel
ExecutionReportCancel.
Definition Fields.h:1077
Enum
Used to indicate what an Execution Report represents.
Definition Fields.h:1871
bool onbehalfFirm(FirmOptional &value) const noexcept
Definition Messages.h:233
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:386
StrRef clientIP() const noexcept
Source IP from client system.
Definition Messages.h:273
ThisType & setClientAppVersion(StrRef value)
Application version as informed during certification process.
Definition Messages.h:333
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:348
Firm enteringFirm() const noexcept
Identifies the broker firm that will enter orders.
Definition Messages.h:212
Negotiate1(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:65
const void * tail() const noexcept
Definition Messages.h:445
static constexpr MessageType::Enum messageType() noexcept
Message type = Negotiate.
Definition Messages.h:117
ThisType & setClientIP(StrRef value)
Source IP from client system.
Definition Messages.h:311
ThisType & setEnteringFirm(Firm value) noexcept
Identifies the broker firm that will enter orders.
Definition Messages.h:221
static constexpr const Char * className()
Definition Messages.h:418
StrRef credentials() const noexcept
Credentials to identify/authenticate the client. The format is a JSON with the following data: { "aut...
Definition Messages.h:263
ThisType & setOnbehalfFirmToNull() noexcept
Definition Messages.h:252
ThisType & setOnbehalfFirm(FirmOptional value) noexcept
Definition Messages.h:243
SchemaTraits Schema
Used template schema.
Definition Messages.h:38
StrRef clientAppName() const noexcept
Application name as informed during certification process.
Definition Messages.h:281
Negotiate1 ThisType
This type alias.
Definition Messages.h:41
ThisType & setSessionVerId(SessionVerID value) noexcept
Definition Messages.h:166
Negotiate1()=default
Initializes a blank instance.
ThisType & setCredentials(StrRef value)
Credentials to identify/authenticate the client. The format is a JSON with the following data: { "aut...
Definition Messages.h:300
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:374
ThisType & setTimestamp(UTCTimestampNanos value) noexcept
Definition Messages.h:188
Negotiate1(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:101
SessionID sessionId() const noexcept
Message type = Negotiate.
Definition Messages.h:128
Negotiate1(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:90
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:360
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:427
Negotiate1(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:79
UTCTimestampNanos timestamp() const noexcept
Definition Messages.h:178
SessionVerID sessionVerId() const noexcept
Definition Messages.h:153
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:405
StrRef clientAppVersion() const noexcept
Application version as informed during certification process.
Definition Messages.h:291
ThisType & setClientAppName(StrRef value)
Application name as informed during certification process.
Definition Messages.h:322
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:455
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:138
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:394
static constexpr FlowType::Enum clientFlow() noexcept
Definition Messages.h:201
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:1288
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:1247
NegotiationRejectCode::Enum negotiationRejectCode() const noexcept
Identifies the code of reject negotiation.
Definition Messages.h:1187
const void * tail() const noexcept
Definition Messages.h:1345
UTCTimestampNanos requestTimestamp() const noexcept
Matches Negotiate timestamp.
Definition Messages.h:1124
static constexpr MessageType::Enum messageType() noexcept
Message type = NegotiateReject.
Definition Messages.h:1064
static constexpr const Char * className()
Definition Messages.h:1318
SchemaTraits Schema
Used template schema.
Definition Messages.h:985
ThisType & setEnteringFirmToNull() noexcept
Definition Messages.h:1175
NegotiateReject3(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:1037
ThisType & setRequestTimestamp(UTCTimestampNanos value) noexcept
Matches Negotiate timestamp.
Definition Messages.h:1133
ThisType & setSessionVerId(SessionVerID value) noexcept
Definition Messages.h:1113
ThisType & setEnteringFirm(FirmOptional value) noexcept
Identifies the broker firm that will enter orders.
Definition Messages.h:1166
NegotiateReject3 ThisType
This type alias.
Definition Messages.h:988
NegotiateReject3(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:1048
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:1276
SessionID sessionId() const noexcept
Message type = NegotiateReject.
Definition Messages.h:1075
NegotiateReject3()=default
Initializes a blank instance.
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:1261
NegotiateReject3(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:1012
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:1327
ThisType & setCurrentSessionVerIdToNull() noexcept
Definition Messages.h:1233
bool enteringFirm(FirmOptional &value) const noexcept
Identifies the broker firm that will enter orders.
Definition Messages.h:1157
NegotiateReject3(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:1026
SessionVerID sessionVerId() const noexcept
Definition Messages.h:1100
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:1304
ThisType & setCurrentSessionVerId(SessionVerIDOptional value) noexcept
Definition Messages.h:1223
ThisType & setNegotiationRejectCode(NegotiationRejectCode::Enum value) noexcept
Identifies the code of reject negotiation.
Definition Messages.h:1197
bool currentSessionVerId(SessionVerIDOptional &value) const noexcept
Definition Messages.h:1211
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:1358
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:1085
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:1297
static constexpr FlowType::Enum clientFlow() noexcept
Definition Messages.h:1146
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:878
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:839
Firm enteringFirm() const noexcept
Identifies the broker firm that will enter orders.
Definition Messages.h:786
const void * tail() const noexcept
Definition Messages.h:937
UTCTimestampNanos requestTimestamp() const noexcept
Matches Negotiate timestamp.
Definition Messages.h:740
static constexpr MessageType::Enum messageType() noexcept
Message type = NegotiateResponse.
Definition Messages.h:680
NegotiateResponse2(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:653
NegotiateResponse2()=default
Initializes a blank instance.
ThisType & setEnteringFirm(Firm value) noexcept
Identifies the broker firm that will enter orders.
Definition Messages.h:795
static constexpr const Char * className()
Definition Messages.h:910
NegotiateResponse2(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:642
SchemaTraits Schema
Used template schema.
Definition Messages.h:601
static constexpr FlowType::Enum serverFlow() noexcept
Definition Messages.h:762
NegotiateResponse2 ThisType
This type alias.
Definition Messages.h:604
ThisType & setRequestTimestamp(UTCTimestampNanos value) noexcept
Matches Negotiate timestamp.
Definition Messages.h:749
ThisType & setSessionVerId(SessionVerID value) noexcept
Definition Messages.h:729
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:866
SessionID sessionId() const noexcept
Message type = NegotiateResponse.
Definition Messages.h:691
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:852
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:919
ThisType & setSemanticVersion(Version value)
Definition Messages.h:818
bool semanticVersion(Version &value) const noexcept
Definition Messages.h:807
NegotiateResponse2(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:664
SessionVerID sessionVerId() const noexcept
Definition Messages.h:716
NegotiateResponse2(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:628
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:894
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:950
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:701
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:887
static constexpr FlowType::Enum clientFlow() noexcept
Definition Messages.h:775
Enum
Identifies the code of reject negotiation.
Definition Fields.h:1179
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Definition Messages.h:8805
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:8768
static constexpr const Char * className()
Entity class name.
Definition Messages.h:8819
ThisType & setEnteringFirm(FirmOptional value) noexcept
Identifies the broker firm that will enter orders.
Definition Messages.h:8716
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:8658
SbeGroupEntry< GroupSizeEncoding::BlockLength > Base
Base class type.
Definition Messages.h:8603
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Definition Messages.h:8792
SidesEntry(void *data, EncodedLength length, SchemaVersion version)
Definition Messages.h:8610
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:8678
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:8687
bool enteringFirm(FirmOptional &value) const noexcept
Identifies the broker firm that will enter orders.
Definition Messages.h:8707
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:8747
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:8628
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:8667
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:8758
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:8621
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:9403
bool crossPrioritization(CrossPrioritization::Enum &value) const noexcept
Definition Messages.h:9220
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:9361
const void * tail() const noexcept
Definition Messages.h:9472
Sides sides(Sides::Size length, NoFieldsInit)
Definition Messages.h:9310
NewOrderCross106()=default
Initializes a blank instance.
bool executingTrader(StrRef &value) const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:9030
static constexpr MessageType::Enum messageType() noexcept
Message type = NewOrderCross.
Definition Messages.h:8901
NewOrderCross106(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:8863
ThisType & setOrdType(CrossOrdType::Enum value)
Definition Messages.h:8944
ThisType & setCrossPrioritization(CrossPrioritization::Enum value) noexcept
Definition Messages.h:9232
bool price(PriceOptional &value) const noexcept
Definition Messages.h:9124
static constexpr const Char * className()
Definition Messages.h:9445
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:9103
NewOrderCross106(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:8874
SchemaTraits Schema
Used template schema.
Definition Messages.h:8581
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:9018
void toString(std::string &dest, bool skipEmptyFields=false)
Writes a human-readable presentation into the destination string.
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:9062
ThisType & setCrossedIndicatorToNull() noexcept
Definition Messages.h:9176
const InboundBusinessHeader & businessHeader() const noexcept
Message type = NewOrderCross.
Definition Messages.h:8912
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:9095
ThisType & setCrossType(CrossType::Enum value) noexcept
Definition Messages.h:9198
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:8921
NewOrderCross106(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:8849
bool ordType(CrossOrdType::Enum &value) const noexcept
Definition Messages.h:8932
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:9008
bool crossType(CrossType::Enum &value) const noexcept
Definition Messages.h:9188
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:8996
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:9391
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:9071
ThisType & setCrossedIndicator(CrossedIndicator::Enum value) noexcept
Indicates cross order purpose.
Definition Messages.h:9166
ThisType & setExecutingTraderToNull() noexcept
Definition Messages.h:9050
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:9376
bool crossedIndicator(CrossedIndicator::Enum &value) const noexcept
Indicates cross order purpose.
Definition Messages.h:9155
ThisType & setCrossPrioritizationToNull() noexcept
Definition Messages.h:9242
NewOrderCross106 ThisType
This type alias.
Definition Messages.h:8584
bool maxSweepQty(QuantityOptional &value) const noexcept
Maximum sweep quantity.
Definition Messages.h:9253
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:9112
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:9134
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:9454
ThisType & setMaxSweepQty(QuantityOptional value) noexcept
Maximum sweep quantity.
Definition Messages.h:9262
ThisType & setCrossId(CrossID value) noexcept
Definition Messages.h:8975
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:9322
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:9337
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:8986
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:9421
NewOrderCross106(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:8885
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:9330
SbeGroup< SidesEntry, GroupSizeEncoding, MessageSize > Sides
Repeating group containing SidesEntry entries.
Definition Messages.h:8828
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:9040
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:9083
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:9482
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:9348
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:9411
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:6690
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:6521
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:6651
NewOrderSingle102 ThisType
This type alias.
Definition Messages.h:5861
bool expireDate(Timestamp &value) const noexcept
Definition Messages.h:6452
const void * tail() const noexcept
Definition Messages.h:6764
ThisType & setSelfTradePreventionInstruction(SelfTradePreventionInstruction::Enum value) noexcept
Definition Messages.h:6131
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:6592
TimeInForce::Enum timeInForce() const noexcept
Specifies how long the order remains in effect.
Definition Messages.h:6224
bool executingTrader(StrRef &value) const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:6419
static constexpr MessageType::Enum messageType() noexcept
Message type = NewOrderSingle.
Definition Messages.h:5937
NewOrderSingle102(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:5899
bool price(PriceOptional &value) const noexcept
Definition Messages.h:6298
ThisType & setOrdType(OrdType::Enum value) noexcept
Order type.
Definition Messages.h:6213
ThisType & setRoutingInstructionToNull() noexcept
Definition Messages.h:6266
bool strategyId(StrategyIDOptional &value) const noexcept
Client-assigned identification of a strategy.
Definition Messages.h:6552
static constexpr const Char * className()
Definition Messages.h:6737
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:6277
SchemaTraits Schema
Used template schema.
Definition Messages.h:5858
NewOrderSingle102(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:5910
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:6106
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:6143
ThisType & setExpireDate(Timestamp value) noexcept
Definition Messages.h:6471
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:6184
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:5966
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:6531
ThisType & setMaxFloor(QuantityOptional value) noexcept
Definition Messages.h:6399
const InboundBusinessHeader & businessHeader() const noexcept
Message type = NewOrderSingle.
Definition Messages.h:5948
ThisType & setCustodianInfo(CustodianInfo value) noexcept
Identifies the custodian.
Definition Messages.h:6500
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:6176
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:5957
NewOrderSingle102(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:5885
ThisType & setStopPx(PriceOptional value) noexcept
Definition Messages.h:6339
ThisType & setStrategyId(StrategyIDOptional value) noexcept
Client-assigned identification of a strategy.
Definition Messages.h:6562
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:6096
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:6084
bool routingInstruction(RoutingInstruction::Enum &value) const noexcept
Indicates additional order instruction.
Definition Messages.h:6245
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:6678
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:5975
ThisType & setRoutingInstruction(RoutingInstruction::Enum value) noexcept
Indicates additional order instruction.
Definition Messages.h:6256
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:6152
ThisType & setMinQty(QuantityOptional value) noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:6368
ThisType & setExecutingTraderToNull() noexcept
Definition Messages.h:6439
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:6664
SelfTradePreventionInstruction::Enum selfTradePreventionInstruction() const noexcept
Definition Messages.h:6120
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:6286
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:6045
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:6308
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:6746
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:6612
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:6627
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:6074
OrdType::Enum ordType() const noexcept
Order type.
Definition Messages.h:6204
bool custodianInfo(CustodianInfo &value) const noexcept
Identifies the custodian.
Definition Messages.h:6491
ThisType & setTimeInForce(TimeInForce::Enum value) noexcept
Specifies how long the order remains in effect.
Definition Messages.h:6233
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:6054
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:6034
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:6707
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:6193
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:6620
NewOrderSingle102(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:5921
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:6429
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:6582
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:6164
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:6774
Boolean::Enum mmProtectionReset() const noexcept
Definition Messages.h:5999
bool stopPx(PriceOptional &value) const noexcept
Definition Messages.h:6329
NewOrderSingle102()=default
Initializes a blank instance.
ThisType & setMmProtectionReset(Boolean::Enum value) noexcept
Definition Messages.h:6012
bool maxFloor(QuantityOptional &value) const noexcept
Definition Messages.h:6389
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:6638
bool minQty(QuantityOptional &value) const noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:6359
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:6698
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:3096
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:3058
const void * tail() const noexcept
Definition Messages.h:3150
static constexpr MessageType::Enum messageType() noexcept
Message type = NotApplied.
Definition Messages.h:3005
NotApplied8(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:2967
NotApplied8(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:2989
static constexpr const Char * className()
Definition Messages.h:3123
NotApplied8(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:2978
SchemaTraits Schema
Used template schema.
Definition Messages.h:2926
ThisType & setFromSeqNo(SeqNum value) noexcept
The first applied sequence number.
Definition Messages.h:3024
SeqNum fromSeqNo() const noexcept
Message type = NotApplied.
Definition Messages.h:3015
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:3084
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:3070
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:3132
NotApplied8(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:2953
ThisType & setCount(MessageCounter value) noexcept
How many messages haven´t been applied?.
Definition Messages.h:3044
NotApplied8()=default
Initializes a blank instance.
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:3112
NotApplied8 ThisType
This type alias.
Definition Messages.h:2929
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:3163
MessageCounter count() const noexcept
How many messages haven´t been applied?.
Definition Messages.h:3035
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:3105
Null values definition for optional CustodianInfo field.
Null values definition for optional ImpliedEventID field.
Null values definition for optional InvestorID field.
Null values definition for optional Percentage8Optional field.
Definition Composites.h:430
Null values definition for optional Price8Optional field.
Definition Composites.h:283
Null values definition for optional PriceOffsetOptional field.
Definition Composites.h:351
Null values definition for optional PriceOptional field.
Definition Composites.h:204
Null values definition for optional UTCTimestampNanosOptional field.
Definition Composites.h:649
Null values definition for optional Version field.
Enum
Identifies current status of order.
Definition Fields.h:1693
bool accountType(AccountType::Enum &value) const noexcept
Type of account associated with an order.
Definition Messages.h:7527
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:7795
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:7626
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:7756
bool expireDate(Timestamp &value) const noexcept
Definition Messages.h:7557
ThisType & setSelfTradePreventionInstruction(SelfTradePreventionInstruction::Enum value) noexcept
Definition Messages.h:7140
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:7697
OrderCancelReplaceRequest104(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:6919
bool executingTrader(StrRef &value) const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:7495
static constexpr MessageType::Enum messageType() noexcept
Message type = OrderCancelReplaceRequest.
Definition Messages.h:6946
bool price(PriceOptional &value) const noexcept
Definition Messages.h:7316
ThisType & setOrdType(OrdType::Enum value) noexcept
Order type.
Definition Messages.h:7222
bool strategyId(StrategyIDOptional &value) const noexcept
Client-assigned identification of a strategy.
Definition Messages.h:7657
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:7295
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:7115
ThisType & setAccountType(AccountType::Enum value) noexcept
Type of account associated with an order.
Definition Messages.h:7536
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:7152
ThisType & setExpireDate(Timestamp value) noexcept
Definition Messages.h:7576
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:7193
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:6975
bool origClOrdId(ClOrdIDOptional &value) const noexcept
ClOrdID which should be replaced.
Definition Messages.h:7375
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:7636
ThisType & setMaxFloor(QuantityOptional value) noexcept
Definition Messages.h:7475
const InboundBusinessHeader & businessHeader() const noexcept
Message type = OrderCancelReplaceRequest.
Definition Messages.h:6957
ThisType & setCustodianInfo(CustodianInfo value) noexcept
Identifies the custodian.
Definition Messages.h:7605
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:7185
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:6966
ThisType & setStopPx(PriceOptional value) noexcept
Definition Messages.h:7415
ThisType & setStrategyId(StrategyIDOptional value) noexcept
Client-assigned identification of a strategy.
Definition Messages.h:7667
OrderCancelReplaceRequest104(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:6908
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:7105
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:7093
bool routingInstruction(RoutingInstruction::Enum &value) const noexcept
Indicates additional order instruction.
Definition Messages.h:7263
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:7783
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:6984
ThisType & setRoutingInstruction(RoutingInstruction::Enum value) noexcept
Indicates additional order instruction.
Definition Messages.h:7274
OrderCancelReplaceRequest104 ThisType
This type alias.
Definition Messages.h:6870
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:7161
ThisType & setMinQty(QuantityOptional value) noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:7444
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:7769
bool timeInForce(TimeInForce::Enum &value) const noexcept
Specifies how long the order remains in effect.
Definition Messages.h:7233
SelfTradePreventionInstruction::Enum selfTradePreventionInstruction() const noexcept
Definition Messages.h:7129
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:7304
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:7054
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:7326
bool orderId(OrderIDOptional &value) const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:7346
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:7855
OrderCancelReplaceRequest104()=default
Initializes a blank instance.
OrderCancelReplaceRequest104(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:6930
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:7717
OrderCancelReplaceRequest104(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:6894
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:7732
ThisType & setOrderId(OrderIDOptional value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:7355
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:7083
OrdType::Enum ordType() const noexcept
Order type.
Definition Messages.h:7213
bool custodianInfo(CustodianInfo &value) const noexcept
Identifies the custodian.
Definition Messages.h:7596
ThisType & setTimeInForce(TimeInForce::Enum value) noexcept
Specifies how long the order remains in effect.
Definition Messages.h:7242
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:7063
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:7043
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:7812
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:7202
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:7725
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:7505
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:7687
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:7173
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:7884
ThisType & setOrigClOrdId(ClOrdIDOptional value) noexcept
ClOrdID which should be replaced.
Definition Messages.h:7384
bool stopPx(PriceOptional &value) const noexcept
Definition Messages.h:7405
ThisType & setMmProtectionReset(Boolean::Enum value) noexcept
Definition Messages.h:7021
bool maxFloor(QuantityOptional &value) const noexcept
Definition Messages.h:7465
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:7743
bool minQty(QuantityOptional &value) const noexcept
Minimum quantity of an order to be executed.
Definition Messages.h:7435
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:7803
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:8417
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:8376
bool executingTrader(StrRef &value) const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:8303
static constexpr MessageType::Enum messageType() noexcept
Message type = OrderCancelRequest.
Definition Messages.h:8056
OrderCancelRequest105()=default
Initializes a blank instance.
ThisType & setExecRestatementReason(ExecRestatementReasonValidForSingleCancel::Enum value) noexcept
Used to communicate a reason for a solicited cancel.
Definition Messages.h:8238
static constexpr const Char * className()
Definition Messages.h:8451
SchemaTraits Schema
Used template schema.
Definition Messages.h:7977
OrderCancelRequest105(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:8018
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:8291
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:8107
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:8206
bool origClOrdId(ClOrdIDOptional &value) const noexcept
ClOrdID which should be cancelled.
Definition Messages.h:8177
const InboundBusinessHeader & businessHeader() const noexcept
Message type = OrderCancelRequest.
Definition Messages.h:8067
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:8140
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:8076
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:8281
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:8269
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:8405
OrderCancelRequest105(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:8029
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:8116
OrderCancelRequest105(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:8040
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:8390
bool orderId(OrderIDOptional &value) const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:8148
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:8460
OrderCancelRequest105 ThisType
This type alias.
Definition Messages.h:7980
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:8335
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:8350
ThisType & setOrderId(OrderIDOptional value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:8157
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:8259
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:8096
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:8434
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:8215
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:8343
bool execRestatementReason(ExecRestatementReasonValidForSingleCancel::Enum &value) const noexcept
Used to communicate a reason for a solicited cancel.
Definition Messages.h:8227
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:8313
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:8128
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:8488
ThisType & setOrigClOrdId(ClOrdIDOptional value) noexcept
ClOrdID which should be cancelled.
Definition Messages.h:8186
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:8361
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:8425
OrderCancelRequest105(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:8004
Enum
Defines the type of interest behind a trade i.e. why a trade occurred.
Definition Fields.h:1899
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:27340
OrderMassActionReport702 ThisType
This type alias.
Definition Messages.h:26786
ThisType & setMassActionReportId(MassActionReportID value) noexcept
Definition Messages.h:26979
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:27247
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:27299
ThisType & setMassActionType(MassActionType::Enum value) noexcept
Specifies the type of action requested.
Definition Messages.h:26901
OrderMassActionReport702(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:26810
static constexpr MessageType::Enum messageType() noexcept
Message type = OrderMassActionReport.
Definition Messages.h:26862
MassActionType::Enum massActionType() const noexcept
Specifies the type of action requested.
Definition Messages.h:26891
static constexpr const Char * className()
Definition Messages.h:27378
ThisType & setMassActionResponse(MassActionResponse::Enum value) noexcept
Definition Messages.h:27022
ThisType & setText(StrRef value)
Free ASCII format text string.
Definition Messages.h:27284
SchemaTraits Schema
Used template schema.
Definition Messages.h:26783
ThisType & setSecurityId(SecurityIDOptional value) noexcept
Security identification as defined by exchange.
Definition Messages.h:27205
OrderMassActionReport702()=default
Initializes a blank instance.
OrderMassActionReport702(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:26846
MassActionResponse::Enum massActionResponse() const noexcept
Definition Messages.h:27011
ThisType & setAsset(StrRef value) noexcept
Definition Messages.h:27172
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:27102
bool massActionScope(MassActionScope::Enum &value) const noexcept
Specifies the scope of the action.
Definition Messages.h:26914
bool execRestatementReason(ExecRestatementReasonValidForMassCancel::Enum &value) const noexcept
Definition Messages.h:27069
MassActionReportID massActionReportId() const noexcept
Definition Messages.h:26969
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:27257
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:27238
bool asset(StrRef &value) const noexcept
Definition Messages.h:27161
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:27328
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:27111
OrderMassActionReport702(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:26835
OutboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:26882
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:27313
bool massActionRejectReason(MassActionRejectReason::Enum &value) const noexcept
Reason Order Mass Action Request was rejected.
Definition Messages.h:27035
ThisType & setExecRestatementReason(ExecRestatementReasonValidForMassCancel::Enum value) noexcept
Definition Messages.h:27081
StrRef text() const noexcept
Free ASCII format text string.
Definition Messages.h:27277
const OutboundBusinessHeader & businessHeader() const noexcept
Message type = OrderMassActionReport.
Definition Messages.h:26873
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:27387
bool securityId(SecurityIDOptional &value) const noexcept
Security identification as defined by exchange.
Definition Messages.h:27195
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:26957
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:27356
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:27140
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:26990
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:27226
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:27416
bool side(Side::Enum &value) const noexcept
Side of order.
Definition Messages.h:27131
OrderMassActionReport702(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:26824
ThisType & setMassActionRejectReason(MassActionRejectReason::Enum value) noexcept
Reason Order Mass Action Request was rejected.
Definition Messages.h:27046
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:27348
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:26999
ThisType & setMassActionScope(MassActionScope::Enum value) noexcept
Specifies the scope of the action.
Definition Messages.h:26925
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:26671
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:26597
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:26630
ThisType & setMassActionType(MassActionType::Enum value) noexcept
Specifies the type of action requested.
Definition Messages.h:26350
static constexpr MessageType::Enum messageType() noexcept
Message type = OrderMassActionRequest.
Definition Messages.h:26311
MassActionType::Enum massActionType() const noexcept
Specifies the type of action requested.
Definition Messages.h:26340
OrderMassActionRequest701(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:26273
SchemaTraits Schema
Used template schema.
Definition Messages.h:26232
ThisType & setSecurityId(SecurityIDOptional value) noexcept
Security identification as defined by exchange.
Definition Messages.h:26555
OrderMassActionRequest701(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:26284
OrderMassActionRequest701()=default
Initializes a blank instance.
ThisType & setAsset(StrRef value) noexcept
Definition Messages.h:26522
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:26452
bool massActionScope(MassActionScope::Enum &value) const noexcept
Specifies the scope of the action.
Definition Messages.h:26363
bool execRestatementReason(ExecRestatementReasonValidForMassCancel::Enum &value) const noexcept
Definition Messages.h:26419
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:26607
const InboundBusinessHeader & businessHeader() const noexcept
Message type = OrderMassActionRequest.
Definition Messages.h:26322
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:26588
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:26331
OrderMassActionRequest701(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:26295
bool asset(StrRef &value) const noexcept
Definition Messages.h:26511
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:26659
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:26461
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:26644
ThisType & setExecRestatementReason(ExecRestatementReasonValidForMassCancel::Enum value) noexcept
Definition Messages.h:26431
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:26716
bool securityId(SecurityIDOptional &value) const noexcept
Security identification as defined by exchange.
Definition Messages.h:26545
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:26406
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:26687
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:26490
OrderMassActionRequest701 ThisType
This type alias.
Definition Messages.h:26235
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:26576
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:26748
bool side(Side::Enum &value) const noexcept
Side of order.
Definition Messages.h:26481
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:26680
ThisType & setMassActionScope(MassActionScope::Enum value) noexcept
Specifies the scope of the action.
Definition Messages.h:26374
OrderMassActionRequest701(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:26259
Enum
Maintenance Action to be performed.
Definition Fields.h:897
Enum
Status of Position Maintenance Request.
Definition Fields.h:813
Enum
Identifies the type of position transaction.
Definition Fields.h:869
Enum
Used to identify the type of quantity.
Definition Fields.h:645
@ OptionExerciseQty
OptionExerciseQty.
Definition Fields.h:653
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:23132
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:23094
PosReqID posReqId() const noexcept
Unique identifier for the position maintenance request.
Definition Messages.h:22920
static constexpr MessageType::Enum messageType() noexcept
Message type = PositionMaintenanceCancelRequest.
Definition Messages.h:22891
PositionMaintenanceCancelRequest501()=default
Initializes a blank instance.
PositionMaintenanceCancelRequest501(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:22875
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:23079
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:22940
bool origPosReqRefId(PosReqIDOptional &value) const noexcept
Definition Messages.h:22982
PositionMaintenanceCancelRequest501(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:22839
bool posMaintRptRefId(PosMaintRptIDOptional &value) const noexcept
Definition Messages.h:23014
PositionMaintenanceCancelRequest501(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:22864
const InboundBusinessHeader & businessHeader() const noexcept
Message type = PositionMaintenanceCancelRequest.
Definition Messages.h:22902
ThisType & setPosMaintRptRefId(PosMaintRptIDOptional value) noexcept
Definition Messages.h:23026
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:22973
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:22911
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:23069
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:23057
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:23120
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:22949
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:23106
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:23172
ThisType & setPosReqId(PosReqID value) noexcept
Unique identifier for the position maintenance request.
Definition Messages.h:22929
PositionMaintenanceCancelRequest501 ThisType
This type alias.
Definition Messages.h:22815
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:23047
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:23148
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:22961
ThisType & setOrigPosReqRefId(PosReqIDOptional value) noexcept
Definition Messages.h:22992
PositionMaintenanceCancelRequest501(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:22853
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:23141
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Definition Messages.h:24029
ThisType & setPosType(PosType::Enum value) noexcept
Used to identify the type of quantity.
Definition Messages.h:23944
PositionsEntry(void *data, EncodedLength length, SchemaVersion version)
Definition Messages.h:23892
ThisType & setLongQty(QuantityOptional value) noexcept
Long Quantity.
Definition Messages.h:23964
static constexpr const Char * className()
Entity class name.
Definition Messages.h:24042
SbeGroupEntry< GroupSizeEncoding::BlockLength > Base
Base class type.
Definition Messages.h:23885
bool shortQty(QuantityOptional &value) const noexcept
Short Quantity.
Definition Messages.h:23984
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Definition Messages.h:24015
bool longQty(QuantityOptional &value) const noexcept
Long Quantity.
Definition Messages.h:23955
ThisType & setShortQty(QuantityOptional value) noexcept
Short Quantity.
Definition Messages.h:23993
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:23910
PosType::Enum posType() const noexcept
Used to identify the type of quantity.
Definition Messages.h:23935
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:23903
bool accountType(AccountType::Enum &value) const noexcept
Type of account associated with an order.
Definition Messages.h:24371
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:24729
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:24691
PositionMaintenanceReport503 ThisType
This type alias.
Definition Messages.h:23866
bool thresholdAmount(PriceOffsetOptional &value) const noexcept
Definition Messages.h:24424
static constexpr MessageType::Enum messageType() noexcept
Message type = PositionMaintenanceReport.
Definition Messages.h:24124
ThisType & setPosMaintRptId(PosMaintRptID value) noexcept
Unique identifier for this position report.
Definition Messages.h:24232
ThisType & setContraryInstructionIndicator(Boolean::Enum value) noexcept
Definition Messages.h:24580
PositionMaintenanceReport503(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:24086
ThisType & setPosMaintResult(RejReasonOptional value) noexcept
Definition Messages.h:24539
ThisType & setText(StrRef value)
Free ASCII format text string.
Definition Messages.h:24676
ThisType & setAccountType(AccountType::Enum value) noexcept
Type of account associated with an order.
Definition Messages.h:24380
bool posMaintResult(RejReasonOptional &value) const noexcept
Definition Messages.h:24529
void toString(std::string &dest, bool skipEmptyFields=false)
Writes a human-readable presentation into the destination string.
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:24182
bool origPosReqRefId(PosReqIDOptional &value) const noexcept
Definition Messages.h:24341
PositionMaintenanceReport503(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:24072
Boolean::Enum contraryInstructionIndicator() const noexcept
Definition Messages.h:24565
PosTransType::Enum posTransType() const noexcept
Identifies the type of position transaction.
Definition Messages.h:24243
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:24215
ThisType & setTradeId(TradeIDOptional value) noexcept
Definition Messages.h:24320
PositionMaintenanceReport503(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:24108
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:24516
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:24717
ThisType & setClearingBusinessDate(Timestamp value) noexcept
Definition Messages.h:24411
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:24191
OutboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:24144
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:24703
StrRef text() const noexcept
Free ASCII format text string.
Definition Messages.h:24647
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:24477
const OutboundBusinessHeader & businessHeader() const noexcept
Message type = PositionMaintenanceReport.
Definition Messages.h:24135
bool tradeId(TradeIDOptional &value) const noexcept
Definition Messages.h:24309
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:24778
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:24631
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:24654
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:24506
bool posReqId(PosReqIDOptional &value) const noexcept
Unique identifier for the position maintenance request.
Definition Messages.h:24153
PosMaintAction::Enum posMaintAction() const noexcept
Maintenance Action to be performed.
Definition Messages.h:24263
Positions positions(Positions::Size length, NoFieldsInit)
Definition Messages.h:24619
ThisType & setPosMaintStatus(PosMaintStatus::Enum value) noexcept
Status of Position Maintenance Request.
Definition Messages.h:24295
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:24486
ThisType & setPosTransType(PosTransType::Enum value) noexcept
Identifies the type of position transaction.
Definition Messages.h:24252
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:24748
ThisType & setPosMaintAction(PosMaintAction::Enum value) noexcept
Maintenance Action to be performed.
Definition Messages.h:24273
PositionMaintenanceReport503(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:24097
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:24639
SbeGroup< PositionsEntry, GroupSizeEncoding, MessageSize > Positions
Repeating group containing PositionsEntry entries.
Definition Messages.h:24051
ThisType & setThresholdAmount(PriceOffsetOptional value) noexcept
Definition Messages.h:24436
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:24457
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:24203
ThisType & setOrigPosReqRefId(PosReqIDOptional value) noexcept
Definition Messages.h:24351
PosMaintRptID posMaintRptId() const noexcept
Unique identifier for this position report.
Definition Messages.h:24223
PosMaintStatus::Enum posMaintStatus() const noexcept
Status of Position Maintenance Request.
Definition Messages.h:24285
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:24665
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:24737
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:24466
PositionMaintenanceReport503()=default
Initializes a blank instance.
ThisType & setPosReqId(PosReqIDOptional value) noexcept
Unique identifier for the position maintenance request.
Definition Messages.h:24162
PositionMaintenanceRequest502(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:23302
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:23700
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:23662
PosReqID posReqId() const noexcept
Unique identifier for the position maintenance request.
Definition Messages.h:23347
bool thresholdAmount(PriceOffsetOptional &value) const noexcept
Definition Messages.h:23410
PositionMaintenanceRequest502(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:23266
static constexpr MessageType::Enum messageType() noexcept
Message type = PositionMaintenanceRequest.
Definition Messages.h:23318
ThisType & setContraryInstructionIndicator(Boolean::Enum value) noexcept
Definition Messages.h:23557
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:23578
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:23367
Boolean::Enum contraryInstructionIndicator() const noexcept
Definition Messages.h:23542
PosTransType::Enum posTransType() const noexcept
Identifies the type of position transaction.
Definition Messages.h:23494
const InboundBusinessHeader & businessHeader() const noexcept
Message type = PositionMaintenanceRequest.
Definition Messages.h:23329
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:23400
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:23338
PositionMaintenanceRequest502()=default
Initializes a blank instance.
PositionMaintenanceRequest502(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:23280
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:23568
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:23482
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:23688
Quantity longQty() const noexcept
Used to identify the type of quantity.
Definition Messages.h:23601
ThisType & setClearingBusinessDate(Timestamp value) noexcept
Definition Messages.h:23525
PositionMaintenanceRequest502(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:23291
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:23376
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:23674
static constexpr PosType::Enum posType() noexcept
Used to identify the type of quantity.
Definition Messages.h:23591
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:23443
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:23741
ThisType & setPosReqId(PosReqID value) noexcept
Unique identifier for the position maintenance request.
Definition Messages.h:23356
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:23621
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:23636
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:23472
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:23452
ThisType & setPosTransType(PosTransType::Enum value) noexcept
Identifies the type of position transaction.
Definition Messages.h:23503
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:23717
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:23629
ThisType & setThresholdAmount(PriceOffsetOptional value) noexcept
Definition Messages.h:23422
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:23388
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:23647
PositionMaintenanceRequest502 ThisType
This type alias.
Definition Messages.h:23242
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:23708
ThisType & setLongQty(Quantity value) noexcept
Long quantity.
Definition Messages.h:23610
Quote403(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:20443
Quote403()=default
Initializes a blank instance.
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:20982
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:20943
const void * tail() const noexcept
Definition Messages.h:21048
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:20884
ThisType & setSettlType(SettlType::Enum value) noexcept
Definition Messages.h:20672
static constexpr Boolean::Enum privateQuote() noexcept
Definition Messages.h:20838
static constexpr MessageType::Enum messageType() noexcept
Message type = TermoQuote.
Definition Messages.h:20459
ThisType & setQuoteId(QuoteID value) noexcept
Unique identifier for quote.
Definition Messages.h:20559
const BidirectionalBusinessHeader & businessHeader() const noexcept
Message type = TermoQuote.
Definition Messages.h:20470
Quote403(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:20432
ThisType & setQuoteReqId(QuoteReqID value) noexcept
Unique identifier for quote request.
Definition Messages.h:20539
static constexpr const Char * className()
Definition Messages.h:21021
ThisType & setExecuteUnderlyingTrade(ExecuteUnderlyingTrade::Enum value) noexcept
Definition Messages.h:20814
ThisType & setPriceToNull() noexcept
Definition Messages.h:20610
bool price(Price8Optional &value) const noexcept
Definition Messages.h:20591
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:20621
SchemaTraits Schema
Used template schema.
Definition Messages.h:20380
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:20744
Quote403(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:20421
SettlType::Enum settlType() const noexcept
Definition Messages.h:20662
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:20489
ThisType & setFixedRate(Percentage8 value) noexcept
Interest rate of the forward trade.
Definition Messages.h:20787
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:20641
ThisType & setExecuteUnderlyingTradeToNull() noexcept
Definition Messages.h:20824
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:20522
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:20734
StrRef executingTrader() const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:20756
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:20722
Quote403(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:20407
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:20970
bool executeUnderlyingTrade(ExecuteUnderlyingTrade::Enum &value) const noexcept
Definition Messages.h:20801
ThisType & setDaysToSettlement(DaysToSettlement value) noexcept
Definition Messages.h:20863
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:20498
QuoteReqID quoteReqId() const noexcept
Unique identifier for quote request.
Definition Messages.h:20530
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:20956
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:20630
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:20683
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:21030
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:20904
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:20919
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:20712
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:20692
QuoteID quoteId() const noexcept
Unique identifier for quote.
Definition Messages.h:20550
DaysToSettlement daysToSettlement() const noexcept
Definition Messages.h:20852
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:20999
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:20650
Quote403 ThisType
This type alias.
Definition Messages.h:20383
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:20912
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:20570
ThisType & setAccountToNull() noexcept
Definition Messages.h:20701
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:20766
Percentage8 fixedRate() const noexcept
Interest rate of the forward trade.
Definition Messages.h:20778
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:20874
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:20510
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:21058
ThisType & setPrice(Price8Optional value) noexcept
Definition Messages.h:20601
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:20930
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:20990
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:20579
BidirectionalBusinessHeader & businessHeader() noexcept
Common header to all bidirectional business messages.
Definition Messages.h:20480
static constexpr QuoteCancelType::Enum quoteCancelType() noexcept
Identifies the type of quote cancel.
Definition Messages.h:21358
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:21557
QuoteCancel404(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:21210
bool quoteId(QuoteIDOptional &value) const noexcept
Unique identifier for quote.
Definition Messages.h:21328
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:21519
const void * tail() const noexcept
Definition Messages.h:21618
static constexpr Boolean::Enum privateQuote() noexcept
Definition Messages.h:21466
static constexpr MessageType::Enum messageType() noexcept
Message type = QuoteCancel.
Definition Messages.h:21226
const BidirectionalBusinessHeader & businessHeader() const noexcept
Message type = QuoteCancel.
Definition Messages.h:21237
static constexpr const Char * className()
Definition Messages.h:21591
ThisType & setQuoteReqIdToNull() noexcept
Definition Messages.h:21317
SchemaTraits Schema
Used template schema.
Definition Messages.h:21147
QuoteCancel404()=default
Initializes a blank instance.
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:21429
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:21256
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:21289
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:21419
StrRef executingTrader() const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:21441
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:21407
QuoteCancel404(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:21188
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:21545
ThisType & setQuoteId(QuoteIDOptional value) noexcept
Unique identifier for quote.
Definition Messages.h:21337
ThisType & setQuoteReqId(QuoteReqIDOptional value) noexcept
Unique identifier for quote request.
Definition Messages.h:21308
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:21265
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:21531
bool account(AccountOptional &value) const noexcept
Identifies the type of quote cancel.
Definition Messages.h:21368
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:21600
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:21478
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:21493
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:21397
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:21377
bool quoteReqId(QuoteReqIDOptional &value) const noexcept
Unique identifier for quote request.
Definition Messages.h:21298
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:21574
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:21486
QuoteCancel404(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:21174
QuoteCancel404 ThisType
This type alias.
Definition Messages.h:21150
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:21451
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:21277
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:21628
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:21504
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:21565
QuoteCancel404(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:21199
BidirectionalBusinessHeader & businessHeader() noexcept
Common header to all bidirectional business messages.
Definition Messages.h:21247
Enum
Identifies the type of quote cancel.
Definition Fields.h:623
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Definition Messages.h:18542
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:18508
static constexpr const Char * className()
Entity class name.
Definition Messages.h:18556
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:18449
SbeGroupEntry< GroupSizeEncoding::BlockLength > Base
Base class type.
Definition Messages.h:18395
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Definition Messages.h:18530
SidesEntry(void *data, EncodedLength length, SchemaVersion version)
Definition Messages.h:18402
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:18469
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:18478
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:18420
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:18458
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:18498
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:18413
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:19184
bool quoteId(QuoteIDOptional &value) const noexcept
Unique identifier for quote.
Definition Messages.h:18729
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:19146
const void * tail() const noexcept
Definition Messages.h:19246
ThisType & setSettlType(SettlType::Enum value) noexcept
Definition Messages.h:18864
static constexpr Boolean::Enum privateQuote() noexcept
Definition Messages.h:19029
Sides sides(Sides::Size length, NoFieldsInit)
Definition Messages.h:19093
static constexpr MessageType::Enum messageType() noexcept
Message type = QuoteRequest.
Definition Messages.h:18638
QuoteRequest401()=default
Initializes a blank instance.
ThisType & setPrice(Price8 value) noexcept
Definition Messages.h:18842
const BidirectionalBusinessHeader & businessHeader() const noexcept
Message type = QuoteRequest.
Definition Messages.h:18649
ThisType & setQuoteReqId(QuoteReqID value) noexcept
Unique identifier for quote request.
Definition Messages.h:18718
static constexpr const Char * className()
Definition Messages.h:19219
ThisType & setExecuteUnderlyingTrade(ExecuteUnderlyingTrade::Enum value) noexcept
Definition Messages.h:18891
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:18912
SchemaTraits Schema
Used template schema.
Definition Messages.h:18373
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:18964
void toString(std::string &dest, bool skipEmptyFields=false)
Writes a human-readable presentation into the destination string.
SettlType::Enum settlType() const noexcept
Definition Messages.h:18854
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:18668
ThisType & setFixedRate(Percentage8 value) noexcept
Definition Messages.h:19015
QuoteRequest401(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:18600
ThisType & setExecuteUnderlyingTradeToNull() noexcept
Definition Messages.h:18901
ThisType & setContraBroker(Firm value) noexcept
Definition Messages.h:18800
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:18701
QuoteRequest401 ThisType
This type alias.
Definition Messages.h:18376
ThisType & setTradeId(TradeIDOptional value) noexcept
Definition Messages.h:18769
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:18954
StrRef executingTrader() const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:18976
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:18942
QuoteRequest401(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:18586
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:19172
bool executeUnderlyingTrade(ExecuteUnderlyingTrade::Enum &value) const noexcept
Definition Messages.h:18878
ThisType & setQuoteId(QuoteIDOptional value) noexcept
Unique identifier for quote.
Definition Messages.h:18738
ThisType & setDaysToSettlement(DaysToSettlement value) noexcept
Definition Messages.h:19054
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:18677
QuoteReqID quoteReqId() const noexcept
Unique identifier for quote request.
Definition Messages.h:18709
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:19158
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:18921
bool tradeId(TradeIDOptional &value) const noexcept
Definition Messages.h:18759
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:19228
QuoteRequest401(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:18622
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:19105
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:19120
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:18932
DaysToSettlement daysToSettlement() const noexcept
Definition Messages.h:19043
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:19202
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:19113
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:18811
SbeGroup< SidesEntry, GroupSizeEncoding, MessageSize > Sides
Repeating group containing SidesEntry entries.
Definition Messages.h:18565
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:18986
Percentage8 fixedRate() const noexcept
Definition Messages.h:19002
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:18689
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:19256
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:19131
QuoteRequest401(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:18611
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:19192
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:18820
BidirectionalBusinessHeader & businessHeader() noexcept
Common header to all bidirectional business messages.
Definition Messages.h:18659
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Definition Messages.h:21890
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:21856
static constexpr const Char * className()
Entity class name.
Definition Messages.h:21904
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:21797
SbeGroupEntry< GroupSizeEncoding::BlockLength > Base
Base class type.
Definition Messages.h:21743
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Definition Messages.h:21878
SidesEntry(void *data, EncodedLength length, SchemaVersion version)
Definition Messages.h:21750
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:21817
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:21826
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:21768
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:21806
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:21846
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:21761
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:22588
bool quoteId(QuoteIDOptional &value) const noexcept
Unique identifier for quote.
Definition Messages.h:22106
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:22550
bool settlType(SettlType::Enum &value) const noexcept
Definition Messages.h:22231
ThisType & setSettlType(SettlType::Enum value) noexcept
Definition Messages.h:22241
static constexpr Boolean::Enum privateQuote() noexcept
Definition Messages.h:22401
Sides sides(Sides::Size length, NoFieldsInit)
Definition Messages.h:22478
static constexpr MessageType::Enum messageType() noexcept
Message type = QuoteRequestReject.
Definition Messages.h:21986
ThisType & setFixedRate(Percentage8Optional value) noexcept
Interest rate of the forward trade.
Definition Messages.h:22377
const BidirectionalBusinessHeader & businessHeader() const noexcept
Message type = QuoteRequestReject.
Definition Messages.h:21997
ThisType & setQuoteReqId(QuoteReqID value) noexcept
Unique identifier for quote request.
Definition Messages.h:22095
bool fixedRate(Percentage8Optional &value) const noexcept
Interest rate of the forward trade.
Definition Messages.h:22366
static constexpr const Char * className()
Definition Messages.h:22629
ThisType & setOrderQty(QuantityOptional value) noexcept
Quantity ordered.
Definition Messages.h:22301
bool price(Price8Optional &value) const noexcept
Definition Messages.h:22262
ThisType & setText(StrRef value)
Free ASCII format text string.
Definition Messages.h:22535
SchemaTraits Schema
Used template schema.
Definition Messages.h:21721
ThisType & setQuoteRequestRejectReasonToNull() noexcept
Definition Messages.h:22034
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:22218
void toString(std::string &dest, bool skipEmptyFields=false)
Writes a human-readable presentation into the destination string.
QuoteRequestReject405()=default
Initializes a blank instance.
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:22045
QuoteRequestReject405(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:21959
bool orderQty(QuantityOptional &value) const noexcept
Quantity ordered.
Definition Messages.h:22292
QuoteRequestReject405(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:21970
ThisType & setContraBroker(Firm value) noexcept
Definition Messages.h:22177
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:22078
bool quoteRequestRejectReason(RejReasonOptional &value) const noexcept
Reason Quote was rejected.
Definition Messages.h:22016
ThisType & setTradeId(TradeIDOptional value) noexcept
Definition Messages.h:22146
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:22208
ThisType & setQuoteRequestRejectReason(RejReasonOptional value) noexcept
Reason Quote was rejected.
Definition Messages.h:22025
StrRef executingTrader() const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:22343
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:22331
ThisType & setDaysToSettlement(DaysToSettlementOptional value) noexcept
Definition Messages.h:22429
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:22576
ThisType & setQuoteId(QuoteIDOptional value) noexcept
Unique identifier for quote.
Definition Messages.h:22115
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:22054
QuoteReqID quoteReqId() const noexcept
Unique identifier for quote request.
Definition Messages.h:22086
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:22562
StrRef text() const noexcept
Free ASCII format text string.
Definition Messages.h:22506
bool tradeId(TradeIDOptional &value) const noexcept
Definition Messages.h:22136
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:22638
bool daysToSettlement(DaysToSettlementOptional &value) const noexcept
Definition Messages.h:22416
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:22490
QuoteRequestReject405(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:21948
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:22513
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:22321
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:22607
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:22498
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:22188
SbeGroup< SidesEntry, GroupSizeEncoding, MessageSize > Sides
Repeating group containing SidesEntry entries.
Definition Messages.h:21913
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:22353
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:22066
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:22666
ThisType & setPrice(Price8Optional value) noexcept
Definition Messages.h:22272
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:22524
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:22596
QuoteRequestReject405 ThisType
This type alias.
Definition Messages.h:21724
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:22197
QuoteRequestReject405(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:21934
BidirectionalBusinessHeader & businessHeader() noexcept
Common header to all bidirectional business messages.
Definition Messages.h:22007
QuoteStatus::Enum quoteStatus() const noexcept
Identifies the status of the quote acknowledgement.
Definition Messages.h:19666
QuoteStatusReport402 ThisType
This type alias.
Definition Messages.h:19377
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:20176
ThisType & setQuoteRejectReason(RejReasonOptional value) noexcept
Reason Quote was rejected.
Definition Messages.h:19492
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:20137
ThisType & setTradingSubAccount(AccountOptional value)
Account used for associating risk limits (when defined).
Definition Messages.h:20059
bool settlType(SettlType::Enum &value) const noexcept
Definition Messages.h:19780
ThisType & setSettlType(SettlType::Enum value) noexcept
Definition Messages.h:19790
static constexpr Boolean::Enum privateQuote() noexcept
Definition Messages.h:20000
static constexpr MessageType::Enum messageType() noexcept
Message type = QuoteStatusReport.
Definition Messages.h:19453
ThisType & setQuoteId(QuoteID value) noexcept
Unique identifier for quote.
Definition Messages.h:19582
QuoteStatusReport402(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:19415
ThisType & setFixedRate(Percentage8Optional value) noexcept
Interest rate of the forward trade.
Definition Messages.h:19939
const BidirectionalBusinessHeader & businessHeader() const noexcept
Message type = QuoteStatusReport.
Definition Messages.h:19464
ThisType & setQuoteStatusResponseTo(QuoteStatusResponseTo::Enum value) noexcept
Definition Messages.h:19700
ThisType & setQuoteReqId(QuoteReqID value) noexcept
Unique identifier for quote request.
Definition Messages.h:19562
bool quoteStatusResponseTo(QuoteStatusResponseTo::Enum &value) const noexcept
Definition Messages.h:19688
bool fixedRate(Percentage8Optional &value) const noexcept
Interest rate of the forward trade.
Definition Messages.h:19928
static constexpr const Char * className()
Definition Messages.h:20223
ThisType & setExecuteUnderlyingTrade(ExecuteUnderlyingTrade::Enum value) noexcept
Definition Messages.h:19976
bool price(Price8Optional &value) const noexcept
Definition Messages.h:19811
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:19841
ThisType & setText(StrRef value)
Free ASCII format text string.
Definition Messages.h:20124
SchemaTraits Schema
Used template schema.
Definition Messages.h:19374
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:19893
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:19512
ThisType & setExecuteUnderlyingTradeToNull() noexcept
Definition Messages.h:19986
ThisType & setContraBroker(Firm value) noexcept
Definition Messages.h:19635
ThisType & setQuoteStatus(QuoteStatus::Enum value) noexcept
Identifies the status of the quote acknowledgement.
Definition Messages.h:19675
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:19545
ThisType & setTradeId(TradeIDOptional value) noexcept
Definition Messages.h:19604
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:19883
StrRef executingTrader() const noexcept
Identifies the trader who is executing an order.
Definition Messages.h:19905
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:19871
ThisType & setDaysToSettlement(DaysToSettlementOptional value) noexcept
Definition Messages.h:20028
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:20164
bool executeUnderlyingTrade(ExecuteUnderlyingTrade::Enum &value) const noexcept
Definition Messages.h:19963
QuoteStatusReport402(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:19426
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:19521
QuoteReqID quoteReqId() const noexcept
Unique identifier for quote request.
Definition Messages.h:19553
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:20150
QuoteStatusReport402()=default
Initializes a blank instance.
StrRef text() const noexcept
Free ASCII format text string.
Definition Messages.h:20095
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:19850
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:19721
bool tradeId(TradeIDOptional &value) const noexcept
Definition Messages.h:19594
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:20232
bool daysToSettlement(DaysToSettlementOptional &value) const noexcept
Definition Messages.h:20015
StrRef deskId() const noexcept
Identifies the trading desk.
Definition Messages.h:20079
ThisType & setDeskId(StrRef value)
Identifies the trading desk.
Definition Messages.h:20102
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:19861
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:19730
QuoteID quoteId() const noexcept
Unique identifier for quote.
Definition Messages.h:19573
QuoteStatusReport402(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:19437
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:20194
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:19759
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:20087
UTCTimestampNanos transactTime() const noexcept
Time of execution/order creation.
Definition Messages.h:19646
ThisType & setExecutingTrader(StrRef value) noexcept
Identifies the trader who is executing an order.
Definition Messages.h:19915
bool tradingSubAccount(AccountOptional &value) const noexcept
Account used for associating risk limits (when defined).
Definition Messages.h:20049
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:19533
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:20260
ThisType & setPrice(Price8Optional value) noexcept
Definition Messages.h:19821
QuoteStatusReport402(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:19401
bool side(Side::Enum &value) const noexcept
Side of order.
Definition Messages.h:19750
bool quoteRejectReason(RejReasonOptional &value) const noexcept
Reason Quote was rejected.
Definition Messages.h:19483
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:20113
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:20184
ThisType & setTransactTime(UTCTimestampNanos value) noexcept
Time of execution/order creation.
Definition Messages.h:19655
BidirectionalBusinessHeader & businessHeader() noexcept
Common header to all bidirectional business messages.
Definition Messages.h:19474
Enum
Identifies the type of request that a Quote Status Report is in response to.
Definition Fields.h:592
Enum
Identifies the status of the quote acknowledgement.
Definition Fields.h:552
Retransmission13(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:3811
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:3982
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:3944
SeqNum nextSeqNo() const noexcept
The sequence number of the first retransmitted message.
Definition Messages.h:3901
const void * tail() const noexcept
Definition Messages.h:4036
UTCTimestampNanos requestTimestamp() const noexcept
Matches Negotiate timestamp.
Definition Messages.h:3881
static constexpr MessageType::Enum messageType() noexcept
Message type = Retransmission.
Definition Messages.h:3849
Retransmission13 ThisType
This type alias.
Definition Messages.h:3773
static constexpr const Char * className()
Definition Messages.h:4009
SchemaTraits Schema
Used template schema.
Definition Messages.h:3770
ThisType & setRequestTimestamp(UTCTimestampNanos value) noexcept
Matches Negotiate timestamp.
Definition Messages.h:3890
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:3970
SessionID sessionId() const noexcept
Message type = Retransmission.
Definition Messages.h:3860
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:3956
ThisType & setNextSeqNo(SeqNum value) noexcept
The sequence number of the first retransmitted message.
Definition Messages.h:3910
Retransmission13(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:3797
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:4018
Retransmission13()=default
Initializes a blank instance.
ThisType & setCount(MessageCounter value) noexcept
Number of messages to be retransmitted.
Definition Messages.h:3930
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:3998
Retransmission13(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:3833
Retransmission13(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:3822
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:4049
MessageCounter count() const noexcept
Number of messages to be retransmitted.
Definition Messages.h:3921
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:3870
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:3991
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:4279
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:4241
const void * tail() const noexcept
Definition Messages.h:4333
UTCTimestampNanos requestTimestamp() const noexcept
Matches Negotiate timestamp.
Definition Messages.h:4195
static constexpr MessageType::Enum messageType() noexcept
Message type = RetransmitReject.
Definition Messages.h:4163
RetransmitRejectCode::Enum retransmitRejectCode() const noexcept
Identifies the code of reject retransmission.
Definition Messages.h:4216
RetransmitReject14(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:4125
static constexpr const Char * className()
Definition Messages.h:4306
SchemaTraits Schema
Used template schema.
Definition Messages.h:4084
RetransmitReject14 ThisType
This type alias.
Definition Messages.h:4087
ThisType & setRequestTimestamp(UTCTimestampNanos value) noexcept
Matches Negotiate timestamp.
Definition Messages.h:4204
RetransmitReject14(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:4111
RetransmitReject14(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:4136
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:4267
RetransmitReject14(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:4147
SessionID sessionId() const noexcept
Message type = RetransmitReject.
Definition Messages.h:4174
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:4253
ThisType & setRetransmitRejectCode(RetransmitRejectCode::Enum value) noexcept
Identifies the code of reject retransmission.
Definition Messages.h:4226
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:4315
RetransmitReject14()=default
Initializes a blank instance.
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:4295
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:4346
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:4184
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:4288
Enum
Identifies the code of reject retransmission.
Definition Fields.h:1377
RetransmitRequest12 ThisType
This type alias.
Definition Messages.h:3455
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:3668
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:3630
const void * tail() const noexcept
Definition Messages.h:3722
static constexpr MessageType::Enum messageType() noexcept
Message type = RetransmitRequest.
Definition Messages.h:3531
static constexpr const Char * className()
Definition Messages.h:3695
RetransmitRequest12(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:3515
SchemaTraits Schema
Used template schema.
Definition Messages.h:3452
RetransmitRequest12()=default
Initializes a blank instance.
ThisType & setFromSeqNo(SeqNum value) noexcept
The first applied sequence number.
Definition Messages.h:3594
SeqNum fromSeqNo() const noexcept
The first applied sequence number.
Definition Messages.h:3585
RetransmitRequest12(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:3479
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:3656
RetransmitRequest12(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:3504
ThisType & setTimestamp(UTCTimestampNanos value) noexcept
Definition Messages.h:3574
SessionID sessionId() const noexcept
Message type = RetransmitRequest.
Definition Messages.h:3542
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:3642
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:3704
RetransmitRequest12(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:3493
ThisType & setCount(MessageCounter value) noexcept
Definition Messages.h:3616
UTCTimestampNanos timestamp() const noexcept
Definition Messages.h:3564
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:3684
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:3735
MessageCounter count() const noexcept
Definition Messages.h:3606
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:3552
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:3677
Enum
Indicates additional order instruction.
Definition Fields.h:1637
Attributes of SBE message schema.
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Definition Messages.h:17489
static constexpr const Char * className()
Entity class name.
Definition Messages.h:17502
SbeGroupEntry< GroupSizeEncoding::BlockLength > Base
Base class type.
Definition Messages.h:17334
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Definition Messages.h:17474
LegsEntry(void *data, EncodedLength length, SchemaVersion version)
Definition Messages.h:17341
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:17359
static constexpr StrRef legSecurityExchange() noexcept
Exchange code the leg security belongs to.
Definition Messages.h:17409
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:17352
SecurityDefinitionRequest300()=default
Initializes a blank instance.
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:17720
SecurityDefinitionRequest300(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:17568
static constexpr MessageType::Enum messageType() noexcept
Message type = SecurityDefinitionRequest.
Definition Messages.h:17584
SbeGroup< LegsEntry, GroupSizeEncoding, MessageSize > Legs
Repeating group containing LegsEntry entries.
Definition Messages.h:17511
Legs legs(Legs::Size length, NoFieldsInit)
Definition Messages.h:17705
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:17665
void toString(std::string &dest, bool skipEmptyFields=false)
Writes a human-readable presentation into the destination string.
ThisType & setSecurityReqId(SecurityReqRespID value) noexcept
Unique ID of a Security Definition Request.
Definition Messages.h:17622
SecurityDefinitionRequest300 ThisType
This type alias.
Definition Messages.h:17315
SecurityDefinitionRequest300(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:17546
const InboundBusinessHeader & businessHeader() const noexcept
Message type = SecurityDefinitionRequest.
Definition Messages.h:17595
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:17604
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:17655
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:17643
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:17746
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:17732
static constexpr UInt64 getMaxMessageSize(UInt8 maxGroupItems=255) noexcept
Maximal message size.
Definition Messages.h:17760
SecurityReqRespID securityReqId() const noexcept
Unique ID of a Security Definition Request.
Definition Messages.h:17613
SecurityDefinitionRequest300(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:17532
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:17801
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:17633
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:17779
SecurityDefinitionRequest300(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:17557
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:17771
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:18265
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:18224
SecurityDefinitionResponse301(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:17935
static constexpr MessageType::Enum messageType() noexcept
Message type = SecurityDefinitionResponse.
Definition Messages.h:17973
ThisType & setSecurityStrategyType(StrRef value) noexcept
Definition Messages.h:18109
ThisType & setSecurityId(SecurityIDOptional value) noexcept
Security identification as defined by exchange.
Definition Messages.h:18033
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:18209
ThisType & setSecurityResponseId(SecurityReqRespID value) noexcept
Unique ID of a Security Definition message.
Definition Messages.h:18166
SecurityDefinitionResponse301(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:17921
ThisType & setSecurityReqId(SecurityReqRespID value) noexcept
Unique ID of a Security Definition Request.
Definition Messages.h:18011
ThisType & setSecurityResponseType(SecurityResponseType::Enum value) noexcept
Type of Security Definition message response.
Definition Messages.h:18085
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:18066
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:18199
SecurityDefinitionResponse301(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:17946
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:18187
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:18253
OutboundBusinessHeader & businessHeader() noexcept
Common header to all outbound business messages.
Definition Messages.h:17993
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:18238
SecurityReqRespID securityReqId() const noexcept
Unique ID of a Security Definition Request.
Definition Messages.h:18002
SecurityDefinitionResponse301 ThisType
This type alias.
Definition Messages.h:17897
const OutboundBusinessHeader & businessHeader() const noexcept
Message type = SecurityDefinitionResponse.
Definition Messages.h:17984
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:18306
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:18177
SecurityReqRespID securityResponseId() const noexcept
Unique ID of a Security Definition message.
Definition Messages.h:18157
bool securityId(SecurityIDOptional &value) const noexcept
Security identification as defined by exchange.
Definition Messages.h:18023
SecurityDefinitionResponse301(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:17957
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:18281
SecurityDefinitionResponse301()=default
Initializes a blank instance.
bool securityStrategyType(StrRef &value) const noexcept
Definition Messages.h:18098
SecurityResponseType::Enum securityResponseType() const noexcept
Type of Security Definition message response.
Definition Messages.h:18075
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:18054
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:18274
Enum
Identifies the class of the SecurityID.
Definition Fields.h:2020
Enum
Type of Security Definition message response.
Definition Fields.h:785
Enum
Identifier for the instrument status.
Definition Fields.h:2135
Enum
Indicates which order should be cancelled due to self-trade prevention.
Definition Fields.h:950
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:3350
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:3312
Sequence9(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:3250
SeqNum nextSeqNo() const noexcept
Message type = Sequence.
Definition Messages.h:3288
const void * tail() const noexcept
Definition Messages.h:3404
static constexpr MessageType::Enum messageType() noexcept
Message type = Sequence.
Definition Messages.h:3277
static constexpr const Char * className()
Definition Messages.h:3377
Sequence9()=default
Initializes a blank instance.
SchemaTraits Schema
Used template schema.
Definition Messages.h:3198
Sequence9(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:3239
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:3338
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:3324
ThisType & setNextSeqNo(SeqNum value) noexcept
Definition Messages.h:3298
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:3386
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:3366
Sequence9 ThisType
This type alias.
Definition Messages.h:3201
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:3417
Sequence9(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:3225
Sequence9(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:3261
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:3359
Enum
Indicates who in the contract has control over evoking settlement.
Definition Fields.h:922
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:5718
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:5617
SimpleTimeInForce::Enum timeInForce() const noexcept
Specifies how long the order remains in effect.
Definition Messages.h:5452
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:5680
ThisType & setSelfTradePreventionInstruction(SelfTradePreventionInstruction::Enum value) noexcept
Definition Messages.h:5357
SimpleModifyOrder101 ThisType
This type alias.
Definition Messages.h:5087
SimpleModifyOrder101(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:5111
static constexpr MessageType::Enum messageType() noexcept
Message type = SimpleModifyOrder.
Definition Messages.h:5163
ThisType & setTimeInForce(SimpleTimeInForce::Enum value) noexcept
Specifies how long the order remains in effect.
Definition Messages.h:5462
bool price(PriceOptional &value) const noexcept
Definition Messages.h:5528
static constexpr const Char * className()
Definition Messages.h:5754
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:5507
SchemaTraits Schema
Used template schema.
Definition Messages.h:5084
static constexpr AccountType::Enum accountType() noexcept
Type of account associated with an order.
Definition Messages.h:5648
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:5332
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:5369
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:5410
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:5192
bool origClOrdId(ClOrdIDOptional &value) const noexcept
ClOrdID which should be replaced.
Definition Messages.h:5587
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:5627
const InboundBusinessHeader & businessHeader() const noexcept
Message type = SimpleModifyOrder.
Definition Messages.h:5174
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:5402
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:5183
SimpleModifyOrder101(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:5125
ThisType & setOrdType(SimpleOrdType::Enum value) noexcept
Order type.
Definition Messages.h:5440
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:5322
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:5310
bool routingInstruction(RoutingInstruction::Enum &value) const noexcept
Indicates additional order instruction.
Definition Messages.h:5475
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:5706
SimpleOrdType::Enum ordType() const noexcept
Order type.
Definition Messages.h:5430
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:5201
ThisType & setRoutingInstruction(RoutingInstruction::Enum value) noexcept
Indicates additional order instruction.
Definition Messages.h:5486
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:5378
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:5692
SimpleModifyOrder101(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:5147
SelfTradePreventionInstruction::Enum selfTradePreventionInstruction() const noexcept
Definition Messages.h:5346
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:5516
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:5271
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:5538
bool orderId(OrderIDOptional &value) const noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:5558
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:5763
ThisType & setOrderId(OrderIDOptional value) noexcept
Unique identifier for order as assigned by the exchange.
Definition Messages.h:5567
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:5300
SimpleModifyOrder101()=default
Initializes a blank instance.
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:5280
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:5260
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:5734
SimpleModifyOrder101(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:5136
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:5419
StrRef memo() const noexcept
Type of account associated with an order.
Definition Messages.h:5658
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:5390
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:5791
ThisType & setOrigClOrdId(ClOrdIDOptional value) noexcept
ClOrdID which should be replaced.
Definition Messages.h:5596
Boolean::Enum mmProtectionReset() const noexcept
Definition Messages.h:5225
ThisType & setMmProtectionReset(Boolean::Enum value) noexcept
Definition Messages.h:5238
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:5665
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:5726
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:4946
bool investorId(InvestorID &value) const noexcept
Definition Messages.h:4856
SimpleTimeInForce::Enum timeInForce() const noexcept
Specifies how long the order remains in effect.
Definition Messages.h:4749
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:4908
const void * tail() const noexcept
Definition Messages.h:5007
ThisType & setSelfTradePreventionInstruction(SelfTradePreventionInstruction::Enum value) noexcept
Definition Messages.h:4654
SimpleNewOrder100(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:4422
static constexpr MessageType::Enum messageType() noexcept
Message type = SimpleNewOrder.
Definition Messages.h:4460
SimpleNewOrder100(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:4444
ThisType & setTimeInForce(SimpleTimeInForce::Enum value) noexcept
Specifies how long the order remains in effect.
Definition Messages.h:4759
bool price(PriceOptional &value) const noexcept
Definition Messages.h:4825
ThisType & setRoutingInstructionToNull() noexcept
Definition Messages.h:4793
static constexpr const Char * className()
Definition Messages.h:4980
Quantity orderQty() const noexcept
Quantity ordered.
Definition Messages.h:4804
SimpleNewOrder100(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:4408
SchemaTraits Schema
Used template schema.
Definition Messages.h:4381
ThisType & setEnteringTrader(StrRef value) noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:4629
SimpleNewOrder100(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:4433
SecurityID securityId() const noexcept
Security identification as defined by exchange.
Definition Messages.h:4666
Side::Enum side() const noexcept
Side of order.
Definition Messages.h:4707
bool ordTagId(OrdTagID &value) const noexcept
Identifies the order tag identification.
Definition Messages.h:4489
ThisType & setInvestorId(InvestorID value) noexcept
Definition Messages.h:4866
const InboundBusinessHeader & businessHeader() const noexcept
Message type = SimpleNewOrder.
Definition Messages.h:4471
static constexpr StrRef securityExchange() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:4699
InboundBusinessHeader & businessHeader() noexcept
Common header to all inbound business messages.
Definition Messages.h:4480
ThisType & setOrdType(SimpleOrdType::Enum value) noexcept
Order type.
Definition Messages.h:4737
StrRef enteringTrader() const noexcept
Identifies the trader who is inserting an order.
Definition Messages.h:4619
ThisType & setSenderLocation(StrRef value) noexcept
Identifies the original location for routing orders.
Definition Messages.h:4607
bool routingInstruction(RoutingInstruction::Enum &value) const noexcept
Indicates additional order instruction.
Definition Messages.h:4772
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:4934
SimpleOrdType::Enum ordType() const noexcept
Order type.
Definition Messages.h:4727
ThisType & setOrdTagId(OrdTagID value) noexcept
Identifies the order tag identification.
Definition Messages.h:4498
SimpleNewOrder100 ThisType
This type alias.
Definition Messages.h:4384
ThisType & setRoutingInstruction(RoutingInstruction::Enum value) noexcept
Indicates additional order instruction.
Definition Messages.h:4783
ThisType & setSecurityId(SecurityID value) noexcept
Security identification as defined by exchange.
Definition Messages.h:4675
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:4920
SelfTradePreventionInstruction::Enum selfTradePreventionInstruction() const noexcept
Definition Messages.h:4643
ThisType & setOrderQty(Quantity value) noexcept
Quantity ordered.
Definition Messages.h:4813
bool account(AccountOptional &value) const noexcept
Account mnemonic of the order.
Definition Messages.h:4568
ThisType & setPrice(PriceOptional value) noexcept
Definition Messages.h:4835
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:4989
SimpleNewOrder100()=default
Initializes a blank instance.
StrRef senderLocation() const noexcept
Identifies the original location for routing orders.
Definition Messages.h:4597
ThisType & setAccount(AccountOptional value) noexcept
Account mnemonic of the order.
Definition Messages.h:4577
ThisType & setClOrdId(ClOrdID value) noexcept
Definition Messages.h:4557
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:4962
ThisType & setSide(Side::Enum value) noexcept
Side of order.
Definition Messages.h:4716
StrRef memo() const noexcept
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:4886
static constexpr SecurityIDSource::Enum securityIdSource() noexcept
Identifies the class of the SecurityID (Exchange Symbol).
Definition Messages.h:4687
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:5017
Boolean::Enum mmProtectionReset() const noexcept
Definition Messages.h:4522
ThisType & setMmProtectionReset(Boolean::Enum value) noexcept
Definition Messages.h:4535
ThisType & setMemo(StrRef value)
Free ASCII format text field. This field may be used to convey client's relevant info....
Definition Messages.h:4893
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:4954
Enum
Valid order type for simple orders.
Definition Fields.h:1587
Enum
Specifies how long the order remains in effect.
Definition Fields.h:1519
static constexpr UInt64 getMaxMessageSize(UInt8) noexcept
Maximal message size.
Definition Messages.h:2824
static constexpr BlockLength minimalBlockLength(SchemaVersion version) noexcept
Minimal size of message body in bytes.
Definition Messages.h:2786
const void * tail() const noexcept
Definition Messages.h:2878
static constexpr MessageType::Enum messageType() noexcept
Message type = Terminate.
Definition Messages.h:2701
static constexpr const Char * className()
Definition Messages.h:2851
SchemaTraits Schema
Used template schema.
Definition Messages.h:2622
ThisType & setSessionVerId(SessionVerID value) noexcept
Definition Messages.h:2750
Terminate7(void *data, EncodedLength length, NoInit, NoCheck) noexcept
Definition Messages.h:2685
Terminate7(void *data, EncodedLength length, NoInit)
Creates an instance over the given memory block.
Definition Messages.h:2663
static constexpr MessageSize getMinimalVariableFieldsSize(SchemaVersion version)
Minimal variable fields size (when variable-length fields are empty).
Definition Messages.h:2812
SessionID sessionId() const noexcept
Message type = Terminate.
Definition Messages.h:2712
static constexpr BlockLength blockLength(SchemaVersion version) noexcept
Size of message body in bytes.
Definition Messages.h:2798
static constexpr StrRef fixType() noexcept
FIX message type.
Definition Messages.h:2860
Terminate7(void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
Definition Messages.h:2649
Terminate7(const SbeMessage &message)
Creates an instance over the given SBE message.
Definition Messages.h:2674
Terminate7 ThisType
This type alias.
Definition Messages.h:2625
SessionVerID sessionVerId() const noexcept
Definition Messages.h:2737
ThisType & reset() noexcept
Reset all variable-length and optional fields if any.
Definition Messages.h:2840
Terminate7()=default
Initializes a blank instance.
EncodedLength calculateBinarySize() const noexcept
Definition Messages.h:2891
ThisType & setTerminationCode(TerminationCode::Enum value) noexcept
Identifies the code of termination.
Definition Messages.h:2771
ThisType & setSessionId(SessionID value) noexcept
Definition Messages.h:2722
TerminationCode::Enum terminationCode() const noexcept
Identifies the code of termination.
Definition Messages.h:2761
ThisType & resetVariableFields() noexcept
Reset all variable-length fields if any.
Definition Messages.h:2833
Enum
Identifies the code of termination.
Definition Fields.h:1301
Enum
Specifies how long the order remains in effect.
Definition Fields.h:1479
Enum
Identifier for Trading Session.
Definition Fields.h:2073
Enum
Identifier for the instrument group phase.
Definition Fields.h:2098