63#ifndef vtkDelimitedTextReader_h
64#define vtkDelimitedTextReader_h
66#include "vtkIOInfovisModule.h"
94 vtkGetStringMacro(InputString);
96 vtkGetMacro(InputStringLength,
int);
99 this->SetInputString(input.c_str(),
static_cast<int>(input.length()));
125 vtkGetStringMacro(UnicodeCharacterSet);
126 vtkSetStringMacro(UnicodeCharacterSet);
151 vtkSetStringMacro(FieldDelimiterCharacters);
152 vtkGetStringMacro(FieldDelimiterCharacters);
155 void SetUTF8FieldDelimiters(const
char* delimiters);
156 const
char* GetUTF8FieldDelimiters();
172 vtkGetMacro(StringDelimiter,
char);
173 vtkSetMacro(StringDelimiter,
char);
176 void SetUTF8StringDelimiters(const
char* delimiters);
177 const
char* GetUTF8StringDelimiters();
187 vtkSetMacro(UseStringDelimiter,
bool);
188 vtkGetMacro(UseStringDelimiter,
bool);
189 vtkBooleanMacro(UseStringDelimiter,
bool);
197 vtkGetMacro(HaveHeaders,
bool);
198 vtkSetMacro(HaveHeaders,
bool);
207 vtkSetMacro(MergeConsecutiveDelimiters,
bool);
208 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
209 vtkBooleanMacro(MergeConsecutiveDelimiters,
bool);
227 vtkSetMacro(DetectNumericColumns,
bool);
228 vtkGetMacro(DetectNumericColumns,
bool);
229 vtkBooleanMacro(DetectNumericColumns,
bool);
238 vtkSetMacro(ForceDouble,
bool);
239 vtkGetMacro(ForceDouble,
bool);
240 vtkBooleanMacro(ForceDouble,
bool);
259 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
260 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
261 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
269 vtkSetMacro(DefaultIntegerValue,
int);
270 vtkGetMacro(DefaultIntegerValue,
int);
278 vtkSetMacro(DefaultDoubleValue,
double);
279 vtkGetMacro(DefaultDoubleValue,
double);
287 vtkSetStringMacro(PedigreeIdArrayName);
288 vtkGetStringMacro(PedigreeIdArrayName);
296 vtkSetMacro(GeneratePedigreeIds,
bool);
297 vtkGetMacro(GeneratePedigreeIds,
bool);
298 vtkBooleanMacro(GeneratePedigreeIds,
bool);
305 vtkSetMacro(OutputPedigreeIds,
bool);
306 vtkGetMacro(OutputPedigreeIds,
bool);
307 vtkBooleanMacro(OutputPedigreeIds,
bool);
316 vtkSetMacro(AddTabFieldDelimiter,
bool);
317 vtkGetMacro(AddTabFieldDelimiter,
bool);
318 vtkBooleanMacro(AddTabFieldDelimiter,
bool);
334 vtkSetMacro(ReplacementCharacter, vtkTypeUInt32);
335 vtkGetMacro(ReplacementCharacter, vtkTypeUInt32);
350 int InputStringLength;
351 char* UnicodeCharacterSet;
358 bool DetectNumericColumns;
360 bool TrimWhitespacePriorToNumericConversion;
361 int DefaultIntegerValue;
362 double DefaultDoubleValue;
363 char* FieldDelimiterCharacters;
364 char StringDelimiter;
365 bool UseStringDelimiter;
367 bool UnicodeOutputArrays;
368 bool MergeConsecutiveDelimiters;
369 char* PedigreeIdArrayName;
370 bool GeneratePedigreeIds;
371 bool OutputPedigreeIds;
372 bool AddTabFieldDelimiter;
374 vtkTypeUInt32 ReplacementCharacter;
reads in delimited ascii or unicode text files and outputs a vtkTable data structure.
void SetInputString(const char *in, int len)
Specify the InputString for use when reading from a character array.
void SetUTF8RecordDelimiters(const char *delimiters)
Specify the character(s) that will be used to separate records.
void SetInputString(const char *in)
Specify the InputString for use when reading from a character array.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGetFilePathMacro(FileName)
Specifies the delimited text file to be loaded.
vtkSetFilePathMacro(FileName)
Specifies the delimited text file to be loaded.
static vtkDelimitedTextReader * New()
const char * GetUTF8RecordDelimiters()
Specify the character(s) that will be used to separate records.
void SetInputString(const vtkStdString &input)
Specify the InputString for use when reading from a character array.
a simple class to control print indentation
Wrapper around std::string to keep symbols short.
Superclass for algorithms that produce only vtkTables as output.
A table, which contains similar-typed columns of data.
String class that stores Unicode text.
#define VTK_DEPRECATED_IN_9_1_0(reason)