51 #ifndef vtkArrayDataWriter_h
52 #define vtkArrayDataWriter_h
54 #include "vtkIOCoreModule.h"
72 vtkSetStringMacro(FileName);
81 vtkGetMacro(Binary,
int);
89 {
return this->OutputString; }
96 vtkGetMacro(WriteToOutputString,
bool);
100 int Write() VTK_OVERRIDE;
105 bool Write(const
vtkStdString& FileName,
bool WriteBinary = false);
116 bool Write(ostream& stream,
bool WriteBinary = false);
122 static
bool Write(
vtkArrayData* array, ostream& stream,
bool WriteBinary = false);
137 ~vtkArrayDataWriter() VTK_OVERRIDE;
140 void WriteData() VTK_OVERRIDE;
144 bool WriteToOutputString;
148 vtkArrayDataWriter(const vtkArrayDataWriter&) VTK_DELETE_FUNCTION;
149 void operator=(const vtkArrayDataWriter&) VTK_DELETE_FUNCTION;
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual vtkStdString GetOutputString()
The output string.
virtual int Write()
Write data to output.
static vtkAlgorithm * New()
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.