|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef ATHCONTAINERS_PACKEDPARAMETERS_H
17 #define ATHCONTAINERS_PACKEDPARAMETERS_H
296 #endif // not ATHCONTAINERS_PACKEDPARAMETERS_H
bool setOption(const AuxDataOption &option)
Set a packing option.
PackedParameters()
Default constructor.
uint8_t flags() const
Additional flags describing the packing.
uint8_t m_flags
Additional flags.
bool setNbits(uint8_t nbits)
Set the number of bits to be used for each element.
Hold information about an option setting request.
uint8_t m_nmantissa
The number of bits for the mantissa of floating-point representations.
bool setFloat(bool flag)
Set the floating-point flag.
bool isSigned() const
Are elements being written as signed numbers?
uint8_t nmantissa() const
The number of bits used for the mantissa portion of a float-point representation, excluding a sign bi...
bool hasScale() const
Should floats be rescaled before writing?
bool isFloat() const
Are elements being written as floating-point numbers?
uint8_t nbits() const
The number of bits used to store each element.
PackedParameters(T)
Initialize with default packing parameters for type T.
bool setNmantissa(uint8_t nmantissa)
Set the number of mantissa bits used in the packed representation.
Hold information about an option setting request.
static bool isValidOption(const AuxDataOption &option)
Test to see if option is a recognized packing option.
bool setScale(float scale)
Set the scale to use when packing floating-point data.
uint8_t m_nbits
The number of bits to use for each element.
bool rounding() const
Should floats be rounded during writing?
float m_scale
If nonzero, divide floating-point numbers by this before writing.
bool setRounding(bool flag)
Set the rounding mode.
float scale() const
Return the scale for floating-point numbers.
Describe how the contents of a PackedContainer are to be saved.
bool setSigned(bool flag)
Set the signedness flag for the packed representation.