Project
Loading...
Searching...
No Matches
o2::data_compression::CodecIdentity< CodeType, Length > Class Template Reference

#include <DataDeflater.h>

Public Types

using code_type = CodeType
 

Public Member Functions

 CodecIdentity ()=default
 
 ~CodecIdentity ()=default
 
template<typename ValueType , typename WriterType >
int write (ValueType v, WriterType writer)
 

Static Public Attributes

static const std::size_t sMaxLength = Length
 

Detailed Description

template<typename CodeType, std::size_t Length = 8 * sizeof(CodeType)>
class o2::data_compression::CodecIdentity< CodeType, Length >

A simple default codec forwarding identity

Definition at line 39 of file DataDeflater.h.

Member Typedef Documentation

◆ code_type

template<typename CodeType , std::size_t Length = 8 * sizeof(CodeType)>
using o2::data_compression::CodecIdentity< CodeType, Length >::code_type = CodeType

Definition at line 42 of file DataDeflater.h.

Constructor & Destructor Documentation

◆ CodecIdentity()

template<typename CodeType , std::size_t Length = 8 * sizeof(CodeType)>
o2::data_compression::CodecIdentity< CodeType, Length >::CodecIdentity ( )
default

◆ ~CodecIdentity()

template<typename CodeType , std::size_t Length = 8 * sizeof(CodeType)>
o2::data_compression::CodecIdentity< CodeType, Length >::~CodecIdentity ( )
default

Member Function Documentation

◆ write()

template<typename CodeType , std::size_t Length = 8 * sizeof(CodeType)>
template<typename ValueType , typename WriterType >
int o2::data_compression::CodecIdentity< CodeType, Length >::write ( ValueType  v,
WriterType  writer 
)
inline

Definition at line 50 of file DataDeflater.h.

Member Data Documentation

◆ sMaxLength

template<typename CodeType , std::size_t Length = 8 * sizeof(CodeType)>
const std::size_t o2::data_compression::CodecIdentity< CodeType, Length >::sMaxLength = Length
static

Definition at line 44 of file DataDeflater.h.


The documentation for this class was generated from the following file: