OpendTect
7.0
|
A (usually petrophysical) property of some object. More...
Classes | |
class | EvalOpts |
Public Member Functions | |
Property (const PropertyRef &) | |
virtual | ~Property () |
virtual Property * | clone () const =0 |
virtual const char * | def () const =0 |
virtual bool | dependsOn (const Property &) const |
virtual uiString | errMsg () const |
void | fillPar (IOPar &) const |
virtual bool | init (const PropertySet &) const |
clears 'memory' and makes property usable More... | |
bool | isEqualTo (const Property &) const |
virtual bool | isFormula () const |
virtual bool | isRange () const |
virtual bool | isUdf () const =0 |
virtual bool | isValue () const |
bool | matches (const char *nm, bool matchaliases) const |
bool | matches (const char *nm, bool matchaliases, float *matchval) const |
const Mnemonic & | mn () const |
const char * | name () const |
const PropertyRef & | ref () const |
virtual void | reset () |
virtual void | setDef (const char *)=0 |
virtual const char * | type () const =0 |
const UnitOfMeasure * | unit () const |
void | usePar (const IOPar &) |
float | value (EvalOpts eo=EvalOpts()) 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 | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Static Public Member Functions | |
static Property * | get (const IOPar &) |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
virtual void | doUnitChange (const UnitOfMeasure *olduom, const UnitOfMeasure *newuom) |
virtual float | gtVal (EvalOpts) const =0 |
Protected Attributes | |
float | lastval_ = mUdf(float) |
const PropertyRef & | ref_ |
Private Member Functions | |
void | unitChangedCB (CallBacker *) |
A (usually petrophysical) property of some object.
Its purpose is to provide a value when asked. Some Property's have a 'memory'. These can be cleared using reset(). Most Properties do not return constant values. The parameters can be set in EvalOpts.
<>
Property::Property | ( | const PropertyRef & | ) |
|
virtual |
|
pure virtual |
Implemented in RangeProperty, ValueProperty, and MathProperty.
|
pure virtual |
Implemented in RangeProperty, ValueProperty, and MathProperty.
|
inlinevirtual |
Reimplemented in MathProperty.
|
protectedvirtual |
Reimplemented in RangeProperty, ValueProperty, and MathProperty.
|
inlinevirtual |
Reimplemented in MathProperty.
void Property::fillPar | ( | IOPar & | ) | const |
|
protectedpure virtual |
Implemented in RangeProperty, ValueProperty, and MathProperty.
|
virtual |
clears 'memory' and makes property usable
Reimplemented in MathProperty.
bool Property::isEqualTo | ( | const Property & | ) | const |
|
inlinevirtual |
Reimplemented in MathProperty.
|
inlinevirtual |
Reimplemented in RangeProperty.
|
pure virtual |
Implemented in RangeProperty, ValueProperty, and MathProperty.
|
inlinevirtual |
Reimplemented in ValueProperty.
bool Property::matches | ( | const char * | nm, |
bool | matchaliases | ||
) | const |
bool Property::matches | ( | const char * | nm, |
bool | matchaliases, | ||
float * | matchval | ||
) | const |
|
inline |
const char* Property::name | ( | ) | const |
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in RangeProperty, ValueProperty, and MathProperty.
|
pure virtual |
Implemented in RangeProperty, ValueProperty, and MathProperty.
|
inline |
|
private |
void Property::usePar | ( | const IOPar & | ) |
|
mutableprotected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024