102#ifndef vtkDelimitedTextReader_h
103#define vtkDelimitedTextReader_h
105#include "vtkIOInfovisModule.h"
133 vtkGetStringMacro(InputString);
135 vtkGetMacro(InputStringLength,
int);
138 this->SetInputString(input.c_str(),
static_cast<int>(input.length()));
164 vtkGetStringMacro(UnicodeCharacterSet);
165 vtkSetStringMacro(UnicodeCharacterSet);
190 vtkSetStringMacro(FieldDelimiterCharacters);
191 vtkGetStringMacro(FieldDelimiterCharacters);
194 void SetUTF8FieldDelimiters(const
char* delimiters);
195 const
char* GetUTF8FieldDelimiters();
211 vtkGetMacro(StringDelimiter,
char);
212 vtkSetMacro(StringDelimiter,
char);
215 void SetUTF8StringDelimiters(const
char* delimiters);
216 const
char* GetUTF8StringDelimiters();
226 vtkSetMacro(UseStringDelimiter,
bool);
227 vtkGetMacro(UseStringDelimiter,
bool);
228 vtkBooleanMacro(UseStringDelimiter,
bool);
236 vtkGetMacro(HaveHeaders,
bool);
237 vtkSetMacro(HaveHeaders,
bool);
246 vtkSetMacro(MergeConsecutiveDelimiters,
bool);
247 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
248 vtkBooleanMacro(MergeConsecutiveDelimiters,
bool);
266 vtkSetMacro(DetectNumericColumns,
bool);
267 vtkGetMacro(DetectNumericColumns,
bool);
268 vtkBooleanMacro(DetectNumericColumns,
bool);
277 vtkSetMacro(ForceDouble,
bool);
278 vtkGetMacro(ForceDouble,
bool);
279 vtkBooleanMacro(ForceDouble,
bool);
298 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
299 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
300 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
308 vtkSetMacro(DefaultIntegerValue,
int);
309 vtkGetMacro(DefaultIntegerValue,
int);
317 vtkSetMacro(DefaultDoubleValue,
double);
318 vtkGetMacro(DefaultDoubleValue,
double);
326 vtkSetStringMacro(PedigreeIdArrayName);
327 vtkGetStringMacro(PedigreeIdArrayName);
335 vtkSetMacro(GeneratePedigreeIds,
bool);
336 vtkGetMacro(GeneratePedigreeIds,
bool);
337 vtkBooleanMacro(GeneratePedigreeIds,
bool);
344 vtkSetMacro(OutputPedigreeIds,
bool);
345 vtkGetMacro(OutputPedigreeIds,
bool);
346 vtkBooleanMacro(OutputPedigreeIds,
bool);
355 vtkSetMacro(AddTabFieldDelimiter,
bool);
356 vtkGetMacro(AddTabFieldDelimiter,
bool);
357 vtkBooleanMacro(AddTabFieldDelimiter,
bool);
373 vtkSetMacro(ReplacementCharacter, vtkTypeUInt32);
374 vtkGetMacro(ReplacementCharacter, vtkTypeUInt32);
389 int InputStringLength;
390 char* UnicodeCharacterSet;
397 bool DetectNumericColumns;
399 bool TrimWhitespacePriorToNumericConversion;
400 int DefaultIntegerValue;
401 double DefaultDoubleValue;
402 char* FieldDelimiterCharacters;
403 char StringDelimiter;
404 bool UseStringDelimiter;
406 bool UnicodeOutputArrays;
407 bool MergeConsecutiveDelimiters;
408 char* PedigreeIdArrayName;
409 bool GeneratePedigreeIds;
410 bool OutputPedigreeIds;
411 bool AddTabFieldDelimiter;
413 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)