OpendTect  6.6
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Table::CSVImportHandler Class Reference
Inheritance diagram for Table::CSVImportHandler:
[legend]

Public Member Functions

 CSVImportHandler (od_istream &s)
 
State add (char)
 
const char * errMsg () const
 
const char * getCol () const
 
virtual void newRow ()
 
- Public Member Functions inherited from Table::ImportHandler
 ImportHandler (od_istream &strm)
 
virtual ~ImportHandler ()
 
bool atEnd () const
 
const char * errMsg () const
 
const char * getCol () const
 
virtual void newCol ()
 
char readNewChar () const
 

Public Attributes

char nlreplace_
 replace newlines with this char (optional) More...
 

Protected Attributes

bool instring_
 
- Protected Attributes inherited from Table::ImportHandler
BufferString col_
 
int colpos_
 
od_istreamstrm_
 

Additional Inherited Members

- Public Types inherited from Table::ImportHandler
enum  State { Error , InCol , EndCol , EndRow }
 
- Protected Member Functions inherited from Table::ImportHandler
void addToCol (char)
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ CSVImportHandler()

Table::CSVImportHandler::CSVImportHandler ( od_istream s)
inline

Member Function Documentation

◆ add()

State Table::CSVImportHandler::add ( char  )
virtual

Implements Table::ImportHandler.

◆ errMsg()

const char* Table::CSVImportHandler::errMsg ( ) const
inline

◆ getCol()

const char* Table::CSVImportHandler::getCol ( ) const
inline

◆ newRow()

virtual void Table::CSVImportHandler::newRow ( )
inlinevirtual

Reimplemented from Table::ImportHandler.

Member Data Documentation

◆ instring_

bool Table::CSVImportHandler::instring_
protected

◆ nlreplace_

char Table::CSVImportHandler::nlreplace_

replace newlines with this char (optional)


Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022