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

#include <DecoderConcept.h>

Public Types

using symbolTable_type = symbolTable_T
 
using symbol_type = typename symbolTable_type::symbol_type
 
using coder_type = decoder_T
 
using source_type = typename symbolTable_type::source_type
 
using stream_type = typename coder_type::stream_type
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

 DecoderConcept ()=default
 
template<typename container_T >
 DecoderConcept (const RenormedHistogramConcept< container_T > &renormedHistogram)
 
const symbolTable_typegetSymbolTable () const noexcept
 
template<typename stream_IT , typename source_IT , typename literals_IT = std::nullptr_t, std::enable_if_t< utils::isCompatibleIter_v< typename symbolTable_T::source_type, source_IT >, bool > = true>
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

symbolTable_type mSymbolTable {}
 

Detailed Description

template<class decoder_T, class symbolTable_T>
class o2::rans::DecoderConcept< decoder_T, symbolTable_T >

Definition at line 30 of file DecoderConcept.h.

Member Typedef Documentation

◆ coder_type

template<class decoder_T , class symbolTable_T >
using o2::rans::DecoderConcept< decoder_T, symbolTable_T >::coder_type = decoder_T

Definition at line 35 of file DecoderConcept.h.

◆ difference_type

template<class decoder_T , class symbolTable_T >
using o2::rans::DecoderConcept< decoder_T, symbolTable_T >::difference_type = std::ptrdiff_t

Definition at line 39 of file DecoderConcept.h.

◆ size_type

template<class decoder_T , class symbolTable_T >
using o2::rans::DecoderConcept< decoder_T, symbolTable_T >::size_type = std::size_t

Definition at line 38 of file DecoderConcept.h.

◆ source_type

template<class decoder_T , class symbolTable_T >
using o2::rans::DecoderConcept< decoder_T, symbolTable_T >::source_type = typename symbolTable_type::source_type

Definition at line 36 of file DecoderConcept.h.

◆ stream_type

template<class decoder_T , class symbolTable_T >
using o2::rans::DecoderConcept< decoder_T, symbolTable_T >::stream_type = typename coder_type::stream_type

Definition at line 37 of file DecoderConcept.h.

◆ symbol_type

template<class decoder_T , class symbolTable_T >
using o2::rans::DecoderConcept< decoder_T, symbolTable_T >::symbol_type = typename symbolTable_type::symbol_type

Definition at line 34 of file DecoderConcept.h.

◆ symbolTable_type

template<class decoder_T , class symbolTable_T >
using o2::rans::DecoderConcept< decoder_T, symbolTable_T >::symbolTable_type = symbolTable_T

Definition at line 33 of file DecoderConcept.h.

Constructor & Destructor Documentation

◆ DecoderConcept() [1/2]

template<class decoder_T , class symbolTable_T >
o2::rans::DecoderConcept< decoder_T, symbolTable_T >::DecoderConcept ( )
default

◆ DecoderConcept() [2/2]

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

Definition at line 48 of file DecoderConcept.h.

Member Function Documentation

◆ getSymbolTable()

template<class decoder_T , class symbolTable_T >
const symbolTable_type & o2::rans::DecoderConcept< decoder_T, symbolTable_T >::getSymbolTable ( ) const
inlinenoexcept

Definition at line 50 of file DecoderConcept.h.

◆ process() [1/2]

template<class decoder_T , class symbolTable_T >
template<typename literals_IT = std::nullptr_t>
void o2::rans::DecoderConcept< decoder_T, symbolTable_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 120 of file DecoderConcept.h.

◆ process() [2/2]

template<class decoder_T , class symbolTable_T >
template<typename stream_IT , typename source_IT , typename literals_IT = std::nullptr_t, std::enable_if_t< utils::isCompatibleIter_v< typename symbolTable_T::source_type, source_IT >, bool > = true>
void o2::rans::DecoderConcept< decoder_T, symbolTable_T >::process ( stream_IT  inputEnd,
source_IT  outputBegin,
size_t  messageLength,
size_t  nStreams,
literals_IT  literalsEnd = nullptr 
) const
inline

Definition at line 53 of file DecoderConcept.h.

Member Data Documentation

◆ mSymbolTable

template<class decoder_T , class symbolTable_T >
symbolTable_type o2::rans::DecoderConcept< decoder_T, symbolTable_T >::mSymbolTable {}
protected

Definition at line 126 of file DecoderConcept.h.


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