VTK  9.4.2
Public Member Functions | List of all members
vtkDelimitedTextCodecIteratorPrivate Class Reference

Implements vtkTextCodec::OutputIterator to fill a vtkTable from text input. More...

#include <vtkDelimitedTextCodecIteratorPrivate.h>

Inheritance diagram for vtkDelimitedTextCodecIteratorPrivate:
[legend]
Collaboration diagram for vtkDelimitedTextCodecIteratorPrivate:
[legend]

Public Member Functions

 vtkDelimitedTextCodecIteratorPrivate (vtkIdType max_records, const std::string &record_delimiters, const std::string &field_delimiters, const std::string &string_delimiters, const std::string &whitespace, const std::string &escape, bool have_headers, bool merg_cons_delimiters, bool use_string_delimiter, bool detect_numeric_columns, bool force_double, int default_int, double default_double, vtkTable *output_table)
 
 ~vtkDelimitedTextCodecIteratorPrivate () override
 
void ReachedEndOfInput ()
 Handle windows files that do not have a carriage return line feed on the last line of the file.
 
vtkDelimitedTextCodecIteratorPrivateoperator= (const vtkTypeUInt32 &value) override
 Entry point to parse text.
 
- Public Member Functions inherited from vtkTextCodec::OutputIterator
virtual OutputIteratoroperator++ (int)
 
virtual OutputIteratoroperator* ()
 
virtual OutputIteratoroperator= (const vtkTypeUInt32 &value)=0
 
 OutputIterator ()=default
 
virtual ~OutputIterator ()=default
 

Detailed Description

Implements vtkTextCodec::OutputIterator to fill a vtkTable from text input.

vtkDelimitedTextCodecIteratorPrivate parses an input text to generate a vtkTable. It supports Delimiters configuration. Column type can be detected to output numeric arrays instead of string arrays.

Definition at line 30 of file vtkDelimitedTextCodecIteratorPrivate.h.

Constructor & Destructor Documentation

◆ vtkDelimitedTextCodecIteratorPrivate()

vtkDelimitedTextCodecIteratorPrivate::vtkDelimitedTextCodecIteratorPrivate ( vtkIdType  max_records,
const std::string &  record_delimiters,
const std::string &  field_delimiters,
const std::string &  string_delimiters,
const std::string &  whitespace,
const std::string &  escape,
bool  have_headers,
bool  merg_cons_delimiters,
bool  use_string_delimiter,
bool  detect_numeric_columns,
bool  force_double,
int  default_int,
double  default_double,
vtkTable output_table 
)

◆ ~vtkDelimitedTextCodecIteratorPrivate()

vtkDelimitedTextCodecIteratorPrivate::~vtkDelimitedTextCodecIteratorPrivate ( )
override

Member Function Documentation

◆ ReachedEndOfInput()

void vtkDelimitedTextCodecIteratorPrivate::ReachedEndOfInput ( )

Handle windows files that do not have a carriage return line feed on the last line of the file.

◆ operator=()

vtkDelimitedTextCodecIteratorPrivate & vtkDelimitedTextCodecIteratorPrivate::operator= ( const vtkTypeUInt32 &  value)
overridevirtual

Entry point to parse text.

Implements vtkTextCodec::OutputIterator.


The documentation for this class was generated from the following file: