tlx
BitArrayRecursive< Size, true > Class Template Reference

#include <radix_heap.hpp>

Public Member Functions

 BitArrayRecursive () noexcept
 
 BitArrayRecursive (const BitArrayRecursive &) noexcept=default
 
 BitArrayRecursive (BitArrayRecursive &&) noexcept=default
 
BitArrayRecursiveoperator= (const BitArrayRecursive &) noexcept=default
 
BitArrayRecursiveoperator= (BitArrayRecursive &&) noexcept=default
 
void set_bit (const size_t i)
 
void clear_bit (const size_t i)
 
bool is_set (const size_t i) const
 
void clear_all ()
 
bool empty () const
 
size_t find_lsb () const
 

Static Public Attributes

static constexpr size_t size
 

Private Types

using uint_type = typename std::conditional< Size<=32, uint32_t, uint64_t >::type
 

Private Attributes

uint_type flags_
 

Detailed Description

template<size_t Size>
class tlx::radix_heap_detail::BitArrayRecursive< Size, true >

Definition at line 167 of file radix_heap.hpp.

Member Typedef Documentation

using uint_type = typename std::conditional< Size <= 32, uint32_t, uint64_t>::type
private

Definition at line 171 of file radix_heap.hpp.

Constructor & Destructor Documentation

BitArrayRecursive ( )
inlineexplicitnoexcept

Definition at line 176 of file radix_heap.hpp.

BitArrayRecursive ( const BitArrayRecursive< Size, true > &  )
defaultnoexcept
BitArrayRecursive ( BitArrayRecursive< Size, true > &&  )
defaultnoexcept

Member Function Documentation

void clear_all ( )
inline

Definition at line 197 of file radix_heap.hpp.

void clear_bit ( const size_t  i)
inline

Definition at line 187 of file radix_heap.hpp.

bool empty ( ) const
inline

Definition at line 201 of file radix_heap.hpp.

size_t find_lsb ( ) const
inline

Definition at line 205 of file radix_heap.hpp.

bool is_set ( const size_t  i) const
inline

Definition at line 192 of file radix_heap.hpp.

BitArrayRecursive& operator= ( const BitArrayRecursive< Size, true > &  )
defaultnoexcept
BitArrayRecursive& operator= ( BitArrayRecursive< Size, true > &&  )
defaultnoexcept
void set_bit ( const size_t  i)
inline

Definition at line 182 of file radix_heap.hpp.

Member Data Documentation

uint_type flags_
private

Definition at line 211 of file radix_heap.hpp.

constexpr size_t size
static

Definition at line 174 of file radix_heap.hpp.


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