YASK
Yet Another Stencil Kit: a software framework for creating HPC stencil code. Copyright 2014-2023 Intel Corporation.
|
Factory to create output objects. More...
#include <yask_common_api.hpp>
Public Member Functions | |
virtual yask_file_output_ptr | new_file_output (const std::string &file_name) const |
Create a file output object. | |
virtual yask_string_output_ptr | new_string_output () const |
Create a string output object. | |
virtual yask_stdout_output_ptr | new_stdout_output () const |
Create a stdout output object. | |
virtual yask_null_output_ptr | new_null_output () const |
Create a null output object. | |
Factory to create output objects.
|
virtual |
Create a file output object.
This object is used to write output to a file.
[in] | file_name | Name of file to open. Any existing file will be truncated. |
|
virtual |
Create a string output object.
This object is used to write output to a string.
|
virtual |
Create a stdout output object.
This object is used to write output to the standard output stream.
|
virtual |
Create a null output object.
This object is used to discard output.