libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
types.hpp
Go to the documentation of this file.
1 #ifndef ISIMUD_EXCHANGES_BATSBOE_EU_types_hpp
2 #define ISIMUD_EXCHANGES_BATSBOE_EU_types_hpp
3 
4 /******************************************************************************
5 ** Copyright © 2015 by J.M.McGuiness, isimud@hussar.me.uk
6 **
7 ** This library is free software; you can redistribute it and/or
8 ** modify it under the terms of the GNU Lesser General Public
9 ** License as published by the Free Software Foundation; either
10 ** version 2.1 of the License, or (at your option) any later version.
11 **
12 ** This library is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ** Lesser General Public License for more details.
16 **
17 ** You should have received a copy of the GNU Lesser General Public
18 ** License along with this library; if not, write to the Free Software
19 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21 
22 #include "../common/types.hpp"
23 
24 namespace isimud { namespace ISIMUD_VER_NAMESPACE { namespace exchanges { namespace BATSBOE { namespace EU {
25 
26 enum class MsgType : common::MsgType_t {
27  LogonRequest=0x1E,
28  LogonReply=0x1F,
29  TradeCaptureReport=0x17,
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