Project
Loading...
Searching...
No Matches
o2::rans::internal::DecoderSymbol< source_T > Class Template Reference

#include <Symbol.h>

Public Types

using source_type = source_T
 
using value_type = Symbol
 
using size_type = size_t
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

constexpr DecoderSymbol () noexcept
 
constexpr DecoderSymbol (source_type sourceSymbol, Symbol decoderSymbol)
 
constexpr DecoderSymbol (source_type symbol, typename value_type::value_type frequency, typename value_type::value_type cumulative)
 
constexpr source_type getSourceSymbol () const noexcept
 
constexpr const value_typegetDecoderSymbol () const noexcept
 
constexpr const value_typegetDecoderSymbolPtr () const noexcept
 
bool operator== (const DecoderSymbol &other) const
 
bool operator!= (const DecoderSymbol &other) const
 

Protected Attributes

source_type mSourceSymbol {}
 
Symbol mDecoderSymbol {}
 

Friends

std::ostream & operator<< (std::ostream &os, const DecoderSymbol &symbol)
 

Detailed Description

template<typename source_T>
class o2::rans::internal::DecoderSymbol< source_T >

Definition at line 60 of file Symbol.h.

Member Typedef Documentation

◆ difference_type

template<typename source_T >
using o2::rans::internal::DecoderSymbol< source_T >::difference_type = std::ptrdiff_t

Definition at line 66 of file Symbol.h.

◆ size_type

template<typename source_T >
using o2::rans::internal::DecoderSymbol< source_T >::size_type = size_t

Definition at line 65 of file Symbol.h.

◆ source_type

Definition at line 63 of file Symbol.h.

◆ value_type

template<typename source_T >
using o2::rans::internal::DecoderSymbol< source_T >::value_type = Symbol

Definition at line 64 of file Symbol.h.

Constructor & Destructor Documentation

◆ DecoderSymbol() [1/3]

template<typename source_T >
constexpr o2::rans::internal::DecoderSymbol< source_T >::DecoderSymbol ( )
inlineconstexprnoexcept

Definition at line 69 of file Symbol.h.

◆ DecoderSymbol() [2/3]

template<typename source_T >
constexpr o2::rans::internal::DecoderSymbol< source_T >::DecoderSymbol ( source_type  sourceSymbol,
Symbol  decoderSymbol 
)
inlineconstexpr

Definition at line 70 of file Symbol.h.

◆ DecoderSymbol() [3/3]

template<typename source_T >
constexpr o2::rans::internal::DecoderSymbol< source_T >::DecoderSymbol ( source_type  symbol,
typename value_type::value_type  frequency,
typename value_type::value_type  cumulative 
)
inlineconstexpr

Definition at line 71 of file Symbol.h.

Member Function Documentation

◆ getDecoderSymbol()

template<typename source_T >
constexpr const value_type & o2::rans::internal::DecoderSymbol< source_T >::getDecoderSymbol ( ) const
inlineconstexprnoexcept

Definition at line 74 of file Symbol.h.

◆ getDecoderSymbolPtr()

template<typename source_T >
constexpr const value_type * o2::rans::internal::DecoderSymbol< source_T >::getDecoderSymbolPtr ( ) const
inlineconstexprnoexcept

Definition at line 75 of file Symbol.h.

◆ getSourceSymbol()

template<typename source_T >
constexpr source_type o2::rans::internal::DecoderSymbol< source_T >::getSourceSymbol ( ) const
inlineconstexprnoexcept

Definition at line 73 of file Symbol.h.

◆ operator!=()

template<typename source_T >
bool o2::rans::internal::DecoderSymbol< source_T >::operator!= ( const DecoderSymbol< source_T > &  other) const
inline

Definition at line 78 of file Symbol.h.

◆ operator==()

template<typename source_T >
bool o2::rans::internal::DecoderSymbol< source_T >::operator== ( const DecoderSymbol< source_T > &  other) const
inline

Definition at line 77 of file Symbol.h.

Friends And Related Symbol Documentation

◆ operator<<

template<typename source_T >
std::ostream & operator<< ( std::ostream &  os,
const DecoderSymbol< source_T > &  symbol 
)
friend

Definition at line 80 of file Symbol.h.

Member Data Documentation

◆ mDecoderSymbol

template<typename source_T >
Symbol o2::rans::internal::DecoderSymbol< source_T >::mDecoderSymbol {}
protected

Definition at line 91 of file Symbol.h.

◆ mSourceSymbol

template<typename source_T >
source_type o2::rans::internal::DecoderSymbol< source_T >::mSourceSymbol {}
protected

Definition at line 90 of file Symbol.h.


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