SDSL 3.0.3
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::lcp_bitcompressed< t_width > Class Template Reference

#include <lcp_bitcompressed.hpp>

Public Types

enum  { fast_access = 1 , text_order = 0 , sa_order = 1 }
 
typedef int_vector< t_width >::value_type value_type
 
typedef int_vector< t_width >::size_type size_type
 
typedef random_access_const_iterator< lcp_bitcompressedconst_iterator
 
typedef const_iterator iterator
 
typedef const value_type const_reference
 
typedef const_reference reference
 
typedef const_referencepointer
 
typedef const pointer const_pointer
 
typedef ptrdiff_t difference_type
 
typedef lcp_plain_tag lcp_category
 
typedef lcp_tag index_category
 
template<class Cst >
using type = lcp_bitcompressed
 

Public Member Functions

 lcp_bitcompressed ()
 Default Constructor.
 
 lcp_bitcompressed (lcp_bitcompressed const &)=default
 
 lcp_bitcompressed (lcp_bitcompressed &&)=default
 
lcp_bitcompressedoperator= (lcp_bitcompressed const &)=default
 
lcp_bitcompressedoperator= (lcp_bitcompressed &&)=default
 
 lcp_bitcompressed (cache_config &config)
 Constructor taking a cache_config.
 
size_type size () const
 Number of elements in the instance.
 
bool empty () const
 Returns if the data structure is empty.
 
const_iterator begin () const
 Returns a const_iterator to the first element.
 
const_iterator end () const
 Returns a const_iterator to the element after the last element.
 
value_type operator[] (size_type i) const
 Access operator.
 
template<typename archive_t >
void CEREAL_SAVE_FUNCTION_NAME (archive_t &ar) const
 
template<typename archive_t >
void CEREAL_LOAD_FUNCTION_NAME (archive_t &ar)
 
size_type serialize (std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
 Serialize to a stream.
 
bool operator== (lcp_bitcompressed const &other) const noexcept
 Equality operator.
 
bool operator!= (lcp_bitcompressed const &other) const noexcept
 Inequality operator.
 
void load (std::istream &in)
 Load from a stream.
 

Static Public Member Functions

static size_type max_size ()
 Returns the largest size that lcp_bitcompressed can ever have.
 

Detailed Description

template<uint8_t t_width = 0>
class sdsl::lcp_bitcompressed< t_width >

Definition at line 30 of file lcp_bitcompressed.hpp.

Member Typedef Documentation

◆ const_iterator

template<uint8_t t_width = 0>
typedef random_access_const_iterator<lcp_bitcompressed> sdsl::lcp_bitcompressed< t_width >::const_iterator

Definition at line 35 of file lcp_bitcompressed.hpp.

◆ const_pointer

template<uint8_t t_width = 0>
typedef const pointer sdsl::lcp_bitcompressed< t_width >::const_pointer

Definition at line 40 of file lcp_bitcompressed.hpp.

◆ const_reference

template<uint8_t t_width = 0>
typedef const value_type sdsl::lcp_bitcompressed< t_width >::const_reference

Definition at line 37 of file lcp_bitcompressed.hpp.

◆ difference_type

template<uint8_t t_width = 0>
typedef ptrdiff_t sdsl::lcp_bitcompressed< t_width >::difference_type

Definition at line 41 of file lcp_bitcompressed.hpp.

◆ index_category

template<uint8_t t_width = 0>
typedef lcp_tag sdsl::lcp_bitcompressed< t_width >::index_category

Definition at line 44 of file lcp_bitcompressed.hpp.

◆ iterator

template<uint8_t t_width = 0>
typedef const_iterator sdsl::lcp_bitcompressed< t_width >::iterator

Definition at line 36 of file lcp_bitcompressed.hpp.

◆ lcp_category

template<uint8_t t_width = 0>
typedef lcp_plain_tag sdsl::lcp_bitcompressed< t_width >::lcp_category

Definition at line 43 of file lcp_bitcompressed.hpp.

◆ pointer

template<uint8_t t_width = 0>
typedef const_reference* sdsl::lcp_bitcompressed< t_width >::pointer

Definition at line 39 of file lcp_bitcompressed.hpp.

◆ reference

template<uint8_t t_width = 0>
typedef const_reference sdsl::lcp_bitcompressed< t_width >::reference

Definition at line 38 of file lcp_bitcompressed.hpp.

◆ size_type

template<uint8_t t_width = 0>
typedef int_vector<t_width>::size_type sdsl::lcp_bitcompressed< t_width >::size_type

Definition at line 34 of file lcp_bitcompressed.hpp.

◆ type

template<uint8_t t_width = 0>
template<class Cst >
using sdsl::lcp_bitcompressed< t_width >::type = lcp_bitcompressed

Definition at line 54 of file lcp_bitcompressed.hpp.

◆ value_type

template<uint8_t t_width = 0>
typedef int_vector<t_width>::value_type sdsl::lcp_bitcompressed< t_width >::value_type

Definition at line 33 of file lcp_bitcompressed.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<uint8_t t_width = 0>
anonymous enum
Enumerator
fast_access 
text_order 
sa_order 

Definition at line 46 of file lcp_bitcompressed.hpp.

Constructor & Destructor Documentation

◆ lcp_bitcompressed() [1/4]

template<uint8_t t_width = 0>
sdsl::lcp_bitcompressed< t_width >::lcp_bitcompressed ( )
inline

Default Constructor.

Definition at line 61 of file lcp_bitcompressed.hpp.

◆ lcp_bitcompressed() [2/4]

template<uint8_t t_width = 0>
sdsl::lcp_bitcompressed< t_width >::lcp_bitcompressed ( lcp_bitcompressed< t_width > const & )
default

◆ lcp_bitcompressed() [3/4]

template<uint8_t t_width = 0>
sdsl::lcp_bitcompressed< t_width >::lcp_bitcompressed ( lcp_bitcompressed< t_width > && )
default

◆ lcp_bitcompressed() [4/4]

template<uint8_t t_width = 0>
sdsl::lcp_bitcompressed< t_width >::lcp_bitcompressed ( cache_config & config)
inline

Constructor taking a cache_config.

Definition at line 69 of file lcp_bitcompressed.hpp.

Member Function Documentation

◆ begin()

template<uint8_t t_width = 0>
const_iterator sdsl::lcp_bitcompressed< t_width >::begin ( ) const
inline

Returns a const_iterator to the first element.

Definition at line 99 of file lcp_bitcompressed.hpp.

◆ CEREAL_LOAD_FUNCTION_NAME()

template<uint8_t t_width = 0>
template<typename archive_t >
void sdsl::lcp_bitcompressed< t_width >::CEREAL_LOAD_FUNCTION_NAME ( archive_t & ar)
inline

Definition at line 125 of file lcp_bitcompressed.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME()

template<uint8_t t_width = 0>
template<typename archive_t >
void sdsl::lcp_bitcompressed< t_width >::CEREAL_SAVE_FUNCTION_NAME ( archive_t & ar) const
inline

Definition at line 119 of file lcp_bitcompressed.hpp.

◆ empty()

template<uint8_t t_width = 0>
bool sdsl::lcp_bitcompressed< t_width >::empty ( ) const
inline

Returns if the data structure is empty.

Definition at line 93 of file lcp_bitcompressed.hpp.

◆ end()

template<uint8_t t_width = 0>
const_iterator sdsl::lcp_bitcompressed< t_width >::end ( ) const
inline

Returns a const_iterator to the element after the last element.

Definition at line 105 of file lcp_bitcompressed.hpp.

◆ load()

template<uint8_t t_width = 0>
void sdsl::lcp_bitcompressed< t_width >::load ( std::istream & in)
inline

Load from a stream.

Definition at line 153 of file lcp_bitcompressed.hpp.

◆ max_size()

template<uint8_t t_width = 0>
static size_type sdsl::lcp_bitcompressed< t_width >::max_size ( )
inlinestatic

Returns the largest size that lcp_bitcompressed can ever have.

Definition at line 87 of file lcp_bitcompressed.hpp.

◆ operator!=()

template<uint8_t t_width = 0>
bool sdsl::lcp_bitcompressed< t_width >::operator!= ( lcp_bitcompressed< t_width > const & other) const
inlinenoexcept

Inequality operator.

Definition at line 147 of file lcp_bitcompressed.hpp.

◆ operator=() [1/2]

template<uint8_t t_width = 0>
lcp_bitcompressed & sdsl::lcp_bitcompressed< t_width >::operator= ( lcp_bitcompressed< t_width > && )
default

◆ operator=() [2/2]

template<uint8_t t_width = 0>
lcp_bitcompressed & sdsl::lcp_bitcompressed< t_width >::operator= ( lcp_bitcompressed< t_width > const & )
default

◆ operator==()

template<uint8_t t_width = 0>
bool sdsl::lcp_bitcompressed< t_width >::operator== ( lcp_bitcompressed< t_width > const & other) const
inlinenoexcept

Equality operator.

Definition at line 141 of file lcp_bitcompressed.hpp.

◆ operator[]()

template<uint8_t t_width = 0>
value_type sdsl::lcp_bitcompressed< t_width >::operator[] ( size_type i) const
inline

Access operator.

Parameters
iIndex of the value. $ i \in [0..size()-1]$.

Definition at line 113 of file lcp_bitcompressed.hpp.

◆ serialize()

template<uint8_t t_width = 0>
size_type sdsl::lcp_bitcompressed< t_width >::serialize ( std::ostream & out,
structure_tree_node * v = nullptr,
std::string name = "" ) const
inline

Serialize to a stream.

Definition at line 131 of file lcp_bitcompressed.hpp.

◆ size()

template<uint8_t t_width = 0>
size_type sdsl::lcp_bitcompressed< t_width >::size ( ) const
inline

Number of elements in the instance.

Definition at line 81 of file lcp_bitcompressed.hpp.


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