54 #ifndef vtkArrayDataWriter_h
55 #define vtkArrayDataWriter_h
57 #include "vtkIOCoreModule.h"
75 vtkSetStringMacro(FileName);
84 vtkGetMacro(Binary,
int);
92 {
return this->OutputString; }
99 vtkGetMacro(WriteToOutputString,
bool);
119 bool Write(ostream& stream,
bool WriteBinary =
false);
Serialize vtkArrayData to a file or stream.
static bool Write(vtkArrayData *array, ostream &stream, bool WriteBinary=false)
Write arbitrary data to a stream without using the pipeline.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkStdString OutputString
static vtkArrayDataWriter * New()
virtual int Write()
Write data to output.
virtual vtkStdString GetOutputString()
The output string.
bool Write(const vtkStdString &FileName, bool WriteBinary=false)
Writes input port 0 data to a file, using an arbitrary filename and binary flag.
static vtkStdString Write(vtkArrayData *array, bool WriteBinary=false)
Write arbitrary data to a string without using the pipeline.
static bool Write(vtkArrayData *array, const vtkStdString &file_name, bool WriteBinary=false)
Write an arbitrary array to a file, without using the pipeline.
vtkStdString Write(bool WriteBinary)
Write input port 0 data to a string.
bool Write(ostream &stream, bool WriteBinary=false)
Write input port 0 data to an arbitrary stream.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
Pipeline data object that contains multiple vtkArray objects.
a simple class to control print indentation
Wrapper around std::string to keep symbols short.
abstract class to write data to file(s)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.