fix8  version 1.4.0
Open Source C++ FIX Framework
Perf_traits.cpp
Go to the documentation of this file.
1 //-------------------------------------------------------------------------------------------------
2 // *** f8c generated file: DO NOT EDIT! Created: 2016-09-16 11:50:22 ***
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 Perf_traits.cpp version 1.4.0 is out of date. Please regenerate with f8c.
53 #endif
54 //-------------------------------------------------------------------------------------------------
55 // Perf_traits.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 "Perf_types.hpp"
82 #include "Perf_router.hpp"
83 #include "Perf_classes.hpp"
84 //-------------------------------------------------------------------------------------------------
85 namespace FIX8 {
86 namespace TEX {
87 
88 //-------------------------------------------------------------------------------------------------
89 // Common group traits
90 namespace {
91 } // namespace
92 
93 //-------------------------------------------------------------------------------------------------
94 // Message traits
95 //-------------------------------------------------------------------------------------------------
96 const FieldTrait Heartbeat::_traits[]
97 {
98  { 112,15, 1, 0,0x04}
99 };
100 const FieldTrait_Hash_Array Heartbeat::_ftha(Heartbeat::_traits, Heartbeat::_fieldcnt);
101 const MsgType Heartbeat::_msgtype("0");
102 //-------------------------------------------------------------------------------------------------
103 const FieldTrait TestRequest::_traits[]
104 {
105  { 112,15, 1, 0,0x05}
106 };
108 const MsgType TestRequest::_msgtype("1");
109 //-------------------------------------------------------------------------------------------------
110 const FieldTrait ResendRequest::_traits[]
111 {
112  { 7, 1, 1, 0,0x05}, { 16, 1, 2, 0,0x05}
113 };
116 //-------------------------------------------------------------------------------------------------
117 const FieldTrait Reject::_traits[]
118 {
119  { 45, 1, 1, 0,0x05}, { 58,15, 5, 0,0x04}, { 354, 2, 6, 0,0x04}, { 355,28, 7, 0,0x04},
120  { 371, 1, 2, 0,0x04}, { 372,15, 3, 0,0x04}, { 373, 1, 4, 0,0x04}
121 };
122 const FieldTrait_Hash_Array Reject::_ftha(Reject::_traits, Reject::_fieldcnt);
123 const MsgType Reject::_msgtype("3");
124 //-------------------------------------------------------------------------------------------------
125 const FieldTrait SequenceReset::_traits[]
126 {
127  { 36, 1, 2, 0,0x05}, { 123, 8, 1, 0,0x04}
128 };
131 //-------------------------------------------------------------------------------------------------
132 const FieldTrait Logout::_traits[]
133 {
134  { 58,15, 1, 0,0x04}, { 354, 2, 2, 0,0x04}, { 355,28, 3, 0,0x04}
135 };
136 const FieldTrait_Hash_Array Logout::_ftha(Logout::_traits, Logout::_fieldcnt);
137 const MsgType Logout::_msgtype("5");
138 //-------------------------------------------------------------------------------------------------
139 const FieldTrait ExecutionReport::_traits[]
140 {
141  { 1,15, 15, 0,0x04}, { 6,11, 50, 0,0x05}, { 11,15, 3, 0,0x04}, { 14,10, 49, 0,0x05},
142  { 15,19, 36, 0,0x04}, { 17,15, 8, 0,0x05}, { 18,17, 42, 0,0x04}, { 19,15, 10, 0,0x04},
143  { 20, 7, 9, 0,0x05}, { 21, 7, 58, 0,0x04}, { 22,15, 20, 0,0x04}, { 29, 7, 47, 0,0x04},
144  { 30,20, 45, 0,0x04}, { 31,11, 44, 0,0x04}, { 32,10, 43, 0,0x04}, { 37,15, 1, 0,0x05},
145  { 38,10, 31, 0,0x04}, { 39, 7, 12, 0,0x05}, { 40, 7, 33, 0,0x04}, { 41,15, 4, 0,0x04},
146  { 44,11, 34, 0,0x04}, { 48,15, 19, 0,0x04}, { 54, 7, 30, 0,0x05}, { 55,15, 18, 0,0x05},
147  { 58,15, 63, 0,0x04}, { 59, 7, 38, 0,0x04}, { 60,22, 55, 0,0x04}, { 63, 7, 16, 0,0x04},
148  { 64,25, 17, 0,0x04}, { 66,15, 7, 0,0x04}, { 75,25, 54, 0,0x04}, { 76,15, 6, 0,0x04},
149  { 77, 7, 61, 0,0x04}, { 99,11, 35, 0,0x04}, { 103, 1, 13, 0,0x04}, { 106,15, 28, 0,0x04},
150  { 107,15, 29, 0,0x04}, { 109,15, 5, 0,0x04}, { 110,10, 59, 0,0x04}, { 111,10, 60, 0,0x04},
151  { 113, 8, 64, 0,0x04}, { 119,13, 56, 0,0x04}, { 120,19, 57, 0,0x04}, { 126,22, 41, 0,0x04},
152  { 150, 7, 11, 0,0x05}, { 151,10, 48, 0,0x05}, { 152,10, 32, 0,0x04}, { 167,15, 21, 0,0x04},
153  { 168,22, 39, 0,0x04}, { 198,15, 2, 0,0x04}, { 200,21, 22, 0,0x04}, { 201, 1, 24, 0,0x04},
154  { 202,11, 25, 0,0x04}, { 205, 6, 23, 0,0x04}, { 206, 7, 26, 0,0x04}, { 207,20, 27, 0,0x04},
155  { 210,10, 62, 0,0x04}, { 336,15, 46, 0,0x04}, { 376,15, 37, 0,0x04}, { 378, 1, 14, 0,0x04},
156  { 424,10, 51, 0,0x04}, { 425,10, 52, 0,0x04}, { 426,11, 53, 0,0x04}, { 432,25, 40, 0,0x04}
157 };
160 //-------------------------------------------------------------------------------------------------
161 const FieldTrait Logon::_traits[]
162 {
163  { 95, 2, 3, 0,0x04}, { 96,28, 4, 0,0x04}, { 98, 1, 1, 0,0x05}, { 108, 1, 2, 0,0x05},
164  { 141, 8, 5, 0,0x04}, { 383, 1, 6, 0,0x04}, { 384, 1, 7, 0,0x0c}
165 };
166 const FieldTrait_Hash_Array Logon::_ftha(Logon::_traits, Logon::_fieldcnt);
167 const MsgType Logon::_msgtype("A");
168 //-------------------------------------------------------------------------------------------------
169 const FieldTrait Logon::NoMsgTypes::_traits[]
170 {
171  { 372,15, 1, 0,0x04}, { 385, 7, 2, 0,0x04}
172 };
173 const FieldTrait_Hash_Array
175 const MsgType Logon::NoMsgTypes::_msgtype("NoMsgTypes");
176 //-------------------------------------------------------------------------------------------------
177 const FieldTrait NewOrderSingle::_traits[]
178 {
179  { 1,15, 4, 0,0x04}, { 11,15, 1, 0,0x05}, { 12,13, 44, 0,0x04}, { 15,19, 38, 0,0x04},
180  { 18,17, 8, 0,0x04}, { 21, 7, 7, 0,0x05}, { 22,15, 16, 0,0x04}, { 38,10, 33, 0,0x04},
181  { 40, 7, 35, 0,0x05}, { 44,11, 36, 0,0x04}, { 48,15, 15, 0,0x04}, { 54, 7, 30, 0,0x05},
182  { 55,15, 13, 0,0x05}, { 58,15, 46, 0,0x04}, { 59, 7, 40, 0,0x04}, { 60,22, 32, 0,0x05},
183  { 63, 7, 5, 0,0x04}, { 64,25, 6, 0,0x04}, { 65,15, 14, 0,0x04}, { 76,15, 3, 0,0x04},
184  { 81, 7, 12, 0,0x04}, { 99,11, 37, 0,0x04}, { 100,20, 11, 0,0x04}, { 106,15, 25, 0,0x04},
185  { 107,15, 28, 0,0x04}, { 109,15, 2, 0,0x04}, { 110,10, 9, 0,0x04}, { 111,10, 10, 0,0x04},
186  { 114, 8, 31, 0,0x04}, { 117,15, 39, 0,0x04}, { 120,19, 45, 0,0x04}, { 126,22, 43, 0,0x04},
187  { 140,11, 29, 0,0x04}, { 152,10, 34, 0,0x04}, { 167,15, 17, 0,0x04}, { 168,22, 41, 0,0x04},
188  { 200,21, 18, 0,0x04}, { 201, 1, 20, 0,0x04}, { 202,11, 21, 0,0x04}, { 204, 1, 47, 0,0x04},
189  { 205, 6, 19, 0,0x04}, { 206, 7, 22, 0,0x04}, { 207,20, 24, 0,0x04}, { 231, 9, 23, 0,0x04},
190  { 348, 2, 26, 0,0x04}, { 349,28, 27, 0,0x04}, { 432,25, 42, 0,0x04}
191 };
194 //-------------------------------------------------------------------------------------------------
195 const FieldTrait header::_traits[]
196 {
197  { 8,15, 1, 0,0x64}, { 9, 1, 2, 0,0x64}, { 34, 1, 10, 0,0x05}, { 35,15, 3, 0,0x44},
198  { 43, 8, 11, 0,0x04}, { 49,15, 4, 0,0x05}, { 52,22, 13, 0,0x05}, { 56,15, 5, 0,0x05},
199  { 90, 2, 8, 0,0x04}, { 91,28, 9, 0,0x04}, { 97, 8, 12, 0,0x04}, { 115,15, 6, 0,0x04},
200  { 122,22, 14, 0,0x04}, { 128,15, 7, 0,0x04}
201 };
202 const FieldTrait_Hash_Array header::_ftha(header::_traits, header::_fieldcnt);
203 const MsgType header::_msgtype("header");
204 //-------------------------------------------------------------------------------------------------
205 const FieldTrait trailer::_traits[]
206 {
207  { 10,15, 3, 0,0x64}, { 89,28, 2, 0,0x04}, { 93, 2, 1, 0,0x04}
208 };
209 const FieldTrait_Hash_Array trailer::_ftha(trailer::_traits, trailer::_fieldcnt);
210 const MsgType trailer::_msgtype("trailer");
211 
212 } // namespace TEX
213 } // namespace FIX8
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait _traits[]
Field< f8String, 35 > MsgType
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const MsgType _msgtype
static F8_TEX_API const FieldTrait_Hash_Array _ftha
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const unsigned _fieldcnt
static F8_TEX_API const FieldTrait _traits[]
static F8_TEX_API const FieldTrait_Hash_Array _ftha