OpendTect  7.0
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Table::ImportHandler Class Referenceabstract
Inheritance diagram for Table::ImportHandler:
[legend]

Public Types

enum  State { Error , InCol , EndCol , EndRow }
 

Public Member Functions

 ImportHandler (od_istream &strm)
 
virtual ~ImportHandler ()
 
virtual State add (char)=0
 
bool atEnd () const
 
const char * errMsg () const
 
const char * getCol () const
 
virtual void newCol ()
 
virtual void newRow ()
 
char readNewChar () const
 

Protected Member Functions

void addToCol (char)
 

Protected Attributes

BufferString col_
 
int colpos_
 
od_istreamstrm_
 

Detailed Description

<>

Member Enumeration Documentation

◆ State

Enumerator
Error 
InCol 
EndCol 
EndRow 

Constructor & Destructor Documentation

◆ ImportHandler()

Table::ImportHandler::ImportHandler ( od_istream strm)
inline

◆ ~ImportHandler()

virtual Table::ImportHandler::~ImportHandler ( )
inlinevirtual

Member Function Documentation

◆ add()

virtual State Table::ImportHandler::add ( char  )
pure virtual

◆ addToCol()

void Table::ImportHandler::addToCol ( char  )
protected

◆ atEnd()

bool Table::ImportHandler::atEnd ( ) const

◆ errMsg()

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

◆ getCol()

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

◆ newCol()

virtual void Table::ImportHandler::newCol ( )
inlinevirtual

◆ newRow()

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

◆ readNewChar()

char Table::ImportHandler::readNewChar ( ) const

Member Data Documentation

◆ col_

BufferString Table::ImportHandler::col_
protected

◆ colpos_

int Table::ImportHandler::colpos_
protected

◆ strm_

od_istream& Table::ImportHandler::strm_
protected

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