1 #ifndef libjmmcg_isimud_exchanges_BATSBOE_EU_types_hpp 2 #define libjmmcg_isimud_exchanges_BATSBOE_EU_types_hpp 3 4 /****************************************************************************** 5 ** $Header: svn+ssh://jmmcg@svn.code.sf.net/p/libjmmcg/code/trunk/libjmmcg/isimud/exchanges/BATSBOE/EU/types.hpp 2305 2018-08-19 18:18:55Z 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 "../common/types.hpp" 25 26 namespace isimud { namespace exchanges { namespace BATSBOE { namespace EU { 27 28 enum class MsgType : common::MsgType_t { 29 LogonRequest=0x1E, 30 LogonReply=0x1F, 31 TradeCaptureReport=0x17, 32 TradeCaptureReportAck=0x18, 33 TradeCaptureReportReject=0x19, 34 TradeCaptureConfirm=0x1A, 35 TradeCaptureDecline=0x1B 36 }; 37 38 inline std::ostream & 39 operator<<(std::ostream &os, MsgType m) { 40 os<<static_cast<std::underlying_type<MsgType>::type>(m); 41 return os; 42 } 43 44 } } } } 45 46 #endif