Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::anonymous_namespace{fileredirector.cpp}::DefaultOutputRedirector Class Reference
+ Inheritance diagram for gmx::anonymous_namespace{fileredirector.cpp}::DefaultOutputRedirector:
+ Collaboration diagram for gmx::anonymous_namespace{fileredirector.cpp}::DefaultOutputRedirector:

Description

Implements the redirector returned by defaultFileOutputRedirector().

Does not redirect anything, but instead opens the files exactly as requested.

Public Member Functions

TextOutputStreamstandardOutput () override
 Returns a stream to use for stdout output.
 
TextOutputStreamPointer openTextOutputFile (const char *filename) override
 Returns a stream to use for output to a file at a given path. More...
 
- Public Member Functions inherited from gmx::IFileOutputRedirector
TextOutputStreamPointer openTextOutputFile (const std::string &filename)
 Convenience method to open a stream using an std::string path.
 

Member Function Documentation

TextOutputStreamPointer gmx::anonymous_namespace{fileredirector.cpp}::DefaultOutputRedirector::openTextOutputFile ( const char *  filename)
inlineoverridevirtual

Returns a stream to use for output to a file at a given path.

Parameters
[in]filenameRequested file name.

Implements gmx::IFileOutputRedirector.


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