Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::AbstractFileReader::InputStream Class Reference

An input stream wrapper for reader implementations. More...

#include <mitkAbstractFileReader.h>

Inheritance diagram for mitk::AbstractFileReader::InputStream:
Collaboration diagram for mitk::AbstractFileReader::InputStream:

Public Member Functions

 InputStream (IFileReader *writer, std::ios_base::openmode mode=std::ios_base::in)
 Construct an InputStream from a reader's configured input. More...
 
 ~InputStream () override
 

Detailed Description

An input stream wrapper for reader implementations.

If a reader can only work with input streams, use an instance of this class. It will either wrap the input stream already set on the reader, or open a new file stream based on the reader's input location.

See also
GetInputStream()
GetInputLocation()

Definition at line 196 of file mitkAbstractFileReader.h.

Constructor & Destructor Documentation

◆ InputStream()

mitk::AbstractFileReader::InputStream::InputStream ( IFileReader *  writer,
std::ios_base::openmode  mode = std::ios_base::in 
)

Construct an InputStream from a reader's configured input.

Parameters
[in]writerThe IFileReader whose input to wrap (despite the parameter name, this is the reader instance).
[in]modeThe open mode for the underlying file stream, if applicable.

◆ ~InputStream()

mitk::AbstractFileReader::InputStream::~InputStream ( )
override

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