![]() |
Project
|
#include <TruncatedPrecisionConverter.h>
Public Types | |
| using | code_type = typename ParameterModelT::converted_type |
Public Member Functions | |
| TruncatedPrecisionConverter () | |
| ~TruncatedPrecisionConverter ()=default | |
| TruncatedPrecisionConverter (const TruncatedPrecisionConverter &)=delete | |
| TruncatedPrecisionConverter & | operator= (const TruncatedPrecisionConverter &)=delete |
| template<typename T , typename Writer > | |
| int | write (T value, Writer writer) |
| void | resetParameterModel () |
| const ParameterModelT & | getModel () const |
| ParameterModelT & | getModel () |
Static Public Attributes | |
| static const std::size_t | sMaxLength = ParameterModelT::sBitlength |
@TruncatedPrecisionConverter A simple converter producing truncated precision The converter implements the write function needed to be used as a codec in the data compression framework. Simply a prototype case for the moment.
The parameter model is required to implement the method 'convert'.
Definition at line 38 of file TruncatedPrecisionConverter.h.
| using o2::data_compression::TruncatedPrecisionConverter< ParameterModelT >::code_type = typename ParameterModelT::converted_type |
Definition at line 47 of file TruncatedPrecisionConverter.h.
|
inline |
Definition at line 41 of file TruncatedPrecisionConverter.h.
|
default |
|
delete |
|
inline |
Definition at line 61 of file TruncatedPrecisionConverter.h.
|
inline |
Definition at line 60 of file TruncatedPrecisionConverter.h.
|
delete |
|
inline |
Definition at line 58 of file TruncatedPrecisionConverter.h.
|
inline |
Definition at line 50 of file TruncatedPrecisionConverter.h.
|
static |
Definition at line 46 of file TruncatedPrecisionConverter.h.