127 {
cs_do_not_edit,
"// *** f8c generated file: DO NOT EDIT! Created: "},
133 "#include <iostream>\n"
134 "#include <fstream>\n"
135 "#include <iomanip>\n"
136 "#include <sstream>\n"
137 "#include <vector>\n"
141 "#include <iterator>\n"
142 "#include <algorithm>\n"
143 "#include <cerrno>\n"
144 "#include <string.h>"},
146 "//-------------------------------------------------------------------------------------------------"},
150 "Fix8 is released under the GNU LESSER GENERAL PUBLIC LICENSE Version 3.\n"
152 "Fix8 Open Source FIX Engine.\n"
153 "Copyright (C) 2010-"},
155 " David L. Dight <fix@fix8.org>\n"
157 "Fix8 is free software: you can redistribute it and / or modify it under the terms of the\n"
158 "GNU Lesser General Public License as published by the Free Software Foundation, either\n"
159 "version 3 of the License, or (at your option) any later version.\n"
161 "Fix8 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without\n"
162 "even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
164 "You should have received a copy of the GNU Lesser General Public License along with Fix8.\n"
165 "If not, see <http://www.gnu.org/licenses/>.\n"
167 "*******************************************************************************************\n"
168 "* Special note for Fix8 compiler generated source code *\n"
170 "* Binary works that are the results of compilation of code that is generated by the Fix8 *\n"
171 "* compiler can be released without releasing your source code as long as your binary *\n"
172 "* links dynamically against an unmodified version of the Fix8 library. You are however *\n"
173 "* required to leave the copyright text in the generated code. *\n"
175 "*******************************************************************************************\n"
177 "BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO\n"
178 "THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE\n"
179 "COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY\n"
180 "KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n"
181 "WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO\n"
182 "THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE,\n"
183 "YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n"
185 "IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT\n"
186 "HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED\n"
187 "ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR\n"
188 "CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT\n"
189 "NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR\n"
190 "THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH\n"
191 "HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n"
195 " begin_string *get_begin_string() { return _begin_string; };\n"
196 " body_length *get_body_length() { return _body_length; };\n"
197 " msg_type *get_msg_type() { return _msg_type; };\n\n"
198 " void add_preamble()\n"
200 " add_field(Common_BeginString, 1, _begin_string, false);\n"
201 " add_field(Common_BodyLength, 2, _body_length, false);\n"
202 " add_field(Common_MsgType, 3, _msg_type, false);\n"
205 " check_sum *get_check_sum() { return _check_sum; };\n\n"
206 " void add_preamble()\n"
208 " add_field(Common_CheckSum, 3, _check_sum, false);\n"
static const TypeToCPP _typeToCPP
std::map< comp_str, std::string > CSMap
std::map< FieldTrait::FieldType, std::pair< std::string, std::string >> TypeToCPP
static const BaseTypeMap _baseTypeMap
std::map< std::string, FieldTrait::FieldType > BaseTypeMap