18 #ifndef __itkStreamingImageIOBase_h
19 #define __itkStreamingImageIOBase_h
20 #include "ITKIOImageBaseExport.h"
66 virtual bool CanStreamWrite(
void) ITK_OVERRIDE;
71 virtual
bool CanStreamRead(
void) ITK_OVERRIDE;
83 virtual
unsigned int GetActualNumberOfSplitsForWriting(
unsigned int numberOfRequestedSplits,
90 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
99 virtual
bool RequestedToStream(
void) const;
106 virtual
bool ReadBufferAsBinary(std::istream & is,
void *buffer,
SizeType num);
113 virtual
bool WriteBufferAsBinary(std::ostream & is, const
void *buffer,
SizeType num);
131 virtual
bool StreamReadBufferAsBinary(std::istream & os,
void *buffer);
144 virtual
bool StreamWriteBufferAsBinary(std::ostream & os, const
void *buffer);
147 virtual
SizeType GetHeaderSize(
void) const = 0;
153 virtual
SizeType GetDataPosition(
void)
const {
return this->GetHeaderSize(); }
157 void operator=(
const Self &);
An ImageIORegion represents a structured region of data.
Abstract superclass defines image IO interface.
A base class for specific ImageIO file formats which support streaming.
StreamingImageIOBase Self
SmartPointer< Self > Pointer
Control indentation during Print() invocation.