72#ifndef vtkDelimitedTextReader_h
73#define vtkDelimitedTextReader_h
75#include "vtkIOInfovisModule.h"
103 vtkGetStringMacro(InputString);
105 vtkGetMacro(InputStringLength,
int);
108 this->SetInputString(input.c_str(),
static_cast<int>(input.length()));
134 vtkGetStringMacro(UnicodeCharacterSet);
135 vtkSetStringMacro(UnicodeCharacterSet);
160 vtkSetStringMacro(FieldDelimiterCharacters);
161 vtkGetStringMacro(FieldDelimiterCharacters);
164 void SetUTF8FieldDelimiters(const
char* delimiters);
165 const
char* GetUTF8FieldDelimiters();
181 vtkGetMacro(StringDelimiter,
char);
182 vtkSetMacro(StringDelimiter,
char);
185 void SetUTF8StringDelimiters(const
char* delimiters);
186 const
char* GetUTF8StringDelimiters();
196 vtkSetMacro(UseStringDelimiter,
bool);
197 vtkGetMacro(UseStringDelimiter,
bool);
198 vtkBooleanMacro(UseStringDelimiter,
bool);
206 vtkGetMacro(HaveHeaders,
bool);
207 vtkSetMacro(HaveHeaders,
bool);
216 vtkSetMacro(MergeConsecutiveDelimiters,
bool);
217 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
218 vtkBooleanMacro(MergeConsecutiveDelimiters,
bool);
236 vtkSetMacro(DetectNumericColumns,
bool);
237 vtkGetMacro(DetectNumericColumns,
bool);
238 vtkBooleanMacro(DetectNumericColumns,
bool);
247 vtkSetMacro(ForceDouble,
bool);
248 vtkGetMacro(ForceDouble,
bool);
249 vtkBooleanMacro(ForceDouble,
bool);
268 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
269 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
270 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
278 vtkSetMacro(DefaultIntegerValue,
int);
279 vtkGetMacro(DefaultIntegerValue,
int);
287 vtkSetMacro(DefaultDoubleValue,
double);
288 vtkGetMacro(DefaultDoubleValue,
double);
296 vtkSetStringMacro(PedigreeIdArrayName);
297 vtkGetStringMacro(PedigreeIdArrayName);
305 vtkSetMacro(GeneratePedigreeIds,
bool);
306 vtkGetMacro(GeneratePedigreeIds,
bool);
307 vtkBooleanMacro(GeneratePedigreeIds,
bool);
314 vtkSetMacro(OutputPedigreeIds,
bool);
315 vtkGetMacro(OutputPedigreeIds,
bool);
316 vtkBooleanMacro(OutputPedigreeIds,
bool);
325 vtkSetMacro(AddTabFieldDelimiter,
bool);
326 vtkGetMacro(AddTabFieldDelimiter,
bool);
327 vtkBooleanMacro(AddTabFieldDelimiter,
bool);
343 vtkSetMacro(ReplacementCharacter, vtkTypeUInt32);
344 vtkGetMacro(ReplacementCharacter, vtkTypeUInt32);
359 int InputStringLength;
360 char* UnicodeCharacterSet;
367 bool DetectNumericColumns;
369 bool TrimWhitespacePriorToNumericConversion;
370 int DefaultIntegerValue;
371 double DefaultDoubleValue;
372 char* FieldDelimiterCharacters;
373 char StringDelimiter;
374 bool UseStringDelimiter;
376 bool UnicodeOutputArrays;
377 bool MergeConsecutiveDelimiters;
378 char* PedigreeIdArrayName;
379 bool GeneratePedigreeIds;
380 bool OutputPedigreeIds;
381 bool AddTabFieldDelimiter;
383 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)