18 #ifndef __itkStreamingImageIOBase_h
19 #define __itkStreamingImageIOBase_h
65 virtual bool CanStreamWrite(
void);
70 virtual bool CanStreamRead(
void);
82 virtual unsigned int GetActualNumberOfSplitsForWriting(
unsigned int numberOfRequestedSplits,
89 virtual void PrintSelf(std::ostream & os,
Indent indent)
const;
98 virtual bool RequestedToStream(
void)
const;
105 virtual bool ReadBufferAsBinary(std::istream & is,
void *buffer,
SizeType num);
112 virtual bool WriteBufferAsBinary(std::ostream & is,
const void *buffer,
SizeType num);
130 virtual bool StreamReadBufferAsBinary(std::istream & os,
void *buffer);
143 virtual bool StreamWriteBufferAsBinary(std::ostream & os,
const void *buffer);
146 virtual SizeType GetHeaderSize(
void)
const = 0;
159 virtual void OpenFileForReading(std::ifstream & os,
const char *filename);
170 virtual void OpenFileForWriting(std::ofstream & os,
const char *filename,
bool truncate);
174 void operator=(
const Self &);