25#ifndef vtkArrayReader_h
26#define vtkArrayReader_h
29#include "vtkIOCoreModule.h"
32VTK_ABI_NAMESPACE_BEGIN
63 vtkSetMacro(ReadFromInputString,
bool);
64 vtkGetMacro(ReadFromInputString,
bool);
65 vtkBooleanMacro(ReadFromInputString,
bool);
Superclass for algorithms that produce vtkArrayDatas as output.
Reads sparse and dense vtkArray data written by vtkArrayWriter.
virtual vtkStdString GetInputString()
The input string to parse.
static vtkArrayReader * New()
vtkSetFilePathMacro(FileName)
Set the filesystem location from which data will be read.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkArray * Read(istream &stream)
Read an arbitrary array from a stream.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetInputString(const vtkStdString &string)
The input string to parse.
~vtkArrayReader() override
static vtkArray * Read(const vtkStdString &str)
Read an arbitrary array from a string.
vtkGetFilePathMacro(FileName)
Set the filesystem location from which data will be read.
Abstract interface for N-dimensional arrays.
a simple class to control print indentation
Wrapper around std::string to keep symbols short.