OpendTect
7.0
|
Data set consisting of data vectors. More...
Public Types | |
enum | ColMatchPol { NameExact , RefExact , NameStart , RefStart } |
enum | OvwPolicy { Keep , OvwIfUdf , Ovw } |
Public Member Functions | |
PosVecDataSet (const char *nm=0) | |
PosVecDataSet (const PosVecDataSet &) | |
virtual | ~PosVecDataSet () |
int | add (DataColDef *) |
DataColDef & | colDef (int idx) |
const DataColDef & | colDef (int idx) const |
void | copyStructureFrom (const PosVecDataSet &) |
BinIDValueSet & | data () |
const BinIDValueSet & | data () const |
int | findColDef (const DataColDef &, ColMatchPol p=RefExact) const |
returns -1 if no match More... | |
bool | getFrom (const char *, BufferString &errmsg) |
bool | getFrom (const char *, uiString &errmsg) |
bool | insert (int idx, DataColDef *) |
bool | isEmpty () const |
void | merge (const PosVecDataSet &, OvwPolicy pol=OvwIfUdf, ColMatchPol cmp=NameExact) |
This is a rather intelligent method. More... | |
const char * | name () const |
int | nrCols () const |
PosVecDataSet & | operator= (const PosVecDataSet &) |
IOPar & | pars () |
const IOPar & | pars () const |
bool | putTo (const char *, BufferString &errmsg, bool tabstyle) const |
bool | putTo (const char *, uiString &errmsg, bool tabstyle) const |
void | removeColumn (int) |
"Z" col (idx=0) can't be removed More... | |
void | setEmpty () |
void | setName (const char *nm) |
Static Public Member Functions | |
static bool | getColNames (const char *, BufferStringSet &bss, BufferString &errmsg, bool refs=false) |
static bool | getIOPar (const char *, IOPar &iop, BufferString &errmsg) |
Protected Member Functions | |
void | mergeColDefs (const PosVecDataSet &, ColMatchPol, int *) |
Protected Attributes | |
ObjectSet< DataColDef > | coldefs_ |
BinIDValueSet | data_ |
BufferString | name_ |
IOPar & | pars_ |
Friends | |
class | DataPointSet |
Data set consisting of data vectors.
Every data vector has an inline, crossline and a Z (which may be undefined). The "Z" column is automatically added.
<>
PosVecDataSet::PosVecDataSet | ( | const char * | nm = 0 | ) |
PosVecDataSet::PosVecDataSet | ( | const PosVecDataSet & | ) |
|
virtual |
int PosVecDataSet::add | ( | DataColDef * | ) |
|
inline |
|
inline |
void PosVecDataSet::copyStructureFrom | ( | const PosVecDataSet & | ) |
|
inline |
|
inline |
int PosVecDataSet::findColDef | ( | const DataColDef & | , |
ColMatchPol | p = RefExact |
||
) | const |
returns -1 if no match
|
static |
bool PosVecDataSet::getFrom | ( | const char * | , |
BufferString & | errmsg | ||
) |
bool PosVecDataSet::getFrom | ( | const char * | , |
uiString & | errmsg | ||
) |
|
static |
bool PosVecDataSet::insert | ( | int | idx, |
DataColDef * | |||
) |
|
inline |
void PosVecDataSet::merge | ( | const PosVecDataSet & | , |
OvwPolicy | pol = OvwIfUdf , |
||
ColMatchPol | cmp = NameExact |
||
) |
This is a rather intelligent method.
|
protected |
|
inline |
|
inline |
PosVecDataSet& PosVecDataSet::operator= | ( | const PosVecDataSet & | ) |
|
inline |
|
inline |
bool PosVecDataSet::putTo | ( | const char * | , |
BufferString & | errmsg, | ||
bool | tabstyle | ||
) | const |
bool PosVecDataSet::putTo | ( | const char * | , |
uiString & | errmsg, | ||
bool | tabstyle | ||
) | const |
tabstyle -> for spreadsheet import (looses info) !tabstyle: dTect style (preserves all)
void PosVecDataSet::removeColumn | ( | int | ) |
"Z" col (idx=0) can't be removed
void PosVecDataSet::setEmpty | ( | ) |
|
inline |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024