|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
A local file representation for writers that cannot use streams. More...
#include <mitkAbstractFileWriter.h>
Public Member Functions | |
| LocalFile (IFileWriter *writer) | |
| Construct a LocalFile for the given writer. More... | |
| ~LocalFile () | |
| Destructor. Writes temporary file contents to the output stream (if any) and removes the temporary file. More... | |
| std::string | GetFileName () |
| Get a local file name for writing. More... | |
A local file representation for writers that cannot use streams.
If a writer can only work with local files, construct an instance of this class. It provides either the original output location (if no output stream was set) or a temporary file name. On destruction, the temporary file's contents are flushed to the output stream and the temporary file is removed.
Definition at line 190 of file mitkAbstractFileWriter.h.
| mitk::AbstractFileWriter::LocalFile::LocalFile | ( | IFileWriter * | writer | ) |
Construct a LocalFile for the given writer.
| [in] | writer | The IFileWriter whose output configuration to use. |
| mitk::AbstractFileWriter::LocalFile::~LocalFile | ( | ) |
Destructor. Writes temporary file contents to the output stream (if any) and removes the temporary file.
| std::string mitk::AbstractFileWriter::LocalFile::GetFileName | ( | ) |
Get a local file name for writing.