tudocomp
– The TU Dortmund Compression Framework
tdc::test::TestOutput Class Reference

#include <util.hpp>

Inheritance diagram for tdc::test::TestOutput:
tdc::io::Output

Public Member Functions

 TestOutput (bool sentinel)
 
string_ref result ()
 
- Public Member Functions inherited from tdc::io::Output
 Output ()
 Constructs an output to stdout. More...
 
 Output (Output &&other)
 Move constructor. More...
 
 Output (const Path &path, bool overwrite=false)
 Constructs an output that appends to the file at the given path. More...
 
 Output (std::vector< uint8_t > &buf)
 Constructs an output that appends to the byte vector. More...
 
 Output (std::ostream &stream)
 Constructs an output that appends to the output stream. More...
 
Outputoperator= (Output &&other)
 Move assignment operator. More...
 
OutputStream as_stream () const
 Creates a stream that allows for character-wise output. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from tdc::io::Output
static Output from_path (const Path &path, bool overwrite=false)
 Constructs a file output writing to the file at the given path. More...
 
static Output from_memory (std::vector< uint8_t > &buf)
 Constructs an output to a byte buffer. More...
 
static Output from_stream (std::ostream &stream)
 Constructs an output to a stream. More...
 

Detailed Description

Definition at line 521 of file test/test/util.hpp.

Constructor & Destructor Documentation

◆ TestOutput()

tdc::test::TestOutput::TestOutput ( bool  sentinel)
inline

Definition at line 523 of file test/test/util.hpp.

Member Function Documentation

◆ result()

string_ref tdc::test::TestOutput::result ( )
inline

Definition at line 531 of file test/test/util.hpp.


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