39 #ifndef vtkArrayReader_h
40 #define vtkArrayReader_h
43 #include "vtkIOCoreModule.h"
56 vtkGetStringMacro(FileName);
57 vtkSetStringMacro(FileName);
73 vtkSetMacro(ReadFromInputString,
bool);
74 vtkGetMacro(ReadFromInputString,
bool);
75 vtkBooleanMacro(ReadFromInputString,
bool);
Superclass for algorithms that produce vtkArrayDatas as output.
Reads sparse and dense vtkArray data written by vtkArrayWriter.
virtual vtkStdString GetInputString()
static vtkArray * Read(const vtkStdString &str)
Read an arbitrary array from a string.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkArray * Read(istream &stream)
Read an arbitrary array from a stream.
static vtkArrayReader * New()
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
Abstract interface for N-dimensional arrays.
a simple class to control print indentation
Wrapper around std::string to keep symbols short.