50 #ifndef vtkDelimitedTextReader_h
51 #define vtkDelimitedTextReader_h
53 #include "vtkIOInfovisModule.h"
57 VTK_ABI_NAMESPACE_BEGIN
69 vtkGetFilePathMacro(FileName);
70 vtkSetFilePathMacro(FileName);
80 void SetInputString(
const char* in);
81 vtkGetStringMacro(InputString);
82 void SetInputString(
const char* in,
int len);
83 vtkGetMacro(InputStringLength,
int);
86 this->SetInputString(input.c_str(),
static_cast<int>(input.length()));
112 vtkGetStringMacro(UnicodeCharacterSet);
113 vtkSetStringMacro(UnicodeCharacterSet);
122 void SetUTF8RecordDelimiters(
const char* delimiters);
123 const char* GetUTF8RecordDelimiters();
134 vtkSetStringMacro(FieldDelimiterCharacters);
135 vtkGetStringMacro(FieldDelimiterCharacters);
138 void SetUTF8FieldDelimiters(
const char* delimiters);
139 const char* GetUTF8FieldDelimiters();
151 vtkGetMacro(StringDelimiter,
char);
152 vtkSetMacro(StringDelimiter,
char);
155 void SetUTF8StringDelimiters(
const char* delimiters);
156 const char* GetUTF8StringDelimiters();
162 vtkSetMacro(UseStringDelimiter,
bool);
163 vtkGetMacro(UseStringDelimiter,
bool);
164 vtkBooleanMacro(UseStringDelimiter,
bool);
172 vtkGetMacro(HaveHeaders,
bool);
173 vtkSetMacro(HaveHeaders,
bool);
182 vtkSetMacro(MergeConsecutiveDelimiters,
bool);
183 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
184 vtkBooleanMacro(MergeConsecutiveDelimiters,
bool);
202 vtkSetMacro(DetectNumericColumns,
bool);
203 vtkGetMacro(DetectNumericColumns,
bool);
204 vtkBooleanMacro(DetectNumericColumns,
bool);
213 vtkSetMacro(ForceDouble,
bool);
214 vtkGetMacro(ForceDouble,
bool);
215 vtkBooleanMacro(ForceDouble,
bool);
234 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
235 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
236 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
244 vtkSetMacro(DefaultIntegerValue,
int);
245 vtkGetMacro(DefaultIntegerValue,
int);
253 vtkSetMacro(DefaultDoubleValue,
double);
254 vtkGetMacro(DefaultDoubleValue,
double);
262 vtkSetStringMacro(PedigreeIdArrayName);
263 vtkGetStringMacro(PedigreeIdArrayName);
271 vtkSetMacro(GeneratePedigreeIds,
bool);
272 vtkGetMacro(GeneratePedigreeIds,
bool);
273 vtkBooleanMacro(GeneratePedigreeIds,
bool);
280 vtkSetMacro(OutputPedigreeIds,
bool);
281 vtkGetMacro(OutputPedigreeIds,
bool);
282 vtkBooleanMacro(OutputPedigreeIds,
bool);
291 vtkSetMacro(AddTabFieldDelimiter,
bool);
292 vtkGetMacro(AddTabFieldDelimiter,
bool);
293 vtkBooleanMacro(AddTabFieldDelimiter,
bool);
309 vtkSetMacro(ReplacementCharacter, vtkTypeUInt32);
310 vtkGetMacro(ReplacementCharacter, vtkTypeUInt32);
320 int ReadData(
vtkTable* output_table);
355 VTK_ABI_NAMESPACE_END
void SetInputString(const vtkStdString &input)
Specify the InputString for use when reading from a character array.
Wrapper around std::string to keep symbols short.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTableAlgorithm * New()
std::string UnicodeEscapeCharacter
bool MergeConsecutiveDelimiters
bool AddTabFieldDelimiter
std::string UnicodeStringDelimiters
bool TrimWhitespacePriorToNumericConversion
char * PedigreeIdArrayName
vtkTypeUInt32 ReplacementCharacter
std::string UnicodeFieldDelimiters
reads in delimited ascii or unicode text files and outputs a vtkTable data structure.
a simple class to control print indentation
bool DetectNumericColumns
std::string UnicodeRecordDelimiters
vtkTypeBool ReadFromInputString
double DefaultDoubleValue
A table, which contains similar-typed columns of data.
char * FieldDelimiterCharacters
char * UnicodeCharacterSet
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Superclass for algorithms that produce only vtkTables as output.
std::string UnicodeWhitespace