Go to the documentation of this file.
55 #ifndef vtkArrayWriter_h
56 #define vtkArrayWriter_h
58 #include "vtkIOCoreModule.h"
76 vtkSetStringMacro(FileName);
85 vtkGetMacro(Binary,
int);
93 {
return this->OutputString; }
100 vtkGetMacro(WriteToOutputString,
bool);
120 bool Write(ostream& stream,
bool WriteBinary =
false);
126 static bool Write(
vtkArray* array, ostream& stream,
bool WriteBinary =
false);
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
virtual void WriteData()=0
Serialize sparse and dense arrays to a file or stream.
a simple class to control print indentation
abstract class to write data to file(s)
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Abstract interface for N-dimensional arrays.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
static vtkAlgorithm * New()
Wrapper around std::string to keep symbols short.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual vtkStdString GetOutputString()
The output string.