 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "generalmod.h"
32 , insingqstring_(false)
33 , indoubqstring_(false) {}
36 const char*
getCol()
const {
return col_.buf(); }
37 const char*
errMsg()
const {
return col_.buf(); }
58 const char*
getCol()
const {
return col_.buf(); }
59 const char*
errMsg()
const {
return col_.buf(); }
61 virtual void newRow() { instring_ =
false; }
225 : nrdone_(0), nrremoved_(0) {}
250 const char*
xy()
const;
const char * errMsg() const
Definition: tableconvimpl.h:59
bool putRow(const BufferStringSet &, uiString &)
bool addindex_
Definition: tableconvimpl.h:137
Definition: tableconvimpl.h:96
Type
Definition: tableconvimpl.h:159
Definition: tableconv.h:101
int nrextracols_
Definition: tableconvimpl.h:138
StartStopManipulator()
Definition: tableconvimpl.h:153
mODTextTranslationClass(SQLInsertExportHandler)
Set of BufferString objects.
Definition: bufstringset.h:26
CSVExportHandler(od_ostream &s)
Definition: tableconvimpl.h:98
Type type_
Definition: tableconvimpl.h:166
char nlreplace_
replace newlines with this char (optional)
Definition: tableconvimpl.h:63
WSImportHandler(od_istream &s)
Definition: tableconvimpl.h:30
BufferStringSet colnms_
names of the columns: optional
Definition: tableconvimpl.h:123
Glob-expression matching like UNIX shells.
Definition: globexpr.h:26
#define mExpClass(module)
Definition: commondefs.h:177
State
Definition: tableconv.h:31
bool putRow(const BufferStringSet &, uiString &)
void updCount(const Criterion &, const BufferStringSet &) const
OD class for stream read common access to the std::cin.
Definition: od_istream.h:24
bool not_
If true, matches will not pass.
Definition: tableconvimpl.h:201
GlobExpr matchexpr_
Definition: tableconvimpl.h:168
void addVal(int col, const char *)
Definition: geom2dascio.h:20
BufferString tblname_
name of the table: mandatory
Definition: tableconvimpl.h:122
Only passes records where col(s) (don't) match expression(s)
Definition: tableconvimpl.h:193
void addVal(int col, const char *)
Removes lines at start or stop of input.
Definition: tableconvimpl.h:151
int nrRemoved() const
Definition: tableconvimpl.h:231
int count_
nr of lines or nr of matches
Definition: tableconvimpl.h:167
Definition: tableconvimpl.h:158
Criterion start_
Definition: tableconvimpl.h:173
BufferString indexcolnm_
if not empty, will add column
Definition: tableconvimpl.h:125
const char * errMsg() const
Definition: tableconvimpl.h:37
Definition: tableconvimpl.h:111
bool accept(BufferStringSet &) const
if false returned, the row should not be written
bool any_
If false, all need to match.
Definition: tableconvimpl.h:200
Definition: tableconvimpl.h:50
ColWSHandl colwshanld_
Definition: tableconvimpl.h:86
Removes records with identical keys.
Definition: tableconvimpl.h:222
TypeSet< int > ckcols_
Column numbers (mand)
Definition: tableconvimpl.h:202
Criterion stop_
Definition: tableconvimpl.h:174
bool startdone_
Definition: tableconvimpl.h:180
bool accept(BufferStringSet &) const
if false returned, the row should not be written
static const GlobExpr emptyge_
Definition: tableconvimpl.h:208
bool insingqstring_
Definition: tableconvimpl.h:43
bool instring_
Definition: tableconvimpl.h:68
Definition: tableconv.h:55
SQLInsertExportHandler(od_ostream &s)
Definition: tableconvimpl.h:114
Definition: tableconvimpl.h:74
#define od_uint16
Definition: plftypes.h:27
Definition: tableconv.h:24
CSVImportHandler(od_istream &s)
Definition: tableconvimpl.h:52
int stepindex_
if indexcolnm_ set, step index
Definition: tableconvimpl.h:127
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
const char * getCol() const
Definition: tableconvimpl.h:58
TypeSet< GlobExpr > colvals_
Definition: tableconvimpl.h:203
@ None
Definition: networkcommon.h:33
virtual void newRow()
Definition: tableconvimpl.h:39
Definition: tableconvimpl.h:26
BufferStringSet prevkeys_
Definition: tableconvimpl.h:235
RecordMatcher(bool a=true)
Definition: tableconvimpl.h:195
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
WSExportHandler(od_ostream &s, ColWSHandl w=Underscores)
Definition: tableconvimpl.h:79
int startindex_
if indexcolnm_ set, startindex
Definition: tableconvimpl.h:126
int nrdone_
Definition: tableconvimpl.h:236
void addVal(int col, const char *)
virtual void newRow()
Definition: tableconvimpl.h:61
bool putRow(const BufferStringSet &, uiString &)
bool accept(BufferStringSet &) const
if false returned, the row should not be written
BufferStringSet extracolvals_
Values for columns not in input.
Definition: tableconvimpl.h:129
ColWSHandl
Definition: tableconvimpl.h:77
DuplicateKeyRemover()
Definition: tableconvimpl.h:224
const char * getCol() const
Definition: tableconvimpl.h:36
int count_
Definition: tableconvimpl.h:181
bool isGEMatch(const Criterion &, const BufferStringSet &) const
@ Underscores
Definition: tableconvimpl.h:77
TypeSet< int > keycols_
column numbers (mand)
Definition: tableconvimpl.h:229
void setPrevKeys(const BufferStringSet &) const
bool indoubqstring_
Definition: tableconvimpl.h:44
int nrrows_
Definition: tableconvimpl.h:136
OD class for stream write common access to the user log file, or std::cout in other than od_main.
Definition: od_ostream.h:26
BufferStringSet extracolnms_
Column names for extracolvals_.
Definition: tableconvimpl.h:130
int nrremoved_
Definition: tableconvimpl.h:237
int matchcolidx_
specify -1 for any col
Definition: tableconvimpl.h:169
Criterion(Type t=None)
Definition: tableconvimpl.h:161
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021