#include <itkInputStreamBase.h>
Base class of input stream for an itk::wasm::Pipeline.
This stream is read from the filesystem or memory when ITK_WASM_PARSE_ARGS is called.
Call Get() to get the std::istream & to use an input to a pipeline.
Definition at line 43 of file itkInputStreamBase.h.
Inheritance diagram for itk::wasm::InputStreamBase:
Collaboration diagram for itk::wasm::InputStreamBase:Public Member Functions | |
| std::istream & | Get () |
| std::istream * | GetPointer () |
| virtual void | SetFileName (const std::string &fileName)=0 |
| void | SetJSON (const std::string &json) |
Protected Member Functions | |
| InputStreamBase ()=default | |
| InputStreamBase (InputStreamBase &&)=default | |
| InputStreamBase & | operator= (InputStreamBase &&)=default |
| void | SetFile (const std::string &fileName, const std::ios_base::openmode openMode) |
| virtual | ~InputStreamBase () |
Private Attributes | |
| std::unique_ptr< std::istream > | m_IStream |
|
protecteddefault |
Referenced by InputStreamBase(), and operator=().
|
protecteddefault |
References InputStreamBase().
|
protectedvirtual |
|
inline |
Definition at line 47 of file itkInputStreamBase.h.
References m_IStream.
|
inline |
Definition at line 53 of file itkInputStreamBase.h.
References m_IStream.
|
protecteddefault |
References InputStreamBase().
|
protected |
Referenced by itk::wasm::InputBinaryStream::SetFileName(), and itk::wasm::InputTextStream::SetFileName().
|
pure virtual |
Implemented in itk::wasm::InputBinaryStream, and itk::wasm::InputTextStream.
| void itk::wasm::InputStreamBase::SetJSON | ( | const std::string & | json | ) |
|
private |
Definition at line 78 of file itkInputStreamBase.h.
Referenced by Get(), and GetPointer().