tudocomp
– The TU Dortmund Compression Framework
|
#include <util.hpp>
Public Member Functions | |
TestInput (string_ref text, bool sentinel) | |
TestInput (io::Path &&path, bool sentinel) | |
Public Member Functions inherited from tdc::io::Input | |
Input () | |
Constructs an empty input. More... | |
Input (const Input &other) | |
Constructs an input from another input, retaining its internal state ("cursor"). More... | |
Input (Input &&other) | |
Move constructor. More... | |
Input (Path &&path) | |
Constructs a file input reading from the file at the given path. More... | |
Input (const string_ref &buf) | |
Constructs an input reading from a string in memory. More... | |
Input (const std::vector< uint8_t > &buf) | |
Constructs an input reading from the specified byte buffer. More... | |
Input (std::istream &stream) | |
Constructs an input reading from a stream. More... | |
Input & | operator= (Input &&other) |
Move assignment operator. More... | |
Input & | operator= (const Input &other) |
Copy assignment operator. More... | |
InputView | as_view () const |
Provides a view on the input that allows for random access. More... | |
InputStream | as_stream () const |
Creates a stream that allows for character-wise reading of the input. More... | |
size_t | size () const |
Yields the total amount of characters in the input. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from tdc::io::Input | |
static Input | from_path (std::string path) |
Constructs a file input reading from the file at the given path. More... | |
static Input | from_memory (const std::vector< uint8_t > &buf) |
Constructs a file input reading from a byte buffer. More... | |
static Input | from_memory (const string_ref buf) |
Constructs a file input reading from a string in memory. More... | |
Definition at line 507 of file test/test/util.hpp.
|
inline |
Definition at line 509 of file test/test/util.hpp.
|
inline |
Definition at line 514 of file test/test/util.hpp.