70 #ifndef vtkDelimitedTextReader_h
71 #define vtkDelimitedTextReader_h
73 #include "vtkIOInfovisModule.h"
90 vtkSetStringMacro(FileName);
103 vtkGetMacro(InputStringLength,
int);
105 { this->SetInputString(input.c_str(),
static_cast<int>(input.length())); }
114 vtkGetMacro(ReadFromInputString,
int);
131 vtkSetStringMacro(UnicodeCharacterSet);
154 vtkSetStringMacro(FieldDelimiterCharacters);
173 vtkGetMacro(StringDelimiter,
char);
187 vtkGetMacro(UseStringDelimiter,
bool);
196 vtkGetMacro(HaveHeaders,
bool);
207 vtkGetMacro(MergeConsecutiveDelimiters,
bool);
227 vtkGetMacro(DetectNumericColumns,
bool);
238 vtkGetMacro(ForceDouble,
bool);
259 vtkGetMacro(TrimWhitespacePriorToNumericConversion,
bool);
269 vtkGetMacro(DefaultIntegerValue,
int);
278 vtkGetMacro(DefaultDoubleValue,
double);
286 vtkSetStringMacro(PedigreeIdArrayName);
296 vtkGetMacro(GeneratePedigreeIds,
bool);
305 vtkGetMacro(OutputPedigreeIds,
bool);
323 vtkGetMacro(ReplacementCharacter, vtkTypeUInt32);
reads in delimited ascii or unicode text files and outputs a vtkTable data structure.
vtkTypeUInt32 ReplacementCharacter
void SetInputString(const char *in, int len)
vtkUnicodeString GetUnicodeRecordDelimiters()
void SetUnicodeRecordDelimiters(const vtkUnicodeString &delimiters)
const char * GetUTF8StringDelimiters()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkDelimitedTextReader * New()
vtkUnicodeString UnicodeWhitespace
char * FieldDelimiterCharacters
bool TrimWhitespacePriorToNumericConversion
~vtkDelimitedTextReader()
vtkUnicodeString UnicodeRecordDelimiters
vtkUnicodeString UnicodeFieldDelimiters
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetUTF8RecordDelimiters(const char *delimiters)
Specify the character(s) that will be used to separate records.
vtkStdString GetLastError()
Returns a human-readable description of the most recent error, if any.
vtkUnicodeString UnicodeStringDelimiters
void SetInputString(const char *in)
Specify the InputString for use when reading from a character array.
void SetUTF8StringDelimiters(const char *delimiters)
double DefaultDoubleValue
bool MergeConsecutiveDelimiters
void SetUnicodeFieldDelimiters(const vtkUnicodeString &delimiters)
vtkUnicodeString GetUnicodeStringDelimiters()
void SetUnicodeStringDelimiters(const vtkUnicodeString &delimiters)
vtkUnicodeString GetUnicodeFieldDelimiters()
bool DetectNumericColumns
vtkUnicodeString UnicodeEscapeCharacter
void SetInputString(const vtkStdString &input)
const char * GetUTF8FieldDelimiters()
void SetUTF8FieldDelimiters(const char *delimiters)
char * PedigreeIdArrayName
char * UnicodeCharacterSet
const char * GetUTF8RecordDelimiters()
a simple class to control print indentation
Wrapper around std::string to keep symbols short.
Superclass for algorithms that produce only vtkTables as output.
String class that stores Unicode text.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.