ATLAS Offline Software
Loading...
Searching...
No Matches
PackedConverter.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// $Id$
12
13
15
16
17namespace SG {
18
19
25 : m_parms (parms),
26 m_packer (parms.nbits(),
27 parms.nmantissa() + (parms.isSigned()?1:0),
28 parms.scale(),
29 parms.isSigned(),
30 parms.rounding())
31{
32}
33
34
35} // namespace SG
Helper for packing/unpacking a PackedContainer to/from a stream.
PackedConverter(const PackedParameters &parms)
Constructor.
CxxUtils::FloatPacker m_packer
Object to pack/unpack floating-point values.
PackedParameters m_parms
The parameters to use for the packing.
Describe how the contents of a PackedContainer are to be saved.
Forward declaration.