SDSL 3.0.1
Succinct Data Structure Library
Loading...
Searching...
No Matches
sdsl::lcp_vlc< t_vlc_vec > Class Template Reference

#include <lcp_vlc.hpp>

Public Types

enum  { fast_access = 0 , text_order = 0 , sa_order = 1 }
 
typedef t_vlc_vec::value_type value_type
 
typedef random_access_const_iterator< lcp_vlcconst_iterator
 
typedef const_iterator iterator
 
typedef const value_type const_reference
 
typedef const_reference reference
 
typedef const_referencepointer
 
typedef const pointer const_pointer
 
typedef t_vlc_vec::size_type size_type
 
typedef t_vlc_vec::difference_type difference_type
 
typedef t_vlc_vec vlc_vec_type
 
typedef lcp_plain_tag lcp_category
 
typedef lcp_tag index_category
 
template<class Cst >
using type = lcp_vlc
 

Public Member Functions

 lcp_vlc ()=default
 Default Constructor. More...
 
 lcp_vlc (const lcp_vlc &)=default
 Copy / Move constructor. More...
 
 lcp_vlc (lcp_vlc &&)=default
 
lcp_vlcoperator= (const lcp_vlc &)=default
 
lcp_vlcoperator= (lcp_vlc &&)=default
 
 lcp_vlc (cache_config &config, std::string other_key="")
 Construct. More...
 
size_type size () const
 Number of elements in the instance. More...
 
bool empty () const
 Returns if the data strucutre is empty. More...
 
const_iterator begin () const
 Returns a const_iterator to the first element. More...
 
const_iterator end () const
 Returns a const_iterator to the element after the last element. More...
 
value_type operator[] (size_type i) const
 []-operator More...
 
size_type serialize (std::ostream &out, structure_tree_node *v=nullptr, std::string name="") const
 Serialize to a stream. More...
 
void load (std::istream &in)
 Load from a stream. More...
 
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)
 
bool operator== (lcp_vlc const &other) const noexcept
 Equality operator. More...
 
bool operator!= (lcp_vlc const &other) const noexcept
 Inequality operator. More...
 

Static Public Member Functions

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

Detailed Description

template<class t_vlc_vec = vlc_vector<>>
class sdsl::lcp_vlc< t_vlc_vec >

Definition at line 27 of file lcp_vlc.hpp.

Member Typedef Documentation

◆ const_iterator

template<class t_vlc_vec = vlc_vector<>>
typedef random_access_const_iterator<lcp_vlc> sdsl::lcp_vlc< t_vlc_vec >::const_iterator

Definition at line 31 of file lcp_vlc.hpp.

◆ const_pointer

template<class t_vlc_vec = vlc_vector<>>
typedef const pointer sdsl::lcp_vlc< t_vlc_vec >::const_pointer

Definition at line 36 of file lcp_vlc.hpp.

◆ const_reference

template<class t_vlc_vec = vlc_vector<>>
typedef const value_type sdsl::lcp_vlc< t_vlc_vec >::const_reference

Definition at line 33 of file lcp_vlc.hpp.

◆ difference_type

template<class t_vlc_vec = vlc_vector<>>
typedef t_vlc_vec::difference_type sdsl::lcp_vlc< t_vlc_vec >::difference_type

Definition at line 38 of file lcp_vlc.hpp.

◆ index_category

template<class t_vlc_vec = vlc_vector<>>
typedef lcp_tag sdsl::lcp_vlc< t_vlc_vec >::index_category

Definition at line 42 of file lcp_vlc.hpp.

◆ iterator

template<class t_vlc_vec = vlc_vector<>>
typedef const_iterator sdsl::lcp_vlc< t_vlc_vec >::iterator

Definition at line 32 of file lcp_vlc.hpp.

◆ lcp_category

template<class t_vlc_vec = vlc_vector<>>
typedef lcp_plain_tag sdsl::lcp_vlc< t_vlc_vec >::lcp_category

Definition at line 41 of file lcp_vlc.hpp.

◆ pointer

template<class t_vlc_vec = vlc_vector<>>
typedef const_reference* sdsl::lcp_vlc< t_vlc_vec >::pointer

Definition at line 35 of file lcp_vlc.hpp.

◆ reference

template<class t_vlc_vec = vlc_vector<>>
typedef const_reference sdsl::lcp_vlc< t_vlc_vec >::reference

Definition at line 34 of file lcp_vlc.hpp.

◆ size_type

template<class t_vlc_vec = vlc_vector<>>
typedef t_vlc_vec::size_type sdsl::lcp_vlc< t_vlc_vec >::size_type

Definition at line 37 of file lcp_vlc.hpp.

◆ type

template<class t_vlc_vec = vlc_vector<>>
template<class Cst >
using sdsl::lcp_vlc< t_vlc_vec >::type = lcp_vlc

Definition at line 52 of file lcp_vlc.hpp.

◆ value_type

template<class t_vlc_vec = vlc_vector<>>
typedef t_vlc_vec::value_type sdsl::lcp_vlc< t_vlc_vec >::value_type

Definition at line 30 of file lcp_vlc.hpp.

◆ vlc_vec_type

template<class t_vlc_vec = vlc_vector<>>
typedef t_vlc_vec sdsl::lcp_vlc< t_vlc_vec >::vlc_vec_type

Definition at line 39 of file lcp_vlc.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class t_vlc_vec = vlc_vector<>>
anonymous enum
Enumerator
fast_access 
text_order 
sa_order 

Definition at line 44 of file lcp_vlc.hpp.

Constructor & Destructor Documentation

◆ lcp_vlc() [1/4]

template<class t_vlc_vec = vlc_vector<>>
sdsl::lcp_vlc< t_vlc_vec >::lcp_vlc ( )
default

Default Constructor.

◆ lcp_vlc() [2/4]

template<class t_vlc_vec = vlc_vector<>>
sdsl::lcp_vlc< t_vlc_vec >::lcp_vlc ( const lcp_vlc< t_vlc_vec > &  )
default

Copy / Move constructor.

◆ lcp_vlc() [3/4]

template<class t_vlc_vec = vlc_vector<>>
sdsl::lcp_vlc< t_vlc_vec >::lcp_vlc ( lcp_vlc< t_vlc_vec > &&  )
default

◆ lcp_vlc() [4/4]

template<class t_vlc_vec = vlc_vector<>>
sdsl::lcp_vlc< t_vlc_vec >::lcp_vlc ( cache_config config,
std::string  other_key = "" 
)
inline

Construct.

Definition at line 68 of file lcp_vlc.hpp.

Member Function Documentation

◆ begin()

template<class t_vlc_vec = vlc_vector<>>
const_iterator sdsl::lcp_vlc< t_vlc_vec >::begin ( ) const
inline

Returns a const_iterator to the first element.

Definition at line 86 of file lcp_vlc.hpp.

◆ CEREAL_LOAD_FUNCTION_NAME()

template<class t_vlc_vec = vlc_vector<>>
template<typename archive_t >
void sdsl::lcp_vlc< t_vlc_vec >::CEREAL_LOAD_FUNCTION_NAME ( archive_t &  ar)
inline

Definition at line 114 of file lcp_vlc.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME()

template<class t_vlc_vec = vlc_vector<>>
template<typename archive_t >
void sdsl::lcp_vlc< t_vlc_vec >::CEREAL_SAVE_FUNCTION_NAME ( archive_t &  ar) const
inline

Definition at line 108 of file lcp_vlc.hpp.

◆ empty()

template<class t_vlc_vec = vlc_vector<>>
bool sdsl::lcp_vlc< t_vlc_vec >::empty ( ) const
inline

Returns if the data strucutre is empty.

Definition at line 83 of file lcp_vlc.hpp.

◆ end()

template<class t_vlc_vec = vlc_vector<>>
const_iterator sdsl::lcp_vlc< t_vlc_vec >::end ( ) const
inline

Returns a const_iterator to the element after the last element.

Definition at line 89 of file lcp_vlc.hpp.

◆ load()

template<class t_vlc_vec = vlc_vector<>>
void sdsl::lcp_vlc< t_vlc_vec >::load ( std::istream &  in)
inline

Load from a stream.

Definition at line 105 of file lcp_vlc.hpp.

◆ max_size()

template<class t_vlc_vec = vlc_vector<>>
static size_type sdsl::lcp_vlc< t_vlc_vec >::max_size ( )
inlinestatic

Returns the largest size that lcp_vlc can ever have.

Definition at line 80 of file lcp_vlc.hpp.

◆ operator!=()

template<class t_vlc_vec = vlc_vector<>>
bool sdsl::lcp_vlc< t_vlc_vec >::operator!= ( lcp_vlc< t_vlc_vec > const &  other) const
inlinenoexcept

Inequality operator.

Definition at line 123 of file lcp_vlc.hpp.

◆ operator=() [1/2]

template<class t_vlc_vec = vlc_vector<>>
lcp_vlc & sdsl::lcp_vlc< t_vlc_vec >::operator= ( const lcp_vlc< t_vlc_vec > &  )
default

◆ operator=() [2/2]

template<class t_vlc_vec = vlc_vector<>>
lcp_vlc & sdsl::lcp_vlc< t_vlc_vec >::operator= ( lcp_vlc< t_vlc_vec > &&  )
default

◆ operator==()

template<class t_vlc_vec = vlc_vector<>>
bool sdsl::lcp_vlc< t_vlc_vec >::operator== ( lcp_vlc< t_vlc_vec > const &  other) const
inlinenoexcept

Equality operator.

Definition at line 120 of file lcp_vlc.hpp.

◆ operator[]()

template<class t_vlc_vec = vlc_vector<>>
value_type sdsl::lcp_vlc< t_vlc_vec >::operator[] ( size_type  i) const
inline

[]-operator

Definition at line 92 of file lcp_vlc.hpp.

◆ serialize()

template<class t_vlc_vec = vlc_vector<>>
size_type sdsl::lcp_vlc< t_vlc_vec >::serialize ( std::ostream &  out,
structure_tree_node v = nullptr,
std::string  name = "" 
) const
inline

Serialize to a stream.

Definition at line 95 of file lcp_vlc.hpp.

◆ size()

template<class t_vlc_vec = vlc_vector<>>
size_type sdsl::lcp_vlc< t_vlc_vec >::size ( ) const
inline

Number of elements in the instance.

Definition at line 77 of file lcp_vlc.hpp.


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