38 #ifndef vtkArrayWriter_h
39 #define vtkArrayWriter_h
41 #include "vtkIOCoreModule.h"
45 VTK_ABI_NAMESPACE_BEGIN
59 vtkSetFilePathMacro(FileName);
60 vtkGetFilePathMacro(FileName);
81 vtkSetMacro(WriteToOutputString,
bool);
82 vtkGetMacro(WriteToOutputString,
bool);
83 vtkBooleanMacro(WriteToOutputString,
bool);
102 bool Write(ostream& stream,
bool WriteBinary =
false);
108 static bool Write(
vtkArray* array, ostream& stream,
bool WriteBinary =
false);
138 VTK_ABI_NAMESPACE_END
Wrapper around std::string to keep symbols short.
Serialize sparse and dense arrays to a file or stream.
Abstract interface for N-dimensional arrays.
abstract class to write data to file(s)
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 int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual int Write()
Write data to output.
vtkStdString OutputString
static vtkAlgorithm * New()
virtual void WriteData()=0
virtual vtkStdString GetOutputString()
The output string.