VTK  9.4.20250131
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 startRecords, vtkIdType maxRecords, const std::string &recordDelimiters, const std::string &fieldDelimiters, const std::string &stringDelimiters, const std::string &whitespace, const std::string &comments, const std::string &escape, bool haveHeaders, bool mergConsDelimiters, bool useStringDelimiter, bool detectNumericColumns, bool forceDouble, int defaultInt, double defaultDouble, vtkTable *outputTable)
 
 ~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  startRecords,
vtkIdType  maxRecords,
const std::string &  recordDelimiters,
const std::string &  fieldDelimiters,
const std::string &  stringDelimiters,
const std::string &  whitespace,
const std::string &  comments,
const std::string &  escape,
bool  haveHeaders,
bool  mergConsDelimiters,
bool  useStringDelimiter,
bool  detectNumericColumns,
bool  forceDouble,
int  defaultInt,
double  defaultDouble,
vtkTable outputTable 
)

◆ ~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: