18#ifndef itkOutputStreamBase_h
19#define itkOutputStreamBase_h
25#ifndef ITK_WASM_NO_MEMORY_IO
28#ifndef ITK_WASM_NO_FILESYSTEM_IO
32#include "WebAssemblyInterfaceExport.h"
86 SetFile(
const std::string & fileName,
const std::ios_base::openmode openMode)
92 m_OStream =
new std::ofstream(fileName, openMode);
106WebAssemblyInterface_EXPORT
bool
SmartPointer< Self > Pointer
Base class of output stream for an itk::wasm::Pipeline.
void SetIdentifier(const std::string &identifier)
WasmStringStream::Pointer m_WasmStringStream
virtual void SetFileName(const std::string &fileName)=0
OutputStreamBase()=default
void SetFile(const std::string &fileName, const std::ios_base::openmode openMode)
const std::string & GetIdentifier() const
virtual ~OutputStreamBase()
bool lexical_cast(const std::string &input, InputImage< TImage > &inputImage)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....