70 #ifndef vtkDelimitedTextReader_h 71 #define vtkDelimitedTextReader_h 73 #include "vtkIOInfovisModule.h" 89 vtkGetStringMacro(FileName);
90 vtkSetStringMacro(FileName);
100 void SetInputString(
const char *in);
101 vtkGetStringMacro(InputString);
102 void SetInputString(
const char *in,
int len);
103 vtkGetMacro(InputStringLength,
int);
105 { this->SetInputString(input.c_str(),
static_cast<int>(input.length())); }
130 vtkGetStringMacro(UnicodeCharacterSet);
131 vtkSetStringMacro(UnicodeCharacterSet);
140 void SetUTF8RecordDelimiters(
const char* delimiters);
141 const char* GetUTF8RecordDelimiters();
154 vtkSetStringMacro(FieldDelimiterCharacters);
155 vtkGetStringMacro(FieldDelimiterCharacters);
158 void SetUTF8FieldDelimiters(
const char* delimiters);
159 const char* GetUTF8FieldDelimiters();
173 vtkGetMacro(StringDelimiter,
char);
174 vtkSetMacro(StringDelimiter,
char);
177 void SetUTF8StringDelimiters(
const char* delimiters);
178 const char* GetUTF8StringDelimiters();
186 vtkSetMacro(UseStringDelimiter,
bool);
187 vtkGetMacro(UseStringDelimiter,
bool);
188 vtkBooleanMacro(UseStringDelimiter,
bool);
196 vtkGetMacro(HaveHeaders,
bool);
197 vtkSetMacro(HaveHeaders,
bool);
206 vtkSetMacro(MergeConsecutiveDelimiters,
bool);
207 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
208 vtkBooleanMacro(MergeConsecutiveDelimiters,
bool);
226 vtkSetMacro(DetectNumericColumns,
bool);
227 vtkGetMacro(DetectNumericColumns,
bool);
228 vtkBooleanMacro(DetectNumericColumns,
bool);
237 vtkSetMacro(ForceDouble,
bool);
238 vtkGetMacro(ForceDouble,
bool);
239 vtkBooleanMacro(ForceDouble,
bool);
258 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
259 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
260 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
268 vtkSetMacro(DefaultIntegerValue,
int);
269 vtkGetMacro(DefaultIntegerValue,
int);
277 vtkSetMacro(DefaultDoubleValue,
double);
278 vtkGetMacro(DefaultDoubleValue,
double);
286 vtkSetStringMacro(PedigreeIdArrayName);
287 vtkGetStringMacro(PedigreeIdArrayName);
295 vtkSetMacro(GeneratePedigreeIds,
bool);
296 vtkGetMacro(GeneratePedigreeIds,
bool);
297 vtkBooleanMacro(GeneratePedigreeIds,
bool);
304 vtkSetMacro(OutputPedigreeIds,
bool);
305 vtkGetMacro(OutputPedigreeIds,
bool);
306 vtkBooleanMacro(OutputPedigreeIds,
bool);
315 vtkSetMacro(AddTabFieldDelimiter,
bool);
316 vtkGetMacro(AddTabFieldDelimiter,
bool);
317 vtkBooleanMacro(AddTabFieldDelimiter,
bool);
333 vtkSetMacro(ReplacementCharacter, vtkTypeUInt32);
334 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.