OpendTect
6.6
|
Column definition in tabular data sets. More...
Public Types | |
enum | MatchLevel { Exact , Start , None } |
Public Member Functions | |
DataColDef (const char *nm, const char *ref=0, const UnitOfMeasure *un=0) | |
MatchLevel | compare (const DataColDef &, bool use_name) const |
if !use_name, matches ref_ . More... | |
void | getFrom (const char *) |
bool | operator== (const DataColDef &dcd) const |
void | putTo (BufferString &) const |
Static Public Member Functions | |
static const DataColDef & | unknown () |
Public Attributes | |
BufferString | name_ |
BufferString | ref_ |
const UnitOfMeasure * | unit_ |
Column definition in tabular data sets.
The ref_ is intended for whatever references that are important in the software but which should probably not be displayed to the user.
All but the 'user name' is optional.
<>
|
inline |
MatchLevel DataColDef::compare | ( | const DataColDef & | , |
bool | use_name | ||
) | const |
if !use_name, matches ref_ .
void DataColDef::getFrom | ( | const char * | ) |
|
inline |
void DataColDef::putTo | ( | BufferString & | ) | const |
|
static |
BufferString DataColDef::name_ |
BufferString DataColDef::ref_ |
const UnitOfMeasure* DataColDef::unit_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022