OpendTect-6_4  6.4
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
Table::SQLInsertExportHandler Class Reference
Inheritance diagram for Table::SQLInsertExportHandler:
[legend]

Public Member Functions

 SQLInsertExportHandler (od_ostream &s)
 
bool putRow (const BufferStringSet &, uiString &)
 
- Public Member Functions inherited from Table::ExportHandler
 ExportHandler (od_ostream &strm)
 
virtual ~ExportHandler ()
 
virtual bool init ()
 
virtual void finish ()
 

Public Attributes

BufferString tblname_
 name of the table: mandatory More...
 
BufferStringSet colnms_
 names of the columns: optional More...
 
BufferString indexcolnm_
 if not empty, will add column More...
 
int startindex_
 if indexcolnm_ set, startindex More...
 
int stepindex_
 if indexcolnm_ set, step index More...
 
BufferStringSet extracolvals_
 Values for columns not in input. More...
 
BufferStringSet extracolnms_
 Column names for extracolvals_. More...
 
- Public Attributes inherited from Table::ExportHandler
BufferString prepend_
 Before first record. Add newline if needed. More...
 
BufferString append_
 After last record. More...
 

Protected Member Functions

void addVal (int col, const char *)
 
- Protected Member Functions inherited from Table::ExportHandler
uiString getStrmMsg () const
 

Protected Attributes

int nrrows_
 
bool addindex_
 
int nrextracols_
 
- Protected Attributes inherited from Table::ExportHandler
od_ostreamstrm_
 

Private Member Functions

 mODTextTranslationClass (SQLInsertExportHandler)
 

Additional Inherited Members

- Static Public Member Functions inherited from Table::ExportHandler
static bool isNumber (const char *)
 

Detailed Description

Constructor & Destructor Documentation

Table::SQLInsertExportHandler::SQLInsertExportHandler ( od_ostream s)
inline

Member Function Documentation

void Table::SQLInsertExportHandler::addVal ( int  col,
const char *   
)
protected
Table::SQLInsertExportHandler::mODTextTranslationClass ( SQLInsertExportHandler  )
private
bool Table::SQLInsertExportHandler::putRow ( const BufferStringSet ,
uiString  
)
virtual

Implements Table::ExportHandler.

Member Data Documentation

bool Table::SQLInsertExportHandler::addindex_
protected
BufferStringSet Table::SQLInsertExportHandler::colnms_

names of the columns: optional

BufferStringSet Table::SQLInsertExportHandler::extracolnms_

Column names for extracolvals_.

BufferStringSet Table::SQLInsertExportHandler::extracolvals_

Values for columns not in input.

BufferString Table::SQLInsertExportHandler::indexcolnm_

if not empty, will add column

int Table::SQLInsertExportHandler::nrextracols_
protected
int Table::SQLInsertExportHandler::nrrows_
protected
int Table::SQLInsertExportHandler::startindex_

if indexcolnm_ set, startindex

int Table::SQLInsertExportHandler::stepindex_

if indexcolnm_ set, step index

BufferString Table::SQLInsertExportHandler::tblname_

name of the table: mandatory


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