3 #ifndef vtkFileResourceStream_h
4 #define vtkFileResourceStream_h
6 #include "vtkIOCoreModule.h"
11 VTK_ABI_NAMESPACE_BEGIN
43 std::size_t
Read(
void* buffer, std::size_t bytes)
override;
46 vtkTypeInt64
Tell()
override;
56 std::unique_ptr<vtkInternals> Impl;
vtkResourceStream implementation for file input
Abstract class used for custom streams.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
virtual vtkTypeInt64 Seek(vtkTypeInt64 pos, SeekDirection dir)
Move the stream cursor position.
virtual std::size_t Read(void *buffer, std::size_t bytes)=0
Read data form the stream.
virtual bool EndOfStream()=0
Check if the stream reached an end.
vtkResourceStream & operator=(const vtkResourceStream &)=delete
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual vtkTypeInt64 Tell()
Get the stream cursor position.