OpendTect-6_4  6.4
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 * getCol () const
 
const char * errMsg () const
 
virtual void newRow ()
 
- Public Member Functions inherited from Table::ImportHandler
 ImportHandler (od_istream &strm)
 
virtual ~ImportHandler ()
 
const char * getCol () const
 
const char * errMsg () const
 
virtual void newCol ()
 
char readNewChar () const
 
bool atEnd () const
 

Public Attributes

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

Protected Attributes

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

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

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

Member Function Documentation

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

Implements Table::ImportHandler.

const char* Table::CSVImportHandler::errMsg ( ) const
inline
const char* Table::CSVImportHandler::getCol ( ) const
inline
virtual void Table::CSVImportHandler::newRow ( )
inlinevirtual

Reimplemented from Table::ImportHandler.

Member Data Documentation

bool Table::CSVImportHandler::instring_
protected
char Table::CSVImportHandler::nlreplace_

replace newlines with this char (optional)


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