48 Log(
const char* nm=0 )
53 : DahObj(
"") { *
this = t; }
54 Log& operator =(
const Log&);
56 float value(
int idx )
const {
return vals_[idx]; }
57 void setValue(
int idx,
float val);
59 float getValue(
float,
bool noudfs=
false)
const;
60 void addValue(
float dh,
float val);
62 void updateAfterValueChanges();
66 bool insertAtDah(
float dh,
float val);
67 void removeTopBottomUdfs();
77 bool isCode()
const {
return iscode_; }
79 static const char* sKeyUnitLbl();
80 static const char* sKeyHdrInfo();
81 static const char* sKeyStorage();
83 float*
valArr() {
return vals_.arr(); }
84 const float*
valArr()
const {
return vals_.arr(); }
99 float gtVal(
float,
int&)
const;
bool iscode_
Definition: welllog.h:94
#define mExpClass(module)
Definition: commondefs.h:160
BufferString unitmeaslbl_
Definition: welllog.h:93
const Interval< float > & valueRange() const
Definition: welllog.h:70
IOPar pars_
Definition: welllog.h:95
bool isCode() const
log values are all integers stored as floats
Definition: welllog.h:77
Log(const char *nm=0)
Definition: welllog.h:48
const char * unitMeasLabel() const
Definition: welllog.h:72
Well log.
Definition: welllog.h:44
float value(int idx) const
Definition: welllog.h:56
Log(const Log &t)
Definition: welllog.h:52
void setUnitMeasLabel(const char *s)
Definition: welllog.h:74
void eraseAux()
Definition: welllog.h:98
Interval< float > & valueRange()
Definition: welllog.h:69
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Interval< float > range_
Definition: welllog.h:92
#define mUdf(type)
Use this macro to get the undefined for simple types.
Definition: undefval.h:272
Definition: directionalsurvey.h:19
Depth/Distance along hole object.
Definition: welldahobj.h:28
void removeAux(int idx)
Definition: welllog.h:97
IOPar & pars()
Definition: welllog.h:86
const float * valArr() const
Definition: welllog.h:84
TypeSet< float > vals_
Definition: welllog.h:91
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
virtual void erase()
Definition: typeset.h:339
const IOPar & pars() const
Definition: welllog.h:87
StdType
Definition: propertyref.h:46
virtual void removeSingle(size_type, bool preserver_order=true)
Definition: typeset.h:500
float * valArr()
Definition: welllog.h:83
Unit of Measure.
Definition: unitofmeasure.h:35