18 #ifndef itkStreamingImageIOBase_h
19 #define itkStreamingImageIOBase_h
20 #include "ITKIOImageBaseExport.h"
68 bool CanStreamWrite()
override;
73 bool CanStreamRead()
override;
85 unsigned int GetActualNumberOfSplitsForWriting(
unsigned int numberOfRequestedSplits,
92 void PrintSelf(std::ostream & os,
Indent indent)
const override;
101 virtual bool RequestedToStream()
const;
108 virtual bool ReadBufferAsBinary(std::istream & is,
void *buffer,
SizeType num);
115 virtual bool WriteBufferAsBinary(std::ostream & is,
const void *buffer,
SizeType num);
133 virtual bool StreamReadBufferAsBinary(std::istream & os,
void *buffer);
146 virtual bool StreamWriteBufferAsBinary(std::ostream & os,
const void *buffer);
149 virtual SizeType GetHeaderSize()
const = 0;
Light weight base class for most itk classes.
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.
virtual SizeType GetDataPosition() const
Returns the byte offset into the file where the data is located.
Control indentation during Print() invocation.
Base class for most ITK classes.