tudocomp
– The TU Dortmund Compression Framework
|
Describes a set of restrictions placed on input data. More...
#include <InputRestrictions.hpp>
Public Member Functions | |
InputRestrictions (const std::vector< uint8_t > &escape_bytes={}, bool null_terminate=false) | |
const std::vector< uint8_t > & | escape_bytes () const |
bool | null_terminate () const |
bool | has_no_escape_restrictions () const |
bool | has_no_restrictions () const |
bool | has_escape_restrictions () const |
bool | has_restrictions () const |
Friends | |
InputRestrictions | operator| (const InputRestrictions &a, const InputRestrictions &b) |
Merges two InpuTrestrictions to a combined set of restrictions. More... | |
Describes a set of restrictions placed on input data.
Restrictions include illigal bytes in the input (called escape bytes here), and wether the input needs to be null terminated.
Definition at line 10 of file InputRestrictions.hpp.
|
inline |
Definition at line 23 of file InputRestrictions.hpp.
|
inline |
Definition at line 30 of file InputRestrictions.hpp.
|
inline |
Definition at line 46 of file InputRestrictions.hpp.
|
inline |
Definition at line 38 of file InputRestrictions.hpp.
|
inline |
Definition at line 42 of file InputRestrictions.hpp.
|
inline |
Definition at line 50 of file InputRestrictions.hpp.
|
inline |
Definition at line 34 of file InputRestrictions.hpp.
|
friend |
Merges two InpuTrestrictions to a combined set of restrictions.
Definition at line 64 of file InputRestrictions.hpp.