tudocomp
– The TU Dortmund Compression Framework
tdc::lzss::FactorBuffer Class Reference

#include <LZSSFactors.hpp>

Public Types

using const_iterator = std::vector< Factor >::const_iterator
 

Public Member Functions

 FactorBuffer ()
 
void emplace_back (len_t fpos, len_t fsrc, len_t flen)
 
const_iterator begin () const
 
const_iterator end () const
 
bool empty () const
 
size_t size () const
 
bool is_sorted () const
 
void sort ()
 
void flatten ()
 
size_t shortest_factor () const
 
size_t longest_factor () const
 

Detailed Description

Definition at line 23 of file LZSSFactors.hpp.

Member Typedef Documentation

◆ const_iterator

Definition at line 32 of file LZSSFactors.hpp.

Constructor & Destructor Documentation

◆ FactorBuffer()

tdc::lzss::FactorBuffer::FactorBuffer ( )
inline

Definition at line 34 of file LZSSFactors.hpp.

Member Function Documentation

◆ begin()

const_iterator tdc::lzss::FactorBuffer::begin ( ) const
inline

Definition at line 49 of file LZSSFactors.hpp.

◆ emplace_back()

void tdc::lzss::FactorBuffer::emplace_back ( len_t  fpos,
len_t  fsrc,
len_t  flen 
)
inline

Definition at line 41 of file LZSSFactors.hpp.

◆ empty()

bool tdc::lzss::FactorBuffer::empty ( ) const
inline

Definition at line 57 of file LZSSFactors.hpp.

◆ end()

const_iterator tdc::lzss::FactorBuffer::end ( ) const
inline

Definition at line 53 of file LZSSFactors.hpp.

◆ flatten()

void tdc::lzss::FactorBuffer::flatten ( )
inline

Definition at line 79 of file LZSSFactors.hpp.

◆ is_sorted()

bool tdc::lzss::FactorBuffer::is_sorted ( ) const
inline

Definition at line 65 of file LZSSFactors.hpp.

◆ longest_factor()

size_t tdc::lzss::FactorBuffer::longest_factor ( ) const
inline

Definition at line 138 of file LZSSFactors.hpp.

◆ shortest_factor()

size_t tdc::lzss::FactorBuffer::shortest_factor ( ) const
inline

Definition at line 134 of file LZSSFactors.hpp.

◆ size()

size_t tdc::lzss::FactorBuffer::size ( ) const
inline

Definition at line 61 of file LZSSFactors.hpp.

◆ sort()

void tdc::lzss::FactorBuffer::sort ( )
inline

Definition at line 69 of file LZSSFactors.hpp.


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