Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

Well::Log Class Reference

Well log. More...

Inheritance diagram for Well::Log:
Well::DahObj NamedObject CallBacker

List of all members.

Public Member Functions

 Log (const char *nm=0)
 Log (const Log &t)
Logoperator= (const Log &)
float value (int idx) const
float getValue (float, bool noudfs=false) const
void addValue (float dh, float val)
 addition must always ascend or descend
void ensureAscZ ()
void insertAtDah (float dh, float val)
Interval< float > & valueRange ()
const Interval< float > & valueRange () const
const char * unitMeasLabel () const
void setUnitMeasLabel (const char *s)
float * valArr ()
const float * valArr () const
IOParpars ()
const IOParpars () const

Static Public Member Functions

static const char * sKeyUnitLbl ()
static const char * sKeyHdrInfo ()
static const char * sKeyStorage ()

Protected Member Functions

void removeAux (int idx)
void eraseAux ()
float gtVal (float, int &) const

Protected Attributes

TypeSet< float > val_
Interval< float > range_
BufferString unitmeaslbl_
IOPar pars_

Detailed Description

Well log.

No regular sampling required, as in all DahObjs.

Logs can contain undefined points and sections (washouts etc.) - they will never have undefined dah values though. If you can't handle undef values, use getValue( dah, true ).

Log are imported 'as is', making this one of the rare non-SI value objects in OpendTect. The unit of measure label you get may be able to uncover what the actual unit of measure is.

The IOPar pars() will be retrieved and stored with each log; it is not really used; moreover, it's intended for plugins to dump their extra info about this log.


Constructor & Destructor Documentation

Well::Log::Log ( const char *  nm = 0  )  [inline]
Well::Log::Log ( const Log t  )  [inline]

Member Function Documentation

void Well::Log::addValue ( float  dh,
float  val 
)

addition must always ascend or descend

void Well::Log::ensureAscZ (  ) 
void Well::Log::eraseAux (  )  [inline, protected, virtual]

Implements Well::DahObj.

float Well::Log::getValue ( float  ,
bool  noudfs = false 
) const
float Well::Log::gtVal ( float  ,
int &   
) const [protected]
void Well::Log::insertAtDah ( float  dh,
float  val 
)
Log& Well::Log::operator= ( const Log  ) 
const IOPar& Well::Log::pars (  )  const [inline]
IOPar& Well::Log::pars (  )  [inline]
void Well::Log::removeAux ( int  idx  )  [inline, protected, virtual]

Implements Well::DahObj.

void Well::Log::setUnitMeasLabel ( const char *  s  )  [inline]
static const char* Well::Log::sKeyHdrInfo (  )  [static]
static const char* Well::Log::sKeyStorage (  )  [static]
static const char* Well::Log::sKeyUnitLbl (  )  [static]
const char* Well::Log::unitMeasLabel (  )  const [inline]
const float* Well::Log::valArr (  )  const [inline]
float* Well::Log::valArr (  )  [inline]
float Well::Log::value ( int  idx  )  const [inline, virtual]

Implements Well::DahObj.

const Interval<float>& Well::Log::valueRange (  )  const [inline]
Interval<float>& Well::Log::valueRange (  )  [inline]

Member Data Documentation

IOPar Well::Log::pars_ [protected]
Interval<float> Well::Log::range_ [protected]
TypeSet<float> Well::Log::val_ [protected]