OpendTect  6.3
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Well::Log Class Reference

Well log. More...

Inheritance diagram for Well::Log:
[legend]

Public Member Functions

 Log (const char *nm=0)
 
 mDeclMonitorableAssignment (Log)
 
 mDeclInstanceCreatedNotifierAccess (Log)
 
void setValue (PointID, ValueType)
 
void setValue (IdxType, ValueType)
 
void addValue (ZType dh, ValueType val)
 
void getValues (ValueSetType &) const
 
virtual void getData (ZSetType &, ValueSetType &) const
 
void setValues (const ValueSetType &)
 
void setData (const ZSetType &, const ValueSetType &)
 
void removeTopBottomUdfs ()
 
 mImplSimpleMonitoredGetSet (inline, unitMeasLabel, setUnitMeasLabel, BufferString, unitmeaslbl_, cParsChange()) mImplSimpleMonitoredGetSet(inline
 
 cParsChange ()) const UnitOfMeasure *unitOfMeasure() const
 
void applyUnit (const UnitOfMeasure *)
 
void convertTo (const UnitOfMeasure *)
 
PropertyRef::StdType propType () const
 
 mImplSimpleMonitoredGet (valueRange, Interval< ValueType >, valrg_) mImplSimpleMonitoredGet(valsAreCodes
 
- Public Member Functions inherited from Well::DahObj
 DahObj (const char *nm=0)
 
virtual ~DahObj ()
 
 mDeclInstanceCreatedNotifierAccess (DahObj)
 
 mDeclAbstractMonitorableAssignment (DahObj)
 
size_type size () const
 
bool isEmpty () const
 
ZType dah (PointID) const
 
ZType firstDah () const
 
ZType lastDah () const
 
ValueType value (PointID) const
 
ValueType valueAt (ZType, bool no_undefs=false) const
 
ValueType firstValue (bool no_undefs=false) const
 
ValueType lastValue (bool no_undefs=false) const
 
ZIntvType dahRange () const
 
ZType dahStep (bool min_else_average) const
 
void getDahValues (ZSetType &) const
 
virtual bool valsAreCodes () const
 
PointID firstID () const
 
PointID lastID () const
 
PointID nextID (PointID) const
 
PointID prevID (PointID) const
 
PointID nearestID (ZType) const
 
void setEmpty ()
 
void setDah (PointID, ZType)
 
bool setValue (PointID, ValueType)
 
PointID setValueAt (ZType, ValueType)
 
void remove (PointID)
 
void deInterpolate ()
 Remove unnecessary points. More...
 
void shiftDahFrom (PointID, ZType)
 
PointID pointIDFor (IdxType) const
 
IdxType indexOf (PointID) const
 
IdxType indexOf (ZType) const
 
ZType dahByIdx (IdxType) const
 
ValueType valueByIdx (IdxType) const
 
void removeByIdx (IdxType)
 
- Public Member Functions inherited from NamedMonitorable
 NamedMonitorable (const char *nm=0)
 
 NamedMonitorable (const NamedObject &)
 
virtual ~NamedMonitorable ()
 
 NamedMonitorable (const NamedMonitorable &)
 
NamedMonitorableoperator= (const NamedMonitorable &)
 
bool operator== (const NamedMonitorable &) const
 
bool operator!= (const NamedMonitorable &oth) const
 
virtual NamedMonitorableclone () const
 
ChangeType compareWith (const Monitorable &) const
 
virtual NamedMonitorablegetClone () const
 
virtual BufferString getName () const
 
virtual void setName (const char *)
 
- Public Member Functions inherited from Monitorable
 Monitorable (const Monitorable &)
 
virtual ~Monitorable ()
 
Monitorableoperator= (const Monitorable &)
 
bool operator== (const Monitorable &) const
 
virtual ChangeDataNotifierobjectChanged () const
 
virtual Notifier< Monitorable > & objectToBeDeleted () const
 
virtual void touch () const
 
virtual DirtyCountType dirtyCount () const
 
void sendChangeNotification (const ChangeData &) const
 
void sendEntireObjectChangeNotification () const
 
void transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static valsarecodes_ const char * sKeyUnitLbl ()
 
static const char * sKeyHdrInfo ()
 
static const char * sKeyStorage ()
 
- Static Public Member Functions inherited from Well::DahObj
static ChangeType cParsChange ()
 
static ChangeType cPointAdd ()
 
static ChangeType cDahChange ()
 
static ChangeType cValueChange ()
 
static ChangeType cPointRemove ()
 
static ZType dahEps ()
 
- Static Public Member Functions inherited from NamedMonitorable
static Notifier< NamedMonitorable > & instanceCreated ()
 
static ChangeType cNameChange ()
 
- Static Public Member Functions inherited from Monitorable
static Notifier< Monitorable > & instanceCreated ()
 defines static instanceCreated() More...
 
static ChangeType cEntireObjectChange ()
 
static ChangeType cNoChange ()
 
static IDType cUnspecChgID ()
 
static IDType cEntireObjectChgID ()
 
static ChangeType changeNotificationTypeOf (CallBacker *)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Public Attributes

 pars
 
 setPars
 
 IOPar
 
 pars_
 
 bool
 

Protected Member Functions

 ~Log ()
 
virtual bool doSet (IdxType, ValueType)
 
virtual PointID doInsAtDah (ZType, ValueType)
 
virtual ValueType gtVal (IdxType idx) const
 
virtual void removeAux (IdxType idx)
 
virtual void eraseAux ()
 
ValueType gtVal (ZType, int &) const
 
void stVal (IdxType, ValueType)
 
void redoValStats ()
 
void updValStats (ValueType)
 
void ensureAscZ ()
 
- Protected Member Functions inherited from Well::DahObj
void doRemove (IdxType)
 
void doSetEmpty ()
 
PointID doIns (ZType dh, ValueType val, ValueSetType &, bool ascendingvalsonly)
 
bool doSetData (const ZSetType &, const ValueSetType &, ValueSetType &)
 
size_type gtSize () const
 
IdxType gtIsEmpty () const
 
PointID gtNeighbourID (PointID, bool) const
 
PointID gtNewPointID () const
 
IdxType gtIndexOf (ZType) const
 
IdxType gtIdx (PointID) const
 
ZType gtDah (IdxType) const
 
ValueType gtValueAt (ZType, bool noudfs) const
 
- Protected Member Functions inherited from NamedMonitorable
void copyAll (const NamedMonitorable &)
 
- Protected Member Functions inherited from Monitorable
 Monitorable ()
 
void copyAll (const Monitorable &)
 
void sendChgNotif (AccessLocker &, const ChangeData &) const
 calls objectChanged with released lock More...
 
void sendChgNotif (AccessLocker &, ChangeType, IDType) const
 calls objectChanged with released lock More...
 
void sendDelNotif () const
 
void stopChangeNotifications () const
 
void resumeChangeNotifications () const
 
template<class T >
getMemberSimple (const T &) const
 the get function used by mImplSimpleMonitoredGet More...
 
template<class TMember , class TSetTo >
void setMemberSimple (TMember &, TSetTo, ChangeType, IDType)
 the set function used by mImplSimpleMonitoredSet More...
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

ValueSetType vals_
 
BufferString unitmeaslbl_
 
IOPar pars_
 
Interval< ValueTypevalrg_
 
bool valsarecodes_
 
- Protected Attributes inherited from Well::DahObj
ZSetType dahs_
 
TypeSet< PointIDptids_
 
Threads::Atomic< IdxTypecurptidnr_
 
- Protected Attributes inherited from Monitorable
Threads::Lock accesslock_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from Well::DahObj
typedef float ZType
 
typedef TypeSet< ZTypeZSetType
 
typedef Interval< ZTypeZIntvType
 
typedef ZSetType::size_type size_type
 
typedef size_type IdxType
 
typedef IntegerID< IdxTypePointID
 
typedef float ValueType
 
typedef TypeSet< ValueTypeValueSetType
 
typedef Interval< ValueTypeValueIntvType
 
- Public Types inherited from Monitorable
typedef int ChangeType
 
typedef int64_t IDType
 
typedef int64_t DirtyCountType
 
typedef CNotifier< Monitorable, ChangeDataChangeDataNotifier
 
- Protected Types inherited from Monitorable
typedef Threads::Atomic< DirtyCountTypeDirtyCounter
 
- Static Protected Member Functions inherited from Well::DahObj
static bool areEqualDahs (ZType, ZType)
 

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)
Well::Log::~Log ( )
protected

Member Function Documentation

void Well::Log::addValue ( ZType  dh,
ValueType  val 
)
inline
void Well::Log::applyUnit ( const UnitOfMeasure )
void Well::Log::convertTo ( const UnitOfMeasure )
Well::Log::cParsChange ( ) const
virtual PointID Well::Log::doInsAtDah ( ZType  ,
ValueType   
)
protectedvirtual

Implements Well::DahObj.

virtual bool Well::Log::doSet ( IdxType  ,
ValueType   
)
protectedvirtual

Implements Well::DahObj.

void Well::Log::ensureAscZ ( )
protected
virtual void Well::Log::eraseAux ( )
inlineprotectedvirtual

Implements Well::DahObj.

virtual void Well::Log::getData ( ZSetType ,
ValueSetType  
) const
virtual

Implements Well::DahObj.

void Well::Log::getValues ( ValueSetType ) const
virtual ValueType Well::Log::gtVal ( IdxType  idx) const
inlineprotectedvirtual

Implements Well::DahObj.

ValueType Well::Log::gtVal ( ZType  ,
int &   
) const
protected
Well::Log::mDeclInstanceCreatedNotifierAccess ( Log  )
Well::Log::mDeclMonitorableAssignment ( Log  )
Well::Log::mImplSimpleMonitoredGet ( valueRange  ,
Interval< ValueType ,
valrg_   
)
Well::Log::mImplSimpleMonitoredGetSet ( inline  ,
unitMeasLabel  ,
setUnitMeasLabel  ,
BufferString  ,
unitmeaslbl_  ,
cParsChange()   
)
PropertyRef::StdType Well::Log::propType ( ) const
void Well::Log::redoValStats ( )
protected
virtual void Well::Log::removeAux ( IdxType  idx)
inlineprotectedvirtual

Implements Well::DahObj.

void Well::Log::removeTopBottomUdfs ( )
void Well::Log::setData ( const ZSetType ,
const ValueSetType  
)
void Well::Log::setValue ( PointID  ,
ValueType   
)
void Well::Log::setValue ( IdxType  ,
ValueType   
)
void Well::Log::setValues ( const ValueSetType )
static const char* Well::Log::sKeyHdrInfo ( )
static
static const char* Well::Log::sKeyStorage ( )
static
static valsarecodes_ const char* Well::Log::sKeyUnitLbl ( )
static
void Well::Log::stVal ( IdxType  ,
ValueType   
)
protected
void Well::Log::updValStats ( ValueType  )
protected

Member Data Documentation

Well::Log::bool
Well::Log::IOPar
Well::Log::pars
Well::Log::pars_
IOPar Well::Log::pars_
protected
Well::Log::setPars
BufferString Well::Log::unitmeaslbl_
protected
Interval<ValueType> Well::Log::valrg_
protected
ValueSetType Well::Log::vals_
protected
bool Well::Log::valsarecodes_
protected

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