1 #ifndef libjmmcg_isimud_exchanges_BATSBOE_US_types_hpp 2 #define libjmmcg_isimud_exchanges_BATSBOE_US_types_hpp 3 4 /****************************************************************************** 5 ** $Header: svn+ssh://jmmcg@svn.code.sf.net/p/libjmmcg/code/trunk/libjmmcg/isimud/exchanges/BATSBOE/US/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 US { 27 28 enum class MsgType : common::MsgType_t { 29 LogonRequest=0x01, 30 LogonReply=0x1F 31 }; 32 33 inline std::ostream & 34 operator<<(std::ostream &os, MsgType m) { 35 os<<static_cast<std::underlying_type<MsgType>::type>(m); 36 return os; 37 } 38 39 } } } } 40 41 #endif