3#ifndef vtkFileResourceStream_h
4#define vtkFileResourceStream_h
6#include "vtkIOCoreModule.h"
11VTK_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
vtkTypeInt64 Tell() override
Override vtkResourceStream functions.
bool EndOfStream() override
Override vtkResourceStream functions.
bool Open(VTK_FILEPATH const char *path)
Open a file.
vtkFileResourceStream & operator=(const vtkFileResourceStream &)=delete
static vtkFileResourceStream * New()
vtkTypeInt64 Seek(vtkTypeInt64 pos, SeekDirection dir) override
Override vtkResourceStream functions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkFileResourceStream(const vtkFileResourceStream &)=delete
std::size_t Read(void *buffer, std::size_t bytes) override
Override vtkResourceStream functions.
~vtkFileResourceStream() override
a simple class to control print indentation
Abstract class used for custom streams.