32#ifndef vtkDelimitedTextWriter_h
33#define vtkDelimitedTextWriter_h
35#include "vtkIOCoreModule.h"
38VTK_ABI_NAMESPACE_BEGIN
53 vtkSetStringMacro(FieldDelimiter);
54 vtkGetStringMacro(FieldDelimiter);
62 vtkSetStringMacro(StringDelimiter);
63 vtkGetStringMacro(StringDelimiter);
79 vtkSetMacro(UseStringDelimiter,
bool);
80 vtkGetMacro(UseStringDelimiter,
bool);
87 vtkSetMacro(WriteToOutputString,
bool);
88 vtkGetMacro(WriteToOutputString,
bool);
89 vtkBooleanMacro(WriteToOutputString,
bool);
109 vtkSetMacro(Precision,
int);
110 vtkGetMacro(Precision,
int);
115 STANDARD_NOTATION = 0,
134 vtkSetMacro(Notation,
int);
135 vtkGetMacro(Notation,
int);
162 int Notation = STANDARD_NOTATION;
Delimited text writer for vtkTable Writes a vtkTable as a delimited text file (such as CSV).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void WriteTable(vtkTable *table)
void WriteData() override
vtkGetFilePathMacro(FileName)
Get/Set the filename for the file.
static vtkDelimitedTextWriter * New()
virtual void SetNotationToScientific()
virtual void SetNotationToStandard()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
~vtkDelimitedTextWriter() override
vtkStdString GetString(vtkStdString string)
Internal method: Returns the "string" with the "StringDelimiter" if UseStringDelimiter is true.
virtual void SetNotationToFixed()
vtkSetFilePathMacro(FileName)
Get/Set the filename for the file.
char * RegisterAndGetOutputString()
This convenience method returns the string, sets the IVAR to nullptr, so that the user is responsible...
a simple class to control print indentation
Wrapper around std::string to keep symbols short.
A table, which contains similar-typed columns of data.
abstract class to write data to file(s)