64 #ifndef vtkDelimitedTextReader_h 65 #define vtkDelimitedTextReader_h 67 #include "vtkIOInfovisModule.h" 83 vtkGetStringMacro(FileName);
84 vtkSetStringMacro(FileName);
94 void SetInputString(
const char *in);
95 vtkGetStringMacro(InputString);
96 void SetInputString(
const char *in,
int len);
97 vtkGetMacro(InputStringLength,
int);
99 { this->SetInputString(input.c_str(),
static_cast<int>(input.length())); }
124 vtkGetStringMacro(UnicodeCharacterSet);
125 vtkSetStringMacro(UnicodeCharacterSet);
134 void SetUTF8RecordDelimiters(
const char* delimiters);
135 const char* GetUTF8RecordDelimiters();
148 vtkSetStringMacro(FieldDelimiterCharacters);
149 vtkGetStringMacro(FieldDelimiterCharacters);
152 void SetUTF8FieldDelimiters(
const char* delimiters);
153 const char* GetUTF8FieldDelimiters();
167 vtkGetMacro(StringDelimiter,
char);
168 vtkSetMacro(StringDelimiter,
char);
171 void SetUTF8StringDelimiters(
const char* delimiters);
172 const char* GetUTF8StringDelimiters();
180 vtkSetMacro(UseStringDelimiter,
bool);
181 vtkGetMacro(UseStringDelimiter,
bool);
182 vtkBooleanMacro(UseStringDelimiter,
bool);
190 vtkGetMacro(HaveHeaders,
bool);
191 vtkSetMacro(HaveHeaders,
bool);
200 vtkSetMacro(MergeConsecutiveDelimiters,
bool);
201 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
202 vtkBooleanMacro(MergeConsecutiveDelimiters,
bool);
220 vtkSetMacro(DetectNumericColumns,
bool);
221 vtkGetMacro(DetectNumericColumns,
bool);
222 vtkBooleanMacro(DetectNumericColumns,
bool);
231 vtkSetMacro(ForceDouble,
bool);
232 vtkGetMacro(ForceDouble,
bool);
233 vtkBooleanMacro(ForceDouble,
bool);
252 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
253 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
254 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
262 vtkSetMacro(DefaultIntegerValue,
int);
263 vtkGetMacro(DefaultIntegerValue,
int);
271 vtkSetMacro(DefaultDoubleValue,
double);
272 vtkGetMacro(DefaultDoubleValue,
double);
280 vtkSetStringMacro(PedigreeIdArrayName);
281 vtkGetStringMacro(PedigreeIdArrayName);
289 vtkSetMacro(GeneratePedigreeIds,
bool);
290 vtkGetMacro(GeneratePedigreeIds,
bool);
291 vtkBooleanMacro(GeneratePedigreeIds,
bool);
298 vtkSetMacro(OutputPedigreeIds,
bool);
299 vtkGetMacro(OutputPedigreeIds,
bool);
300 vtkBooleanMacro(OutputPedigreeIds,
bool);
309 vtkSetMacro(AddTabFieldDelimiter,
bool);
310 vtkGetMacro(AddTabFieldDelimiter,
bool);
311 vtkBooleanMacro(AddTabFieldDelimiter,
bool);
327 vtkSetMacro(ReplacementCharacter, vtkTypeUInt32);
328 vtkGetMacro(ReplacementCharacter, vtkTypeUInt32);
void SetInputString(const vtkStdString &input)
Specify the InputString for use when reading from a character array.
vtkUnicodeString UnicodeRecordDelimiters
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()
vtkUnicodeString UnicodeStringDelimiters
bool MergeConsecutiveDelimiters
bool AddTabFieldDelimiter
bool TrimWhitespacePriorToNumericConversion
char * PedigreeIdArrayName
vtkTypeUInt32 ReplacementCharacter
reads in delimited ascii or unicode text files and outputs a vtkTable data structure.
a simple class to control print indentation
bool DetectNumericColumns
vtkTypeBool ReadFromInputString
vtkUnicodeString UnicodeEscapeCharacter
double DefaultDoubleValue
vtkUnicodeString UnicodeWhitespace
char * FieldDelimiterCharacters
char * UnicodeCharacterSet
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkUnicodeString UnicodeFieldDelimiters
Superclass for algorithms that produce only vtkTables as output.
String class that stores Unicode text.