OpendTect  6.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | 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 void finish ()
 
virtual bool init ()
 

Public Attributes

BufferStringSet colnms_
 names of the columns: optional More...
 
BufferStringSet extracolnms_
 Column names for extracolvals_. More...
 
BufferStringSet extracolvals_
 Values for columns not in input. 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...
 
BufferString tblname_
 name of the table: mandatory More...
 
- Public Attributes inherited from Table::ExportHandler
BufferString append_
 After last record. More...
 
BufferString prepend_
 Before first record. Add newline if needed. More...
 

Protected Member Functions

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

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

<>

Constructor & Destructor Documentation

◆ SQLInsertExportHandler()

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

Member Function Documentation

◆ addVal()

void Table::SQLInsertExportHandler::addVal ( int  col,
const char *   
)
protected

◆ putRow()

bool Table::SQLInsertExportHandler::putRow ( const BufferStringSet ,
uiString  
)
virtual

Implements Table::ExportHandler.

Member Data Documentation

◆ addindex_

bool Table::SQLInsertExportHandler::addindex_
protected

◆ colnms_

BufferStringSet Table::SQLInsertExportHandler::colnms_

names of the columns: optional

◆ extracolnms_

BufferStringSet Table::SQLInsertExportHandler::extracolnms_

Column names for extracolvals_.

◆ extracolvals_

BufferStringSet Table::SQLInsertExportHandler::extracolvals_

Values for columns not in input.

◆ indexcolnm_

BufferString Table::SQLInsertExportHandler::indexcolnm_

if not empty, will add column

◆ nrextracols_

int Table::SQLInsertExportHandler::nrextracols_
protected

◆ nrrows_

int Table::SQLInsertExportHandler::nrrows_
protected

◆ startindex_

int Table::SQLInsertExportHandler::startindex_

if indexcolnm_ set, startindex

◆ stepindex_

int Table::SQLInsertExportHandler::stepindex_

if indexcolnm_ set, step index

◆ tblname_

BufferString Table::SQLInsertExportHandler::tblname_

name of the table: mandatory


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