SDSL 3.0.1
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::rank_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

 rank_support_il (const bit_vector_type *v=nullptr)
 
size_type rank (size_type i) const
 Returns the position of the i-th occurrence in the bit vector. More...
 
size_type operator() (size_type i) const
 
size_type size () const
 
void set_vector (const bit_vector_type *v=nullptr)
 
rank_support_iloperator= (const rank_support_il &rs)
 
void load (std::istream &, const bit_vector_type *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== (const rank_support_il &other) const noexcept
 
bool operator!= (const rank_support_il &other) const noexcept
 

Detailed Description

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

Definition at line 255 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::rank_support_il< t_b, t_bs >::bit_vector_type

Definition at line 261 of file bit_vector_il.hpp.

◆ size_type

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

Definition at line 260 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 262 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 266 of file bit_vector_il.hpp.

Constructor & Destructor Documentation

◆ rank_support_il()

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

Definition at line 313 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::rank_support_il< t_b, t_bs >::CEREAL_LOAD_FUNCTION_NAME ( archive_t &  )
inline

Definition at line 352 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::rank_support_il< t_b, t_bs >::CEREAL_SAVE_FUNCTION_NAME ( archive_t &  ) const
inline

Definition at line 348 of file bit_vector_il.hpp.

◆ load()

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

Definition at line 340 of file bit_vector_il.hpp.

◆ operator!=()

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

Definition at line 357 of file bit_vector_il.hpp.

◆ operator()()

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

Definition at line 328 of file bit_vector_il.hpp.

◆ operator=()

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

Definition at line 334 of file bit_vector_il.hpp.

◆ operator==()

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

Definition at line 355 of file bit_vector_il.hpp.

◆ rank()

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

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

Definition at line 322 of file bit_vector_il.hpp.

◆ serialize()

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

Definition at line 342 of file bit_vector_il.hpp.

◆ set_vector()

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

Definition at line 332 of file bit_vector_il.hpp.

◆ size()

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

Definition at line 330 of file bit_vector_il.hpp.


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