OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
DataColDef Class Reference

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)
 
bool operator== (const DataColDef &dcd) const
 
MatchLevel compare (const DataColDef &, bool use_name) const
 if !use_name, matches ref_ . More...
 
void putTo (BufferString &) const
 
void getFrom (const char *)
 

Static Public Member Functions

static const DataColDefunknown ()
 

Public Attributes

BufferString name_
 
BufferString ref_
 
const UnitOfMeasureunit_
 

Detailed Description

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.

Member Enumeration Documentation

Enumerator
Exact 
Start 
None 

Constructor & Destructor Documentation

DataColDef::DataColDef ( const char *  nm,
const char *  ref = 0,
const UnitOfMeasure un = 0 
)
inline

Member Function Documentation

MatchLevel DataColDef::compare ( const DataColDef ,
bool  use_name 
) const

if !use_name, matches ref_ .

void DataColDef::getFrom ( const char *  )
bool DataColDef::operator== ( const DataColDef dcd) const
inline
void DataColDef::putTo ( BufferString ) const
static const DataColDef& DataColDef::unknown ( )
static

Member Data Documentation

BufferString DataColDef::name_
BufferString DataColDef::ref_
const UnitOfMeasure* DataColDef::unit_

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