fix8  version 1.4.0
Open Source C++ FIX Framework
Myfix_classes.cpp
Go to the documentation of this file.
1 //-------------------------------------------------------------------------------------------------
2 // *** f8c generated file: DO NOT EDIT! Created: 2016-09-16 11:50:21 ***
3 //-------------------------------------------------------------------------------------------------
4 /*
5 
6 Fix8 is released under the GNU LESSER GENERAL PUBLIC LICENSE Version 3.
7 
8 Fix8 Open Source FIX Engine.
9 Copyright (C) 2010-16 David L. Dight <fix@fix8.org>
10 
11 Fix8 is free software: you can redistribute it and / or modify it under the terms of the
12 GNU Lesser General Public License as published by the Free Software Foundation, either
13 version 3 of the License, or (at your option) any later version.
14 
15 Fix8 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
16 even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 
18 You should have received a copy of the GNU Lesser General Public License along with Fix8.
19 If not, see <http://www.gnu.org/licenses/>.
20 
21 *******************************************************************************************
22 * Special note for Fix8 compiler generated source code *
23 * *
24 * Binary works that are the results of compilation of code that is generated by the Fix8 *
25 * compiler can be released without releasing your source code as long as your binary *
26 * links dynamically against an unmodified version of the Fix8 library. You are however *
27 * required to leave the copyright text in the generated code. *
28 * *
29 *******************************************************************************************
30 
31 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO
32 THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
33 COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
34 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO
36 THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,
37 YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
38 
39 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT
40 HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED
41 ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
42 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
43 NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR
44 THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
45 HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
46 
47 */
48 
49 //-------------------------------------------------------------------------------------------------
50 #include <fix8/f8config.h>
51 #if defined FIX8_MAGIC_NUM && FIX8_MAGIC_NUM > 16793600L
52 #error Myfix_classes.cpp version 1.4.0 is out of date. Please regenerate with f8c.
53 #endif
54 //-------------------------------------------------------------------------------------------------
55 // Myfix_classes.cpp
56 //-------------------------------------------------------------------------------------------------
57 #include <iostream>
58 #include <fstream>
59 #include <iomanip>
60 #include <sstream>
61 #include <vector>
62 #include <map>
63 #include <list>
64 #include <set>
65 #include <iterator>
66 #include <algorithm>
67 #include <cerrno>
68 #include <string.h>
69 // f8 includes
70 #include <fix8/f8exception.hpp>
71 #include <fix8/hypersleep.hpp>
72 #include <fix8/mpmc.hpp>
73 #include <fix8/thread.hpp>
74 #include <fix8/f8types.hpp>
75 #include <fix8/f8utils.hpp>
76 #include <fix8/tickval.hpp>
77 #include <fix8/logger.hpp>
78 #include <fix8/traits.hpp>
79 #include <fix8/field.hpp>
80 #include <fix8/message.hpp>
81 #include "Myfix_types.hpp"
82 #include "Myfix_router.hpp"
83 #include "Myfix_classes.hpp"
84 //-------------------------------------------------------------------------------------------------
85 namespace FIX8 {
86 namespace TEX {
87 
88 namespace {
89 
90 //-------------------------------------------------------------------------------------------------
91 
92 const char *cn[] // Component names
93 {
94  "",
95  "AffectedOrdGrp", // 1
96  "AllocAckGrp", // 2
97  "AllocGrp", // 3
98  "AltPtysSubGrp", // 4
99  "ApplIDReportGrp", // 5
100  "ApplIDRequestAckGrp", // 6
101  "ApplIDRequestGrp", // 7
102  "ApplicationSequenceControl", // 8
103  "AttrbGrp", // 9
104  "BaseTradingRules", // 10
105  "BidCompReqGrp", // 11
106  "BidCompRspGrp", // 12
107  "BidDescReqGrp", // 13
108  "ClrInstGrp", // 14
109  "CollInqQualGrp", // 15
110  "CommissionData", // 16
111  "CompIDReqGrp", // 17
112  "CompIDStatGrp", // 18
113  "ComplexEventDates", // 19
114  "ComplexEventTimes", // 20
115  "ComplexEvents", // 21
116  "ContAmtGrp", // 22
117  "ContextParties", // 23
118  "ContextPtysSubGrp", // 24
119  "ContraGrp", // 25
120  "CpctyConfGrp", // 26
121  "DerivativeEventsGrp", // 27
122  "DerivativeInstrument", // 28
123  "DerivativeInstrumentAttribute", // 29
124  "DerivativeInstrumentParties", // 30
125  "DerivativeInstrumentPartySubIDsGrp", // 31
126  "DerivativeSecurityAltIDGrp", // 32
127  "DerivativeSecurityDefinition", // 33
128  "DerivativeSecurityXML", // 34
129  "DiscretionInstructions", // 35
130  "DisplayInstruction", // 36
131  "DlvyInstGrp", // 37
132  "EvntGrp", // 38
133  "ExecAllocGrp", // 39
134  "ExecCollGrp", // 40
135  "ExecInstRules", // 41
136  "ExpirationQty", // 42
137  "FillsGrp", // 43
138  "FinancingDetails", // 44
139  "HopGrp", // 45
140  "IOIQualGrp", // 46
141  "InstrmtGrp", // 47
142  "InstrmtLegExecGrp", // 48
143  "InstrmtLegGrp", // 49
144  "InstrmtLegIOIGrp", // 50
145  "InstrmtLegSecListGrp", // 51
146  "InstrmtMDReqGrp", // 52
147  "InstrmtStrkPxGrp", // 53
148  "Instrument", // 54
149  "InstrumentExtension", // 55
150  "InstrumentLeg", // 56
151  "InstrumentParties", // 57
152  "InstrumentPtysSubGrp", // 58
153  "LegBenchmarkCurveData", // 59
154  "LegOrdGrp", // 60
155  "LegPreAllocGrp", // 61
156  "LegQuotGrp", // 62
157  "LegQuotStatGrp", // 63
158  "LegSecAltIDGrp", // 64
159  "LegStipulations", // 65
160  "LinesOfTextGrp", // 66
161  "ListOrdGrp", // 67
162  "LotTypeRules", // 68
163  "MDFullGrp", // 69
164  "MDIncGrp", // 70
165  "MDReqGrp", // 71
166  "MDRjctGrp", // 72
167  "MarketDataFeedTypes", // 73
168  "MarketSegmentGrp", // 74
169  "MatchRules", // 75
170  "MaturityRules", // 76
171  "MiscFeesGrp", // 77
172  "MsgTypeGrp", // 78
173  "NestedInstrumentAttribute", // 79
174  "NestedParties", // 80
175  "NestedParties2", // 81
176  "NestedParties3", // 82
177  "NestedParties4", // 83
178  "NewsRefGrp", // 84
179  "NotAffectedOrdersGrp", // 85
180  "NstdPtys2SubGrp", // 86
181  "NstdPtys3SubGrp", // 87
182  "NstdPtys4SubGrp", // 88
183  "NstdPtysSubGrp", // 89
184  "OrdAllocGrp", // 90
185  "OrdListStatGrp", // 91
186  "OrdTypeRules", // 92
187  "OrderQtyData", // 93
188  "Parties", // 94
189  "PartyAltIDs", // 95
190  "PartyDetail", // 96
191  "PartyListGrp", // 97
192  "PartyListResponseTypeGrp", // 98
193  "PartyRelationships", // 99
194  "PegInstructions", // 100
195  "PosUndInstrmtGrp", // 101
196  "PositionAmountData", // 102
197  "PositionQty", // 103
198  "PreAllocGrp", // 104
199  "PreAllocMlegGrp", // 105
200  "PriceLimits", // 106
201  "PtysSubGrp", // 107
202  "QuotCxlEntriesGrp", // 108
203  "QuotEntryAckGrp", // 109
204  "QuotEntryGrp", // 110
205  "QuotQualGrp", // 111
206  "QuotReqGrp", // 112
207  "QuotReqLegsGrp", // 113
208  "QuotReqRjctGrp", // 114
209  "QuotSetAckGrp", // 115
210  "QuotSetGrp", // 116
211  "RFQReqGrp", // 117
212  "RateSource", // 118
213  "RelSymDerivSecGrp", // 119
214  "RelSymDerivSecUpdGrp", // 120
215  "RelatedAltPtysSubGrp", // 121
216  "RelatedContextParties", // 122
217  "RelatedContextPtysSubGrp", // 123
218  "RelatedPartyAltIDs", // 124
219  "RelatedPartyDetail", // 125
220  "RelatedPartyGrp", // 126
221  "RelatedPtysSubGrp", // 127
222  "RelationshipRiskInstrumentScope", // 128
223  "RelationshipRiskLimits", // 129
224  "RelationshipRiskSecAltIDGrp", // 130
225  "RelationshipRiskWarningLevels", // 131
226  "RequestedPartyRoleGrp", // 132
227  "RgstDistInstGrp", // 133
228  "RgstDtlsGrp", // 134
229  "RiskInstrumentScope", // 135
230  "RiskLimits", // 136
231  "RiskSecAltIDGrp", // 137
232  "RiskWarningLevels", // 138
233  "RootParties", // 139
234  "RootSubParties", // 140
235  "RoutingGrp", // 141
236  "SecAltIDGrp", // 142
237  "SecListGrp", // 143
238  "SecLstUpdRelSymGrp", // 144
239  "SecLstUpdRelSymsLegGrp", // 145
240  "SecSizesGrp", // 146
241  "SecTypesGrp", // 147
242  "SecondaryPriceLimits", // 148
243  "SecurityTradingRules", // 149
244  "SecurityXML", // 150
245  "SettlDetails", // 151
246  "SettlInstGrp", // 152
247  "SettlInstructionsData", // 153
248  "SettlObligationInstructions", // 154
249  "SettlParties", // 155
250  "SettlPtysSubGrp", // 156
251  "SideCrossOrdCxlGrp", // 157
252  "SideCrossOrdModGrp", // 158
253  "SideTrdRegTS", // 159
254  "SpreadOrBenchmarkCurveData", // 160
255  "StatsIndGrp", // 161
256  "Stipulations", // 162
257  "StrategyParametersGrp", // 163
258  "StrikeRules", // 164
259  "StrmAsgnReqGrp", // 165
260  "StrmAsgnReqInstrmtGrp", // 166
261  "StrmAsgnRptGrp", // 167
262  "StrmAsgnRptInstrmtGrp", // 168
263  "TargetParties", // 169
264  "TickRules", // 170
265  "TimeInForceRules", // 171
266  "TradeCapLegUnderlyingsGrp", // 172
267  "TradeReportOrderDetail", // 173
268  "TradingSessionRules", // 174
269  "TradingSessionRulesGrp", // 175
270  "TrdAllocGrp", // 176
271  "TrdCapDtGrp", // 177
272  "TrdCapRptAckSideGrp", // 178
273  "TrdCapRptSideGrp", // 179
274  "TrdCollGrp", // 180
275  "TrdInstrmtLegGrp", // 181
276  "TrdRegTimestamps", // 182
277  "TrdRepIndicatorsGrp", // 183
278  "TrdSessLstGrp", // 184
279  "TrdgSesGrp", // 185
280  "TriggeringInstruction", // 186
281  "UndInstrmtCollGrp", // 187
282  "UndInstrmtGrp", // 188
283  "UndSecAltIDGrp", // 189
284  "UnderlyingAmount", // 190
285  "UnderlyingInstrument", // 191
286  "UnderlyingLegInstrument", // 192
287  "UnderlyingLegSecurityAltIDGrp", // 193
288  "UnderlyingStipulations", // 194
289  "UndlyInstrumentParties", // 195
290  "UndlyInstrumentPtysSubGrp", // 196
291  "UsernameGrp", // 197
292  "YieldData", // 198
293 };
294 
295 } // namespace
296 
297 //-------------------------------------------------------------------------------------------------
299 {
300  { "0", { Type2Type<TEX::Heartbeat>(), "Heartbeat" } },
301  { "1", { Type2Type<TEX::TestRequest>(), "TestRequest" } },
302  { "2", { Type2Type<TEX::ResendRequest>(), "ResendRequest" } },
303  { "3", { Type2Type<TEX::Reject>(), "Reject" } },
304  { "4", { Type2Type<TEX::SequenceReset>(), "SequenceReset" } },
305  { "5", { Type2Type<TEX::Logout>(), "Logout" } },
306  { "6", { Type2Type<TEX::IOI>(), "IOI" } },
307  { "7", { Type2Type<TEX::Advertisement>(), "Advertisement" } },
308  { "8", { Type2Type<TEX::ExecutionReport>(), "ExecutionReport" } },
309  { "9", { Type2Type<TEX::OrderCancelReject>(), "OrderCancelReject" } },
310  { "A", { Type2Type<TEX::Logon>(), "Logon" } },
311  { "AA", { Type2Type<TEX::DerivativeSecurityList>(), "DerivativeSecurityList" } },
312  { "AB", { Type2Type<TEX::NewOrderMultileg>(), "NewOrderMultileg" } },
313  { "AC", { Type2Type<TEX::MultilegOrderCancelReplace>(), "MultilegOrderCancelReplace" } },
314  { "AD", { Type2Type<TEX::TradeCaptureReportRequest>(), "TradeCaptureReportRequest" } },
315  { "AE", { Type2Type<TEX::TradeCaptureReport>(), "TradeCaptureReport" } },
316  { "AF", { Type2Type<TEX::OrderMassStatusRequest>(), "OrderMassStatusRequest" } },
317  { "AG", { Type2Type<TEX::QuoteRequestReject>(), "QuoteRequestReject" } },
318  { "AH", { Type2Type<TEX::RFQRequest>(), "RFQRequest" } },
319  { "AI", { Type2Type<TEX::QuoteStatusReport>(), "QuoteStatusReport" } },
320  { "AJ", { Type2Type<TEX::QuoteResponse>(), "QuoteResponse" } },
321  { "AK", { Type2Type<TEX::Confirmation>(), "Confirmation" } },
322  { "AL", { Type2Type<TEX::PositionMaintenanceRequest>(), "PositionMaintenanceRequest" } },
323  { "AM", { Type2Type<TEX::PositionMaintenanceReport>(), "PositionMaintenanceReport" } },
324  { "AN", { Type2Type<TEX::RequestForPositions>(), "RequestForPositions" } },
325  { "AO", { Type2Type<TEX::RequestForPositionsAck>(), "RequestForPositionsAck" } },
326  { "AP", { Type2Type<TEX::PositionReport>(), "PositionReport" } },
327  { "AQ", { Type2Type<TEX::TradeCaptureReportRequestAck>(), "TradeCaptureReportRequestAck" } },
328  { "AR", { Type2Type<TEX::TradeCaptureReportAck>(), "TradeCaptureReportAck" } },
329  { "AS", { Type2Type<TEX::AllocationReport>(), "AllocationReport" } },
330  { "AT", { Type2Type<TEX::AllocationReportAck>(), "AllocationReportAck" } },
331  { "AU", { Type2Type<TEX::ConfirmationAck>(), "ConfirmationAck" } },
332  { "AV", { Type2Type<TEX::SettlementInstructionRequest>(), "SettlementInstructionRequest" } },
333  { "AW", { Type2Type<TEX::AssignmentReport>(), "AssignmentReport" } },
334  { "AX", { Type2Type<TEX::CollateralRequest>(), "CollateralRequest" } },
335  { "AY", { Type2Type<TEX::CollateralAssignment>(), "CollateralAssignment" } },
336  { "AZ", { Type2Type<TEX::CollateralResponse>(), "CollateralResponse" } },
337  { "B", { Type2Type<TEX::News>(), "News" } },
338  { "BA", { Type2Type<TEX::CollateralReport>(), "CollateralReport" } },
339  { "BB", { Type2Type<TEX::CollateralInquiry>(), "CollateralInquiry" } },
340  { "BC", { Type2Type<TEX::NetworkCounterpartySystemStatusRequest>(), "NetworkCounterpartySystemStatusRequest" } },
341  { "BD", { Type2Type<TEX::NetworkCounterpartySystemStatusResponse>(), "NetworkCounterpartySystemStatusResponse" } },
342  { "BE", { Type2Type<TEX::UserRequest>(), "UserRequest" } },
343  { "BF", { Type2Type<TEX::UserResponse>(), "UserResponse" } },
344  { "BG", { Type2Type<TEX::CollateralInquiryAck>(), "CollateralInquiryAck" } },
345  { "BH", { Type2Type<TEX::ConfirmationRequest>(), "ConfirmationRequest" } },
346  { "BI", { Type2Type<TEX::TradingSessionListRequest>(), "TradingSessionListRequest" } },
347  { "BJ", { Type2Type<TEX::TradingSessionList>(), "TradingSessionList" } },
348  { "BK", { Type2Type<TEX::SecurityListUpdateReport>(), "SecurityListUpdateReport" } },
349  { "BL", { Type2Type<TEX::AdjustedPositionReport>(), "AdjustedPositionReport" } },
350  { "BM", { Type2Type<TEX::AllocationInstructionAlert>(), "AllocationInstructionAlert" } },
351  { "BN", { Type2Type<TEX::ExecutionAcknowledgement>(), "ExecutionAcknowledgement" } },
352  { "BO", { Type2Type<TEX::ContraryIntentionReport>(), "ContraryIntentionReport" } },
353  { "BP", { Type2Type<TEX::SecurityDefinitionUpdateReport>(), "SecurityDefinitionUpdateReport" } },
354  { "BQ", { Type2Type<TEX::SettlementObligationReport>(), "SettlementObligationReport" } },
355  { "BR", { Type2Type<TEX::DerivativeSecurityListUpdateReport>(), "DerivativeSecurityListUpdateReport" } },
356  { "BS", { Type2Type<TEX::TradingSessionListUpdateReport>(), "TradingSessionListUpdateReport" } },
357  { "BT", { Type2Type<TEX::MarketDefinitionRequest>(), "MarketDefinitionRequest" } },
358  { "BU", { Type2Type<TEX::MarketDefinition>(), "MarketDefinition" } },
359  { "BV", { Type2Type<TEX::MarketDefinitionUpdateReport>(), "MarketDefinitionUpdateReport" } },
360  { "BW", { Type2Type<TEX::ApplicationMessageRequest>(), "ApplicationMessageRequest" } },
361  { "BX", { Type2Type<TEX::ApplicationMessageRequestAck>(), "ApplicationMessageRequestAck" } },
362  { "BY", { Type2Type<TEX::ApplicationMessageReport>(), "ApplicationMessageReport" } },
363  { "BZ", { Type2Type<TEX::OrderMassActionReport>(), "OrderMassActionReport" } },
364  { "C", { Type2Type<TEX::Email>(), "Email" } },
365  { "CA", { Type2Type<TEX::OrderMassActionRequest>(), "OrderMassActionRequest" } },
366  { "CB", { Type2Type<TEX::UserNotification>(), "UserNotification" } },
367  { "CC", { Type2Type<TEX::StreamAssignmentRequest>(), "StreamAssignmentRequest" } },
368  { "CD", { Type2Type<TEX::StreamAssignmentReport>(), "StreamAssignmentReport" } },
369  { "CE", { Type2Type<TEX::StreamAssignmentReportACK>(), "StreamAssignmentReportACK" } },
370  { "CF", { Type2Type<TEX::PartyDetailsListRequest>(), "PartyDetailsListRequest" } },
371  { "CG", { Type2Type<TEX::PartyDetailsListReport>(), "PartyDetailsListReport" } },
372  { "D", { Type2Type<TEX::NewOrderSingle>(), "NewOrderSingle" } },
373  { "E", { Type2Type<TEX::NewOrderList>(), "NewOrderList" } },
374  { "F", { Type2Type<TEX::OrderCancelRequest>(), "OrderCancelRequest" } },
375  { "G", { Type2Type<TEX::OrderCancelReplaceRequest>(), "OrderCancelReplaceRequest" } },
376  { "H", { Type2Type<TEX::OrderStatusRequest>(), "OrderStatusRequest" } },
377  { "J", { Type2Type<TEX::AllocationInstruction>(), "AllocationInstruction" } },
378  { "K", { Type2Type<TEX::ListCancelRequest>(), "ListCancelRequest" } },
379  { "L", { Type2Type<TEX::ListExecute>(), "ListExecute" } },
380  { "M", { Type2Type<TEX::ListStatusRequest>(), "ListStatusRequest" } },
381  { "N", { Type2Type<TEX::ListStatus>(), "ListStatus" } },
382  { "P", { Type2Type<TEX::AllocationInstructionAck>(), "AllocationInstructionAck" } },
383  { "Q", { Type2Type<TEX::DontKnowTrade>(), "DontKnowTrade" } },
384  { "R", { Type2Type<TEX::QuoteRequest>(), "QuoteRequest" } },
385  { "S", { Type2Type<TEX::Quote>(), "Quote" } },
386  { "T", { Type2Type<TEX::SettlementInstructions>(), "SettlementInstructions" } },
387  { "V", { Type2Type<TEX::MarketDataRequest>(), "MarketDataRequest" } },
388  { "W", { Type2Type<TEX::MarketDataSnapshotFullRefresh>(), "MarketDataSnapshotFullRefresh" } },
389  { "X", { Type2Type<TEX::MarketDataIncrementalRefresh>(), "MarketDataIncrementalRefresh" } },
390  { "Y", { Type2Type<TEX::MarketDataRequestReject>(), "MarketDataRequestReject" } },
391  { "Z", { Type2Type<TEX::QuoteCancel>(), "QuoteCancel" } },
392  { "a", { Type2Type<TEX::QuoteStatusRequest>(), "QuoteStatusRequest" } },
393  { "b", { Type2Type<TEX::MassQuoteAcknowledgement>(), "MassQuoteAcknowledgement" } },
394  { "c", { Type2Type<TEX::SecurityDefinitionRequest>(), "SecurityDefinitionRequest" } },
395  { "d", { Type2Type<TEX::SecurityDefinition>(), "SecurityDefinition" } },
396  { "e", { Type2Type<TEX::SecurityStatusRequest>(), "SecurityStatusRequest" } },
397  { "f", { Type2Type<TEX::SecurityStatus>(), "SecurityStatus" } },
398  { "g", { Type2Type<TEX::TradingSessionStatusRequest>(), "TradingSessionStatusRequest" } },
399  { "h", { Type2Type<TEX::TradingSessionStatus>(), "TradingSessionStatus" } },
400  { "header", { Type2Type<TEX::header, bool>(), "header" } },
401  { "i", { Type2Type<TEX::MassQuote>(), "MassQuote" } },
402  { "j", { Type2Type<TEX::BusinessMessageReject>(), "BusinessMessageReject" } },
403  { "k", { Type2Type<TEX::BidRequest>(), "BidRequest" } },
404  { "l", { Type2Type<TEX::BidResponse>(), "BidResponse" } },
405  { "m", { Type2Type<TEX::ListStrikePrice>(), "ListStrikePrice" } },
406  { "o", { Type2Type<TEX::RegistrationInstructions>(), "RegistrationInstructions" } },
407  { "p", { Type2Type<TEX::RegistrationInstructionsResponse>(), "RegistrationInstructionsResponse" } },
408  { "q", { Type2Type<TEX::OrderMassCancelRequest>(), "OrderMassCancelRequest" } },
409  { "r", { Type2Type<TEX::OrderMassCancelReport>(), "OrderMassCancelReport" } },
410  { "s", { Type2Type<TEX::NewOrderCross>(), "NewOrderCross" } },
411  { "t", { Type2Type<TEX::CrossOrderCancelReplaceRequest>(), "CrossOrderCancelReplaceRequest" } },
412  { "trailer", { Type2Type<TEX::trailer, bool>(), "trailer" } },
413  { "u", { Type2Type<TEX::CrossOrderCancelRequest>(), "CrossOrderCancelRequest" } },
414  { "v", { Type2Type<TEX::SecurityTypeRequest>(), "SecurityTypeRequest" } },
415  { "w", { Type2Type<TEX::SecurityTypes>(), "SecurityTypes" } },
416  { "x", { Type2Type<TEX::SecurityListRequest>(), "SecurityListRequest" } },
417  { "y", { Type2Type<TEX::SecurityList>(), "SecurityList" } },
418  { "z", { Type2Type<TEX::DerivativeSecurityListRequest>(), "DerivativeSecurityListRequest" } }
419 }; // 119
420 
421 extern const Myfix_BaseEntry::Pair fldpairs[];
422 
424 const F8MetaCntx& ctx() // avoid SIOF
425 {
426  static const Myfix_BaseMsgEntry bme(msgpairs, 119);
427  static const Myfix_BaseEntry be(fldpairs, 1562);
428  static const F8MetaCntx _ctx(1100, bme, be, cn, "FIXT.1.1");
429  return _ctx;
430 }
431 
432 } // namespace TEX
433 
434 // Compiler generated metadata object accessible outside namespace through this function.
435 extern "C"
436 {
437  const F8MetaCntx& TEX_ctx() { return TEX::ctx(); }
438 }
439 
440 } // namespace FIX8
441 
Pair abstraction for use with GeneratedTable.
Definition: f8types.hpp:69
const TEX::Myfix_BaseMsgEntry::Pair msgpairs[]
const F8MetaCntx & ctx()
Compiler generated metadata object, accessed through this function.
Type2Type idiom. Variadic template version. Kudos to Andrei Alexandrescu.
Definition: f8types.hpp:378
_pair< Key, Val > Pair
Definition: f8types.hpp:103
const TEX::Myfix_BaseMsgEntry::Pair const Myfix_BaseEntry::Pair fldpairs[]
const F8MetaCntx & TEX_ctx()
Static metadata context class - one per FIX xml schema.
Definition: message.hpp:210
Fast map for statically generated data types. Assumes table is sorted. Complexity is O(logN)...
Definition: f8types.hpp:100