Sux
Public Member Functions | List of all members
sux::function::RiceBitVector< AT >::Builder Class Reference

#include <RiceBitVector.hpp>

Public Member Functions

 Builder ()
 
 Builder (const size_t alloc_words)
 
void appendFixed (const uint64_t v, const int log2golomb)
 
void appendUnaryAll (const std::vector< uint32_t > unary)
 
uint64_t getBits ()
 
RiceBitVector< AT > build ()
 

Constructor & Destructor Documentation

◆ Builder() [1/2]

template<util::AllocType AT = util::AllocType::MALLOC>
sux::function::RiceBitVector< AT >::Builder::Builder ( )
inline

◆ Builder() [2/2]

template<util::AllocType AT = util::AllocType::MALLOC>
sux::function::RiceBitVector< AT >::Builder::Builder ( const size_t  alloc_words)
inline

Member Function Documentation

◆ appendFixed()

template<util::AllocType AT = util::AllocType::MALLOC>
void sux::function::RiceBitVector< AT >::Builder::appendFixed ( const uint64_t  v,
const int  log2golomb 
)
inline

◆ appendUnaryAll()

template<util::AllocType AT = util::AllocType::MALLOC>
void sux::function::RiceBitVector< AT >::Builder::appendUnaryAll ( const std::vector< uint32_t >  unary)
inline

◆ build()

template<util::AllocType AT = util::AllocType::MALLOC>
RiceBitVector<AT> sux::function::RiceBitVector< AT >::Builder::build ( )
inline

◆ getBits()

template<util::AllocType AT = util::AllocType::MALLOC>
uint64_t sux::function::RiceBitVector< AT >::Builder::getBits ( )
inline

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