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);
Wrapper around std::string to keep symbols short.
Serialize vtkArrayData to a file or stream.
Pipeline data object that contains multiple vtkArray objects.
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
vtkStdString OutputString
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual vtkStdString GetOutputString()
The output string.
virtual int Write()
Write data to output.
static vtkAlgorithm * New()
virtual void WriteData()=0