libjmmcg
release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
fix_to_batsboe_us_conversions.hpp
Go to the documentation of this file.
1
#
ifndef
ISIMUD_EXCHANGES_conversions_fix_to_batsboe_us_conversions_hpp
2
#
define
ISIMUD_EXCHANGES_conversions_fix_to_batsboe_us_conversions_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
"fix_to_batsboe_common_conversions.hpp"
23
24
#
include
"../../exchanges/FIX/v5.0sp2/messages.hpp"
25
#
include
"../../exchanges/BATSBOE/US/v1/messages.hpp"
26
#
include
"../../exchanges/BATSBOE/US/v2/messages.hpp"
27
28
#
include
"core/memops.hpp"
29
30
namespace
isimud
{
namespace
ISIMUD_VER_NAMESPACE
{
namespace
exchanges {
namespace
BATSBOE
{
namespace
common
{
31
32
template
<>
33
template
<>
inline
34
LogonRequest
<
US
::
MsgType
,
US
::
MsgType
::
LogonRequest
>::
LogonRequest
(
FIX
::
v5_0sp2
::
MsgTypes
::
LogonRequest
const
&
msg
,
exchanges
::
BATSBOE
::
common
::
SeqNum_t
seqNum
,
const
SessionSubID_t
sessionSubID
,
const
bool
noUnspec
)
35
:
LogonRequest
(
36
seqNum
,
37
sessionSubID
,
38
libjmmcg
::
copy
<
UserName_t
>(
msg
.
find
<
FIX
::
common
::
FieldsFast
::
Username
>()),
39
libjmmcg
::
copy
<
Password_t
>(
msg
.
find
<
FIX
::
common
::
FieldsFast
::
Password
>()),
40
noUnspec
41
) {
42
}
43
44
} } } } }
45
46
#
endif
isimud
exchanges
conversions
fix_to_batsboe_us_conversions.hpp
Generated on Tue May 11 2021 17:28:45 for libjmmcg by
1.9.2