SDSL 3.0.2
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::select_support_il< t_b, t_bs > Class Template Reference

#include <bit_vector_il.hpp>

Public Types

enum  { bit_pat = t_b }
 
enum  { bit_pat_len = (uint8_t)1 }
 
typedef bit_vector::size_type size_type
 
typedef bit_vector_il< t_bs > bit_vector_type
 

Public Member Functions

 select_support_il (bit_vector_type const *v=nullptr)
 
size_type select (size_type i) const
 Returns the position of the i-th occurrence in the bit vector.
 
size_type operator() (size_type i) const
 
size_type size () const
 
void set_vector (bit_vector_type const *v=nullptr)
 
select_support_iloperator= (select_support_il const &rs)
 
void load (std::istream &, bit_vector_type const *v=nullptr)
 
size_type serialize (std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
 
template<typename archive_t >
void CEREAL_SAVE_FUNCTION_NAME (archive_t &) const
 
template<typename archive_t >
void CEREAL_LOAD_FUNCTION_NAME (archive_t &)
 
bool operator== (select_support_il const &other) const noexcept
 
bool operator!= (select_support_il const &other) const noexcept
 

Detailed Description

template<uint8_t t_b, uint32_t t_bs>
class sdsl::select_support_il< t_b, t_bs >

Definition at line 409 of file bit_vector_il.hpp.

Member Typedef Documentation

◆ bit_vector_type

template<uint8_t t_b, uint32_t t_bs>
typedef bit_vector_il<t_bs> sdsl::select_support_il< t_b, t_bs >::bit_vector_type

Definition at line 415 of file bit_vector_il.hpp.

◆ size_type

template<uint8_t t_b, uint32_t t_bs>
typedef bit_vector::size_type sdsl::select_support_il< t_b, t_bs >::size_type

Definition at line 414 of file bit_vector_il.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<uint8_t t_b, uint32_t t_bs>
anonymous enum
Enumerator
bit_pat 

Definition at line 416 of file bit_vector_il.hpp.

◆ anonymous enum

template<uint8_t t_b, uint32_t t_bs>
anonymous enum
Enumerator
bit_pat_len 

Definition at line 420 of file bit_vector_il.hpp.

Constructor & Destructor Documentation

◆ select_support_il()

template<uint8_t t_b, uint32_t t_bs>
sdsl::select_support_il< t_b, t_bs >::select_support_il ( bit_vector_type const *  v = nullptr)
inline

Definition at line 557 of file bit_vector_il.hpp.

Member Function Documentation

◆ CEREAL_LOAD_FUNCTION_NAME()

template<uint8_t t_b, uint32_t t_bs>
template<typename archive_t >
void sdsl::select_support_il< t_b, t_bs >::CEREAL_LOAD_FUNCTION_NAME ( archive_t &  )
inline

Definition at line 611 of file bit_vector_il.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME()

template<uint8_t t_b, uint32_t t_bs>
template<typename archive_t >
void sdsl::select_support_il< t_b, t_bs >::CEREAL_SAVE_FUNCTION_NAME ( archive_t &  ) const
inline

Definition at line 607 of file bit_vector_il.hpp.

◆ load()

template<uint8_t t_b, uint32_t t_bs>
void sdsl::select_support_il< t_b, t_bs >::load ( std::istream &  ,
bit_vector_type const *  v = nullptr 
)
inline

Definition at line 596 of file bit_vector_il.hpp.

◆ operator!=()

template<uint8_t t_b, uint32_t t_bs>
bool sdsl::select_support_il< t_b, t_bs >::operator!= ( select_support_il< t_b, t_bs > const &  other) const
inlinenoexcept

Definition at line 619 of file bit_vector_il.hpp.

◆ operator()()

template<uint8_t t_b, uint32_t t_bs>
size_type sdsl::select_support_il< t_b, t_bs >::operator() ( size_type  i) const
inline

Definition at line 572 of file bit_vector_il.hpp.

◆ operator=()

template<uint8_t t_b, uint32_t t_bs>
select_support_il & sdsl::select_support_il< t_b, t_bs >::operator= ( select_support_il< t_b, t_bs > const &  rs)
inline

Definition at line 587 of file bit_vector_il.hpp.

◆ operator==()

template<uint8_t t_b, uint32_t t_bs>
bool sdsl::select_support_il< t_b, t_bs >::operator== ( select_support_il< t_b, t_bs > const &  other) const
inlinenoexcept

Definition at line 614 of file bit_vector_il.hpp.

◆ select()

template<uint8_t t_b, uint32_t t_bs>
size_type sdsl::select_support_il< t_b, t_bs >::select ( size_type  i) const
inline

Returns the position of the i-th occurrence in the bit vector.

Definition at line 565 of file bit_vector_il.hpp.

◆ serialize()

template<uint8_t t_b, uint32_t t_bs>
size_type sdsl::select_support_il< t_b, t_bs >::serialize ( std::ostream &  out,
structure_tree_node v = nullptr,
std::string  name = "" 
) const
inline

Definition at line 601 of file bit_vector_il.hpp.

◆ set_vector()

template<uint8_t t_b, uint32_t t_bs>
void sdsl::select_support_il< t_b, t_bs >::set_vector ( bit_vector_type const *  v = nullptr)
inline

Definition at line 582 of file bit_vector_il.hpp.

◆ size()

template<uint8_t t_b, uint32_t t_bs>
size_type sdsl::select_support_il< t_b, t_bs >::size ( ) const
inline

Definition at line 577 of file bit_vector_il.hpp.


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