tudocomp
– The TU Dortmund Compression Framework
|
Manages text related data structures. More...
#include <TextDS.hpp>
Public Types | |
using | dsflags_t = ds::dsflags_t |
using | value_type = uliteral_t |
using | sa_type = sa_t |
using | phi_type = phi_t |
using | plcp_type = plcp_t |
using | lcp_type = lcp_t |
using | isa_type = isa_t |
Public Member Functions | |
TextDS (Env &&env, const View &text) | |
TextDS (Env &&env, const View &text, dsflags_t flags, CompressMode cm=CompressMode::select) | |
const sa_t & | require_sa (CompressMode cm=CompressMode::select) |
const phi_t & | require_phi (CompressMode cm=CompressMode::select) |
const plcp_t & | require_plcp (CompressMode cm=CompressMode::select) |
const lcp_t & | require_lcp (CompressMode cm=CompressMode::select) |
const isa_t & | require_isa (CompressMode cm=CompressMode::select) |
sa_t::data_type | inplace_sa (CompressMode cm=CompressMode::select) |
phi_t::data_type | inplace_phi (CompressMode cm=CompressMode::select) |
plcp_t::data_type | inplace_plcp (CompressMode cm=CompressMode::select) |
lcp_t::data_type | inplace_lcp (CompressMode cm=CompressMode::select) |
isa_t::data_type | inplace_isa (CompressMode cm=CompressMode::select) |
sa_t | release_sa () |
phi_t | release_phi () |
plcp_t | release_plcp () |
lcp_t | release_lcp () |
isa_t | release_isa () |
void | require (dsflags_t flags, CompressMode cm=CompressMode::select) |
value_type | operator[] (size_t i) const |
Accesses the input text at position i. More... | |
const value_type * | text () const |
Provides direct access to the input text. More... | |
size_t | size () const |
Returns the size of the input text. More... | |
void | print (std::ostream &out, size_t base) |
Public Member Functions inherited from tdc::Algorithm | |
virtual | ~Algorithm ()=default |
Algorithm (Algorithm const &)=default | |
Algorithm (Algorithm &&)=default | |
Algorithm & | operator= (Algorithm const &)=default |
Algorithm & | operator= (Algorithm &&)=default |
Algorithm (Env &&env) | |
Instantiates an algorithm in the specified environment. More... | |
Env & | env () |
Provides access to the environment that the algorithm works in. More... | |
const Env & | env () const |
Static Public Member Functions | |
static ds::InputRestrictions | common_restrictions (dsflags_t flags) |
static Meta | meta () |
Static Public Attributes | |
static const dsflags_t | SA = ds::SA |
static const dsflags_t | ISA = ds::ISA |
static const dsflags_t | LCP = ds::LCP |
static const dsflags_t | PHI = ds::PHI |
static const dsflags_t | PLCP = ds::PLCP |
Manages text related data structures.
Definition at line 30 of file TextDS.hpp.
using tdc::TextDS< sa_t, phi_t, plcp_t, lcp_t, isa_t >::dsflags_t = ds::dsflags_t |
Definition at line 32 of file TextDS.hpp.
using tdc::TextDS< sa_t, phi_t, plcp_t, lcp_t, isa_t >::isa_type = isa_t |
Definition at line 45 of file TextDS.hpp.
using tdc::TextDS< sa_t, phi_t, plcp_t, lcp_t, isa_t >::lcp_type = lcp_t |
Definition at line 44 of file TextDS.hpp.
using tdc::TextDS< sa_t, phi_t, plcp_t, lcp_t, isa_t >::phi_type = phi_t |
Definition at line 42 of file TextDS.hpp.
using tdc::TextDS< sa_t, phi_t, plcp_t, lcp_t, isa_t >::plcp_type = plcp_t |
Definition at line 43 of file TextDS.hpp.
using tdc::TextDS< sa_t, phi_t, plcp_t, lcp_t, isa_t >::sa_type = sa_t |
Definition at line 41 of file TextDS.hpp.
using tdc::TextDS< sa_t, phi_t, plcp_t, lcp_t, isa_t >::value_type = uliteral_t |
Definition at line 39 of file TextDS.hpp.
|
inline |
Definition at line 128 of file TextDS.hpp.
|
inline |
Definition at line 150 of file TextDS.hpp.
|
inlinestatic |
Definition at line 47 of file TextDS.hpp.
|
inline |
Definition at line 196 of file TextDS.hpp.
|
inline |
Definition at line 191 of file TextDS.hpp.
|
inline |
Definition at line 181 of file TextDS.hpp.
|
inline |
Definition at line 186 of file TextDS.hpp.
|
inline |
Definition at line 176 of file TextDS.hpp.
|
inlinestatic |
Definition at line 117 of file TextDS.hpp.
|
inline |
Accesses the input text at position i.
Definition at line 295 of file TextDS.hpp.
|
inline |
Definition at line 309 of file TextDS.hpp.
|
inline |
Definition at line 216 of file TextDS.hpp.
|
inline |
Definition at line 213 of file TextDS.hpp.
|
inline |
Definition at line 207 of file TextDS.hpp.
|
inline |
Definition at line 210 of file TextDS.hpp.
|
inline |
Definition at line 204 of file TextDS.hpp.
|
inline |
Definition at line 247 of file TextDS.hpp.
|
inline |
Definition at line 170 of file TextDS.hpp.
|
inline |
Definition at line 167 of file TextDS.hpp.
|
inline |
Definition at line 161 of file TextDS.hpp.
|
inline |
Definition at line 164 of file TextDS.hpp.
|
inline |
Definition at line 158 of file TextDS.hpp.
|
inline |
Returns the size of the input text.
Definition at line 305 of file TextDS.hpp.
|
inline |
Provides direct access to the input text.
Definition at line 300 of file TextDS.hpp.
|
static |
Definition at line 34 of file TextDS.hpp.
|
static |
Definition at line 35 of file TextDS.hpp.
|
static |
Definition at line 36 of file TextDS.hpp.
|
static |
Definition at line 37 of file TextDS.hpp.
|
static |
Definition at line 33 of file TextDS.hpp.