Public Member Functions | List of all members
FileTestWriter Class Reference

A test writer that writes to the specified file. More...

#include <StdWriters.hpp>

Inheritance diagram for FileTestWriter:
[legend]
Collaboration diagram for FileTestWriter:
[legend]

Public Member Functions

std::unique_ptr< TestWriterclone () const override
 Clone the writer instance. More...
 
void writeString (const std::string &str) override
 Write the supplied UTF-8 string to the writer's output stream(s). More...
 
- Public Member Functions inherited from TestWriter
virtual ~TestWriter ()=default
 Destroy a test writer instance. More...
 
template<typename T >
void write (T value)
 Convert the supplied value to a UTF-8 string and write the string to the writer's output stream(s). More...
 

Detailed Description

A test writer that writes to the specified file.

Member Function Documentation

◆ clone()

std::unique_ptr<TestWriter> clone ( ) const
inlineoverridevirtual

Clone the writer instance.

Returns
a clone of the writer

Implements TestWriter.

◆ writeString()

void writeString ( const std::string &  value)
inlineoverridevirtual

Write the supplied UTF-8 string to the writer's output stream(s).

Parameters
valuethe string to write

Implements TestWriter.


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