ESyS-Particle
2.3.4
pack.hpp
Go to the documentation of this file.
1
// //
3
// Copyright (c) 2003-2017 by The University of Queensland //
4
// Centre for Geoscience Computing //
5
// http://earth.uq.edu.au/centre-geoscience-computing //
6
// //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.apache.org/licenses/LICENSE-2.0 //
10
// //
12
13
template
<>
14
template
<
typename
T1,
typename
T2>
15
void
TML_PackedMessageInterface::pack<pair<T1,T2> >(
const
pair<T1,T2>& p)
16
{
17
pack(p.first);
18
pack(p.second);
19
}
20
21
template
<
typename
T1,
typename
T2>
22
void
TML_PackedMessageInterface::unpack<pair<T1,T2> >(pair<T1,T2>& p)
23
{
24
unpack(p.first);
25
unpack(p.second);
26
}
tml
message
pack.hpp
Generated by
1.8.20