Go to the documentation of this file.
54 #ifndef vtkArrayDataWriter_h
55 #define vtkArrayDataWriter_h
57 #include "vtkIOCoreModule.h"
75 vtkSetStringMacro(FileName);
76 vtkGetStringMacro(FileName);
92 {
return this->OutputString; }
98 vtkSetMacro(WriteToOutputString,
bool);
99 vtkGetMacro(WriteToOutputString,
bool);
100 vtkBooleanMacro(WriteToOutputString,
bool);
103 int Write()
override;
119 bool Write(ostream& stream,
bool WriteBinary =
false);
125 static bool Write(
vtkArrayData* array, ostream& stream,
bool WriteBinary =
false);
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int Write()
Write data to output.
Pipeline data object that contains multiple vtkArray objects.
vtkStdString OutputString
Serialize vtkArrayData to a file or stream.
virtual void WriteData()=0
a simple class to control print indentation
virtual vtkStdString GetOutputString()
The output string.
abstract class to write data to file(s)
static vtkAlgorithm * New()
Wrapper around std::string to keep symbols short.