root/isimud/exchanges/BATSBOE/US/v1/messages.cpp

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. to_stream

   1 /******************************************************************************
   2 ** $Header: svn+ssh://jmmcg@svn.code.sf.net/p/libjmmcg/code/trunk/libjmmcg/isimud/exchanges/BATSBOE/US/v1/messages.cpp 2318 2018-08-31 07:51:49Z jmmcg $
   3 **
   4 ** Copyright © 2015 by J.M.McGuiness, isimud@hussar.me.uk
   5 **
   6 ** This library is free software; you can redistribute it and/or
   7 ** modify it under the terms of the GNU Lesser General Public
   8 ** License as published by the Free Software Foundation; either
   9 ** version 2.1 of the License, or (at your option) any later version.
  10 **
  11 ** This library is distributed in the hope that it will be useful,
  12 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  13 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14 ** Lesser General Public License for more details.
  15 **
  16 ** You should have received a copy of the GNU Lesser General Public
  17 ** License along with this library; if not, write to the Free Software
  18 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19 */
  20 
  21 #include "messages.hpp"
  22 
  23 namespace isimud { namespace exchanges { namespace BATSBOE { namespace US { namespace v1 {
  24 
  25 std::ostream &
  26 MsgTypes::to_stream(std::ostream &os) noexcept(false) {
  27         os<<"MIC: ";
  28         exchanges::common::mic_codes::to_stream<MIC_code>(os);
  29         os
  30                 <<", version: '"<<LIBJMMCG_BATSBOE_US_v1_EXCHANGE_VERSION<<"'"
  31                 <<", minimum size of client-to-exchange message="<<min_size_client_to_exchange_msg
  32                 <<", maximum size of client-to-exchange message="<<max_size_client_to_exchange_msg
  33                 <<", minimum size of exchange-to-client message="<<min_size_exchange_to_client_msg
  34                 <<", maximum size of exchange-to-client message="<<max_size_exchange_to_client_msg
  35                 <<", minimum message size="<<min_msg_size
  36                 <<", maximum message size="<<max_msg_size
  37                 <<", header size="<<header_t_size
  38                 <<", implied decimal places="<<implied_decimal_places;
  39         return os;
  40 }
  41 
  42 } } } } }

/* [<][>][^][v][top][bottom][index][help] */