Project
Loading...
Searching...
No Matches
o2::rans::Decoder< source_T, decoder_T > Class Template Reference

#include <Decoder.h>

Public Types

using source_type = source_T
 
using coder_type = decoder_T
 
using stream_type = typename coder_type::stream_type
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 Decoder () noexcept=default
 
template<typename container_T >
 Decoder (const RenormedHistogramConcept< container_T > &renormedHistogram)
 
size_t getSymbolTablePrecision () const noexcept
 
template<typename stream_IT , typename source_IT , typename literals_IT = std::nullptr_t>
void process (stream_IT inputEnd, source_IT outputBegin, size_t messageLength, size_t nStreams, literals_IT literalsEnd=nullptr) const
 
template<typename literals_IT = std::nullptr_t>
void process (gsl::span< const stream_type > inputStream, gsl::span< source_type > outputStream, size_t messageLength, size_t nStreams, literals_IT literalsEnd=nullptr) const
 

Protected Attributes

decoder_type mImpl {}
 

Detailed Description

template<typename source_T, class decoder_T>
class o2::rans::Decoder< source_T, decoder_T >

Definition at line 33 of file Decoder.h.

Member Typedef Documentation

◆ coder_type

template<typename source_T , class decoder_T >
using o2::rans::Decoder< source_T, decoder_T >::coder_type = decoder_T

Definition at line 38 of file Decoder.h.

◆ difference_type

template<typename source_T , class decoder_T >
using o2::rans::Decoder< source_T, decoder_T >::difference_type = std::ptrdiff_t

Definition at line 55 of file Decoder.h.

◆ size_type

template<typename source_T , class decoder_T >
using o2::rans::Decoder< source_T, decoder_T >::size_type = std::size_t

Definition at line 54 of file Decoder.h.

◆ source_type

template<typename source_T , class decoder_T >
using o2::rans::Decoder< source_T, decoder_T >::source_type = source_T

Definition at line 37 of file Decoder.h.

◆ stream_type

template<typename source_T , class decoder_T >
using o2::rans::Decoder< source_T, decoder_T >::stream_type = typename coder_type::stream_type

Definition at line 53 of file Decoder.h.

Constructor & Destructor Documentation

◆ Decoder() [1/2]

template<typename source_T , class decoder_T >
o2::rans::Decoder< source_T, decoder_T >::Decoder ( )
defaultnoexcept

◆ Decoder() [2/2]

template<typename source_T , class decoder_T >
template<typename container_T >
o2::rans::Decoder< source_T, decoder_T >::Decoder ( const RenormedHistogramConcept< container_T > &  renormedHistogram)
inlineexplicit

Definition at line 60 of file Decoder.h.

Member Function Documentation

◆ getSymbolTablePrecision()

template<typename source_T , class decoder_T >
size_t o2::rans::Decoder< source_T, decoder_T >::getSymbolTablePrecision ( ) const
inlinenoexcept

Definition at line 73 of file Decoder.h.

◆ process() [1/2]

template<typename source_T , class decoder_T >
template<typename literals_IT = std::nullptr_t>
void o2::rans::Decoder< source_T, decoder_T >::process ( gsl::span< const stream_type inputStream,
gsl::span< source_type outputStream,
size_t  messageLength,
size_t  nStreams,
literals_IT  literalsEnd = nullptr 
) const
inline

Definition at line 88 of file Decoder.h.

◆ process() [2/2]

template<typename source_T , class decoder_T >
template<typename stream_IT , typename source_IT , typename literals_IT = std::nullptr_t>
void o2::rans::Decoder< source_T, decoder_T >::process ( stream_IT  inputEnd,
source_IT  outputBegin,
size_t  messageLength,
size_t  nStreams,
literals_IT  literalsEnd = nullptr 
) const
inline

Definition at line 81 of file Decoder.h.

Member Data Documentation

◆ mImpl

template<typename source_T , class decoder_T >
decoder_type o2::rans::Decoder< source_T, decoder_T >::mImpl {}
protected

Definition at line 94 of file Decoder.h.


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