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

#include <DictionaryStreamReader.h>

Public Types

using source_type = source_T
 
using count_type = count_t
 
using value_type = std::pair< source_type, count_type >
 
using size_type = size_t
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

template<typename buffer_IT >
 DictionaryStreamParser (buffer_IT begin, buffer_IT end, source_type max)
 
count_type getIncompressibleSymbolFrequency () const
 
bool hasNext () const
 
value_type getNext ()
 
source_type getIndex () const noexcept
 

Detailed Description

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

Definition at line 56 of file DictionaryStreamReader.h.

Member Typedef Documentation

◆ count_type

template<typename source_T >
using o2::rans::internal::DictionaryStreamParser< source_T >::count_type = count_t

Definition at line 60 of file DictionaryStreamReader.h.

◆ difference_type

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

Definition at line 63 of file DictionaryStreamReader.h.

◆ size_type

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

Definition at line 62 of file DictionaryStreamReader.h.

◆ source_type

◆ value_type

template<typename source_T >
using o2::rans::internal::DictionaryStreamParser< source_T >::value_type = std::pair<source_type, count_type>

Definition at line 61 of file DictionaryStreamReader.h.

Constructor & Destructor Documentation

◆ DictionaryStreamParser()

template<typename source_T >
template<typename buffer_IT >
o2::rans::internal::DictionaryStreamParser< source_T >::DictionaryStreamParser ( buffer_IT  begin,
buffer_IT  end,
source_type  max 
)

Definition at line 87 of file DictionaryStreamReader.h.

Member Function Documentation

◆ getIncompressibleSymbolFrequency()

template<typename source_T >
auto o2::rans::internal::DictionaryStreamParser< source_T >::getIncompressibleSymbolFrequency ( ) const
inline

Definition at line 128 of file DictionaryStreamReader.h.

◆ getIndex()

template<typename source_T >
source_type o2::rans::internal::DictionaryStreamParser< source_T >::getIndex ( ) const
inlinenoexcept

Definition at line 71 of file DictionaryStreamReader.h.

◆ getNext()

template<typename source_T >
auto o2::rans::internal::DictionaryStreamParser< source_T >::getNext ( )

Definition at line 141 of file DictionaryStreamReader.h.

◆ hasNext()

template<typename source_T >
bool o2::rans::internal::DictionaryStreamParser< source_T >::hasNext ( ) const
inline

Definition at line 134 of file DictionaryStreamReader.h.


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