69 #ifndef vtkDelimitedTextReader_h
70 #define vtkDelimitedTextReader_h
86 vtkGetStringMacro(FileName);
87 vtkSetStringMacro(FileName);
95 void SetInputString(
const char *in);
96 vtkGetStringMacro(InputString);
97 void SetInputString(
const char *in,
int len);
98 vtkGetMacro(InputStringLength,
int);
100 { this->SetInputString(input.c_str(),
static_cast<int>(input.length())); }
106 vtkSetMacro(ReadFromInputString,
int);
107 vtkGetMacro(ReadFromInputString,
int);
108 vtkBooleanMacro(ReadFromInputString,
int);
120 vtkGetStringMacro(UnicodeCharacterSet);
121 vtkSetStringMacro(UnicodeCharacterSet);
128 void SetUTF8RecordDelimiters(
const char* delimiters);
129 const char* GetUTF8RecordDelimiters();
140 vtkSetStringMacro(FieldDelimiterCharacters);
141 vtkGetStringMacro(FieldDelimiterCharacters);
144 void SetUTF8FieldDelimiters(
const char* delimiters);
145 const char* GetUTF8FieldDelimiters();
155 vtkGetMacro(StringDelimiter,
char);
156 vtkSetMacro(StringDelimiter,
char);
159 void SetUTF8StringDelimiters(
const char* delimiters);
160 const char* GetUTF8StringDelimiters();
166 vtkSetMacro(UseStringDelimiter,
bool);
167 vtkGetMacro(UseStringDelimiter,
bool);
168 vtkBooleanMacro(UseStringDelimiter,
bool);
174 vtkGetMacro(HaveHeaders,
bool);
175 vtkSetMacro(HaveHeaders,
bool);
182 vtkSetMacro(MergeConsecutiveDelimiters,
bool);
183 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
184 vtkBooleanMacro(MergeConsecutiveDelimiters,
bool);
199 vtkSetMacro(DetectNumericColumns,
bool);
200 vtkGetMacro(DetectNumericColumns,
bool);
201 vtkBooleanMacro(DetectNumericColumns,
bool);
208 vtkSetMacro(ForceDouble,
bool);
209 vtkGetMacro(ForceDouble,
bool);
210 vtkBooleanMacro(ForceDouble,
bool);
223 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
224 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
225 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
232 vtkSetMacro(DefaultIntegerValue,
int);
233 vtkGetMacro(DefaultIntegerValue,
int);
240 vtkSetMacro(DefaultDoubleValue,
double);
241 vtkGetMacro(DefaultDoubleValue,
double);
247 vtkSetStringMacro(PedigreeIdArrayName);
248 vtkGetStringMacro(PedigreeIdArrayName);
254 vtkSetMacro(GeneratePedigreeIds,
bool);
255 vtkGetMacro(GeneratePedigreeIds,
bool);
256 vtkBooleanMacro(GeneratePedigreeIds,
bool);
261 vtkSetMacro(OutputPedigreeIds,
bool);
262 vtkGetMacro(OutputPedigreeIds,
bool);
263 vtkBooleanMacro(OutputPedigreeIds,
bool);
275 vtkSetMacro(ReplacementCharacter, vtkTypeUInt32);
276 vtkGetMacro(ReplacementCharacter, vtkTypeUInt32);
void SetInputString(const vtkStdString &input)
vtkUnicodeString UnicodeRecordDelimiters
Wrapper around std::string to keep symbols short.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
vtkUnicodeString UnicodeStringDelimiters
#define VTKIOINFOVIS_EXPORT
bool MergeConsecutiveDelimiters
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
vtkUnicodeString UnicodeEscapeCharacter
double DefaultDoubleValue
vtkUnicodeString UnicodeWhitespace
char * FieldDelimiterCharacters
char * UnicodeCharacterSet
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkUnicodeString UnicodeFieldDelimiters
Superclass for algorithms that produce only vtkTables as output.
String class that stores Unicode text.