tudocomp
– The TU Dortmund Compression Framework
tdc::SizeManager Class Reference

#include <compact_sparse_hash.hpp>

Public Member Functions

 SizeManager (size_t capacity)
 
size_t & size ()
 
size_t const & size () const
 
size_t capacity () const
 
uint8_t capacity_log2 () const
 

Detailed Description

Definition at line 61 of file compact_sparse_hash.hpp.

Constructor & Destructor Documentation

◆ SizeManager()

tdc::SizeManager::SizeManager ( size_t  capacity)
inline

Definition at line 67 of file compact_sparse_hash.hpp.

Member Function Documentation

◆ capacity()

size_t tdc::SizeManager::capacity ( ) const
inline

Definition at line 81 of file compact_sparse_hash.hpp.

◆ capacity_log2()

uint8_t tdc::SizeManager::capacity_log2 ( ) const
inline

Definition at line 85 of file compact_sparse_hash.hpp.

◆ size() [1/2]

size_t& tdc::SizeManager::size ( )
inline

Definition at line 73 of file compact_sparse_hash.hpp.

◆ size() [2/2]

size_t const& tdc::SizeManager::size ( ) const
inline

Definition at line 77 of file compact_sparse_hash.hpp.


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