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);
173 vtkGetMacro(HaveHeaders,
bool);
174 vtkSetMacro(HaveHeaders,
bool);
181 vtkSetMacro(MergeConsecutiveDelimiters,
bool);
182 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
183 vtkBooleanMacro(MergeConsecutiveDelimiters,
bool);
198 vtkSetMacro(DetectNumericColumns,
bool);
199 vtkGetMacro(DetectNumericColumns,
bool);
200 vtkBooleanMacro(DetectNumericColumns,
bool);
207 vtkSetMacro(ForceDouble,
bool);
208 vtkGetMacro(ForceDouble,
bool);
209 vtkBooleanMacro(ForceDouble,
bool);
222 vtkSetMacro(TrimWhitespacePriorToNumericConversion,
bool);
223 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
224 vtkBooleanMacro(TrimWhitespacePriorToNumericConversion,
bool);
231 vtkSetMacro(DefaultIntegerValue,
int);
232 vtkGetMacro(DefaultIntegerValue,
int);
239 vtkSetMacro(DefaultDoubleValue,
double);
240 vtkGetMacro(DefaultDoubleValue,
double);
246 vtkSetStringMacro(PedigreeIdArrayName);
247 vtkGetStringMacro(PedigreeIdArrayName);
253 vtkSetMacro(GeneratePedigreeIds,
bool);
254 vtkGetMacro(GeneratePedigreeIds,
bool);
255 vtkBooleanMacro(GeneratePedigreeIds,
bool);
260 vtkSetMacro(OutputPedigreeIds,
bool);
261 vtkGetMacro(OutputPedigreeIds,
bool);
262 vtkBooleanMacro(OutputPedigreeIds,
bool);
274 vtkSetMacro(ReplacementCharacter, vtkTypeUInt32);
275 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()
GLenum GLenum GLenum input
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.