root/isimud/exchanges/conversions/fix_to_batsboe_eu_conversions.hpp

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

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. LogonRequest

   1 #ifndef libjmmcg_isimud_exchanges_conversions_fix_to_batsboe_eu_conversions_hpp
   2 #define libjmmcg_isimud_exchanges_conversions_fix_to_batsboe_eu_conversions_hpp
   3 
   4 /******************************************************************************
   5 ** $Header: svn+ssh://jmmcg@svn.code.sf.net/p/libjmmcg/code/trunk/libjmmcg/isimud/exchanges/conversions/fix_to_batsboe_eu_conversions.hpp 2177 2017-10-11 21:29:22Z jmmcg $
   6 **
   7 ** Copyright © 2015 by J.M.McGuiness, isimud@hussar.me.uk
   8 **
   9 ** This library is free software; you can redistribute it and/or
  10 ** modify it under the terms of the GNU Lesser General Public
  11 ** License as published by the Free Software Foundation; either
  12 ** version 2.1 of the License, or (at your option) any later version.
  13 **
  14 ** This library is distributed in the hope that it will be useful,
  15 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  16 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17 ** Lesser General Public License for more details.
  18 **
  19 ** You should have received a copy of the GNU Lesser General Public
  20 ** License along with this library; if not, write to the Free Software
  21 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  22 */
  23 
  24 #include "fix_to_batsboe_common_conversions.hpp"
  25 
  26 #include "../../exchanges/FIX/v5.0sp2/messages.hpp"
  27 #include "../../exchanges/BATSBOE/EU/v1/messages.hpp"
  28 #include "../../exchanges/BATSBOE/EU/v2/messages.hpp"
  29 
  30 #include "core/memops.hpp"
  31 
  32 namespace isimud { namespace exchanges { namespace BATSBOE { namespace common {
  33 
  34 template<>
  35 template<> inline
  36 LogonRequest<EU::MsgType, EU::MsgType::LogonRequest>::LogonRequest<FIX::v5_0sp2::MsgTypes::LogonRequest>(FIX::v5_0sp2::MsgTypes::LogonRequest const &msg, uint32_t seqNum, const SessionSubID_t sessionSubID, const bool noUnspec)
  37 : LogonRequest(
  38                 seqNum,
  39                 sessionSubID,
  40                 jmmcg::copy<UserName_t>(msg.find<FIX::common::FieldsFast::Username>()),
  41                 jmmcg::copy<Password_t>(msg.find<FIX::common::FieldsFast::Password>()),
  42                 noUnspec
  43         ) {
  44 }
  45 
  46 } } } }
  47 
  48 #endif

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