libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
messages.cpp
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright © 2017 by J.M.McGuiness, isimud@hussar.me.uk
3 **
4 ** This library is free software; you can redistribute it and/or
5 ** modify it under the terms of the GNU Lesser General Public
6 ** License as published by the Free Software Foundation; either
7 ** version 2.1 of the License, or (at your option) any later version.
8 **
9 ** This library is distributed in the hope that it will be useful,
10 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 ** Lesser General Public License for more details.
13 **
14 ** You should have received a copy of the GNU Lesser General Public
15 ** License along with this library; if not, write to the Free Software
16 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18 
19 #include "messages.hpp"
20 
21 #include <iostream>
22 
23 namespace isimud { namespace ISIMUD_VER_NAMESPACE { namespace exchanges { namespace FIX { namespace v5_0sp2 {
24 
25 std::ostream &
26 MsgTypes::to_stream(std::ostream &os) noexcept(false) {
27  os
28  <<"Version: '" ISIMUD_FIX_EXCHANGE_VERSION "'"
29  ", FIXML Data-types: '" ISIMUD_FIXML_DATATYPES_HDR_GENERATED_DATE "'"
30  ", FIXML Fields-base: '" ISIMUD_FIXML_FIELDS_BASE_HDR_GENERATED_DATE "'"
31  ", FIXML Fields-impl: '" ISIMUD_FIXML_FIELDS_IMPL_HDR_GENERATED_DATE "'"
32  ", FIXML Fields-fast: '" ISIMUD_FIXML_FIELDS_FAST_HDR_GENERATED_DATE "'"
33  ", VersionSpecific::fix_template_to_msg_type: '"<<VersionSpecific::fix_template_to_msg_type<<"'"
34  <<", VersionSpecific::fix_template_msg_type_offset: '"<<VersionSpecific::fix_template_msg_type_offset<<"'"
35  <<", VersionSpecific::MsgVer: '"<<VersionSpecific::MsgVer<<"'"
36  <<", max_size_of_fix_message="<<exchanges::FIX::common::max_size_of_fix_message
37  <<", CheckSumLength="<<exchanges::FIX::common::CheckSumLength
38  <<", minimum size of client-to-exchange message="<<min_size_client_to_exchange_msg
39  <<", maximum size of client-to-exchange message="<<max_size_client_to_exchange_msg
40  <<", minimum size of exchange-to-client message="<<min_size_exchange_to_client_msg
41  <<", maximum size of exchange-to-client message="<<max_size_exchange_to_client_msg
42  <<", minimum message size="<<min_msg_size
43  <<", maximum message size="<<max_msg_size
44  <<", header size="<<header_t_size
45  <<", implied_decimal_places="<<implied_decimal_places;
46  return os;
47 }
48 
49 } } } } }